Jul
14
2010
0

How to add multiple port listen SSH on FreeBSD

The way to do is:

1) Edit sshd config “/etc/ssh/sshd_config”

vi /etc/ssh/sshd_config

2) Uncomment the line “# Port 22″ and add new lines according to how many listener ports you wants to be available for the SSH service on your machine.
(more…)

Written by doutdex in: FreeBSD,Unix | Tags: , , ,
Jul
14
2010
0

How to set static IP on Freebsd

1) Edit config file

vi /etc/rc.conf

2) Depends how many interfaces exist is possible to set each one for (em0, em1em2, em…)

#Interface 1 with default gateway for 192.168.0.1
ifconfig_em0="inet 192.168.0.10 netmask 255.255.255.0"
defaultrouter="192.168.0.1"

#Interface 2

ifconfig_em1="inet 192.168.2.10 netmask 255.255.255.0"

3) Save that file “rc.conf” and restart network init

# /etc/rc.d/netif restart && /etc/rc.d/routing restart
Written by doutdex in: FreeBSD | Tags: , , ,
Jul
11
2010
0

How to install Samba server on red hat or fedora linux server

Triying to share files to windows server by network, one way is using a samba server.

sudo yum install samba samba-client

Edit config file, edir the [glocal] config setting the WORKGROUP, and the networks interfaces allow to the samba service and on the end of the config file  check the access for the share files mappping. Remenber that the shared files has to be permission for the group.

sudo gedit /etc/samba/smb.conf

Create a samba user with an already user from the OS linux

sudo smbpasswd -a OLD_USER

Start samba service

sudo /etc/init.d/smb start

Check startup Samba service

/sbin/chkconfig --list smb

Enable samba service in startup server (just in case)

Enable samba service on FIrewall

system-config-firewall

Enable samba service on SELinux, go to Boolean Menu and enable samba

 system-config-selinux

Test Samba access from localhost with OLDUSER

smbclient -L localhost -U OLDUSER

Written by doutdex in: Centos,Fedora,Linux,Red Hat | Tags: , , , ,

TheBuckmaker.com Wordpress Themes | Geld von Privat, Streaming Audio
футбол онлайн, live football, canlı izle, football streaming, football forum, football forums, canlı maç, football highlights, maç özeti, live football streaming, stream live football, free football streaming,