Just another 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

[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

#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

Halo Cake

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

Test  browser ke alamat server tersebut maka


Leave a Reply

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

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

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s

%d bloggers like this: