Archive for the ‘Server Administration’ Category

Your first byte follow the steps

Posted on April 11th, 2010 by admin  |  No Comments »

This is a step by step guid to help you run your own Dedicated or VPS server, in case when you don’t have prior experience of sever administration and you are doing it first time, the task can be daunting specially if you neever had linux experience., I am explaining here how you can setup a  basic LAMP server running.

These bulleted lines are overview of all steps your will be going through and after that I am adding small details how can you do that. This is assumming that you are hosting ubuntu os in your machine there will be minor modification in some command lines and file system path if you are using other linux distros. Note that you always follow testing checks to confirm that what you were trying to accomplish was achieved successfully

1 – Set new DNS from your domain name registrar account’s control panel

2 -  Add domain names into your account and provide 4-5 paramters A, A, NS, NS

3 – Check and ping domain name is pinging with right IP address

4  – Installing apache2 server

5  – Installing mysql with php5

6 – Add Virtual hosts on /etc/apache2/httpd.conf

7 – Create ftpusers

8  – Install ftp client vsftp using “aptitude install vsftpd”

9  – Edit /etc/vsftpd.conf.conf  to allow local ftp accounts

6 – /home/ftpuser_public_html all files/folder ownership – ftpuser:www-data

7 – All files/folder permission 755 by chmod -R 755 /var/www

8 – Add one .htaccess file on the root of public_html directory with DirectoryIndex parameters

9 – Enable apache mod_rewrite