Sabtu, 22 Oktober 2011

Install webserver di debian

Login to debian webserver as root.

apt-get install apache2
/etc/init.d/apache2 restart
apt-get install php5
apt-get install mysql-server mysql-client
apt-get install phpmyadmin
apt-get install unzip
Download Joomla package installer and put it to Documents (example : /home/webserver/Documents)

cp /home/spensa/Documents/Joomla_1.5.23-Stable-Full_Package.zip /var/www/html/joomla.zip
cd /var/www/html
unzip joomla.zip
chown -R www-data:www-data /var/www

OPen browser and open the IP local webserver (example : http://192.168.10.1/installation

so install joomla step by step

rm -r index.html

rm –r installation

Ganti Hostname di webserver debian

If you need to change the hostname of your web server, you can do this with the following steps:

1. Login in your server with root

2. nano /etc/hosts

127.0.0.1 localhost.localdomain localhost
192.168.10.1 webserver www.bamboonet.com webserver1


save changes and exit.