Link to home
Start Free TrialLog in
Avatar of searchsanjaysharma
searchsanjaysharma

asked on

How to set-up the services on linux?

Hi,

Can anyone give me the detailed steps about how can I install/set-up/configure my CentOS 6.0 with the following services:

1. Remote shell
2. FTP service allowing non-anonymous access
3. Web service(s) with CGI support
4. Samba Server
5. Password protected web pages

Kindly provide me the step-by-step information if possible as I am very new to linux.

Thanks
Avatar of legolasthehansy
legolasthehansy

Remote Shell - Use ssh (service sshd start; chkconfig sshd on)
FTP service - Use Vsftpd (service vsftpd start; chkconfig vsftpd on)
Web service - Use httpd (service httpd start; chkconfig httpd on)
Samba - You need to setup a share so that samba exports it.
vi /etc/samba/smb.conf
[share name]
path = /home/my_path ;just an example
Password protected web pages need to setup in httpd; you can create a file like .htpasswd under /var/www/html and add users to it like
htpasswd -cm username password ;to create the htpasswd file and add username
htpasswd -m username2 password2 ; to add username2 to htpasswd file

There are lot more steps but these are just a start..
Avatar of Darr247
The first think I would recommend is doing
# yum update
which should take your server to v6.2 instead of 6.0.
ASKER CERTIFIED SOLUTION
Avatar of 1ly4me
1ly4me
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of searchsanjaysharma

ASKER

ok