Paper Example Doctorate 583 words

Project Configuring a Linux Server

Last reviewed: May 27, 2012 ~3 min read

Apache

First, the Apache is installed correctly, then follows the set up of virtual hosting by editing the configuration files. The major configuration files are httpd.conf, error.conf, server-tuning.conf, and others. These files are configured for general information, one must gain root access with sudo command to edit them. Edit / etc./apache2/httpd.conf and identify this line:Include / etc./apache2/vhosts.d/*.conf replace it with Include / etc./apache2/vhosts.d/vhost.conf then save the file.

Second, vhost.conf is created as a root by renaming the vhost.template file in / vhosts.d/:mv vhost.template vhost.conf.

Third, the file is edited to allow other name-based websites on one IP address. Add in the virtual host directive NamevirtualHost *. The asterisk allows any address to be set. Under this directive, the first virtual host can be added. The tag for defined virtual host block is opened, and then the ServerAdmin allows the display of the administrator email address when an error such as a 404 occurs. Root directory for the particular website is documentroot, all websites will have accounts configured within / srv/www/htdocs/hosted/sitename/. Next is configuration of the ServerAlias or ServerName. This controls the names people use to see and access the catalogue or the information site. This is set within the main NameVirtualHost or the domain of the site. This is done so that the server can display the domain name content. Servers are mostly called from more than one ServerName that calls for the set up of two ServerAlias entries as done above.

FTP

A Linux system is cable of operating as an FTP server. In this regard it runs a software, an FTP daemon with the necessary configuration. Here the file transfers occur between user accounts on the client server systems. A user on another system has to log in to an account on a server thus can transfer files from the directory from that account. To configure the ftp server, the vsftpd RPM installation is required. The service is then started as a root using the command service vsftpd start. To configure the server automatically, the service is started during the booting time with the execution of the command chkconfig vsftpd on as root. To verify whether the server is running, the command: service vsftpd status is used.

SSH

Install ssh on the server using the following code [root@server1 ~]# rpm -qa |grep ssh openssh-clients-3.9p1-8.RHEL4.9

openssh-askpass-3.9p1-8.RHEL4.9

openssh-3.9p1-8.RHEL4.9

openssh-server-3.9p1-8.RHEL4.9

openssh-askpass-gnome-3.9p1-8.RHEL4.9

[root@server1 ~]#[/i]

The output of rpm-qa from the second server code looks like this [root@server2 ~]# rpm -qa | grep ssh openssh-clients-3.9p1-8.RHEL4.9

openssh-askpass-3.9p1-8.RHEL4.9

openssh-3.9p1-8.RHEL4.9

openssh-server-3.9p1-8.RHEL4.9

openssh-askpass-gnome-3.9p1-8.RHEL4.9

[root@server2 ~]#

You’re 80% through this paper. Sign up to read the full paper.

Sign Up Now — Instant Access Already a member? Log in
130,000+ paper examples AI writing assistant Citation generator Cancel anytime
Cite This Paper
PaperDue. (2012). Project Configuring a Linux Server. PaperDue. https://www.paperdue.com/essay/project-configuring-a-linux-server-111344

Always verify citation format against your institution’s current style guide requirements.