Solved

How to set-up the services on linux?

Posted on 2012-03-12
4
427 Views
Last Modified: 2012-03-26
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
0
Comment
Question by:searchsanjaysharma
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 11

Expert Comment

by:legolasthehansy
ID: 37710973
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..
0
 
LVL 44

Expert Comment

by:Darr247
ID: 37711984
The first think I would recommend is doing
# yum update
which should take your server to v6.2 instead of 6.0.
0
 
LVL 5

Accepted Solution

by:
1ly4me earned 500 total points
ID: 37713623
It seems like you are trying to setup a Lab environment for RHCE/RHCSA.

Refer my site, I have posted blogs related to what do you want.
www.asklinux.info

Thanks
Rajan
0
 

Author Closing Comment

by:searchsanjaysharma
ID: 37764593
ok
0

Featured Post

When ransomware hits your clients, what do you do?

MSPs: Endpoint security isn’t enough to prevent ransomware.
As the impact and severity of crypto ransomware attacks has grown, Webroot fought back, not just by building a next-gen endpoint solution capable of preventing ransomware attacks but also by being a thought leader.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Envision that you are chipping away at another e-business site with a team of pundit developers and designers. Everything seems, by all accounts, to be going easily.
The conference as a whole was very interesting, although if one has to make a choice between this one and some others, you may want to check out the others.  This conference is aimed mainly at government agencies.  So it addresses the various compli…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

630 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question