Set up your own webserver
We all pay for our own web hosting, But if we have a good internet connection upto 2MBPS, and a old working desktop computer , we can set up a web server which can handle upto 5 wordpress websites, with moderate traffic.
To set up your own Server you need is only a old desktop computer, here we have used a old AMD Sempron based processor which is clocked at 1.6GHz ( Single Core) and 512 MB of RAM.
Steps involved to set up your own Web Server
- Make sure your desktop can run without any major issues for quite longer time.
- Install the very light Operating system on it, so that no much hardware is consumed by the Operating System itself.
- We prefer to install Operating systems like Puppy Linux, for very low end hardwares , but since we have 512 MB of RAM, we prefered to install Ubuntu 8.04 LTS in our machine.
- Install LAMP Server(L- linux , A- Apache , M-MySQL) using the commands bellow
- sudo apt-get install apache2
- sudo apt-get install mysql-server libapache2-mod-auth-mysql php5-mysql
- sudo mysql_install_db
- sudo apt-get install php5 libapache2-mod-php5 php5-mcrypt
- Once you install all the packages, you need to start the server manually with the following command, ( the server automatically starts once you reboot the system )
- You can place the WebPages of your website in /var/www/website_name folder , this will set up your webserver
Check out how to install Wordpress manually in your LocalHost
Check out how to configure FreeDNS to get a Static Ip for your Dynamic IP
0 comments:
Post a Comment