NUBSolutions

Just another WordPress.com weblog

Konfigurasi Web

Posted by nubsolutions on May 2, 2009

[root@localhost www]# service httpd start
Starting httpd:                                            [  OK  ]

check status
[root@localhost www]# rpm -q httpd
httpd-2.2.6-3

[root@localhost www]# service httpd status

httpd (pid 2369 2368 2367 2366 2365 2364 2363 2362 2360) is running…

[root@localhost www]# chkconfig –level 3 httpd on

[root@localhost www]# chkconfig –list httpd

httpd           0:off   1:off   2:off   3:on    4:off   5:off   6:off

pada FC, lokasi konfigurasi berada pada lokasi /etc/httpd/conf

[root@localhost www]# vim /httpd.conf

#untuk kontak
ServerAdmin info@nubsolution.com

#DocumentRoot “/var/www/html” Merupakan default
DocumentRoot “/var/www/cake”

buat direktory cake
[root@localhost www]# mkdir cake

Testing File
[root@localhost cake]# touch index.html
[root@localhost cake]# vim index.html

<html>
<body>
Halo Cake
</body>
</html>

[root@localhost cake]# service httpd restart
Stopping httpd:                                            [  OK  ]
Starting httpd:                                            [  OK  ]

Test  browser ke alamat server tersebut maka http://192.168.23.129/

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: