# yum install -y httpd
Menjalankan Apache
# /etc/init.d/httpd start
Konfigurasi
# nano /etc/httpd/conf/httpd.conf
Rubah baris berikut ServerTokens Prod KeepAlive On ServerAdmin [email protected] AllowOverride All ServerName www.acehline.com:80 DirectoryIndex index.html index.htm index.php ServerSignature Off AddDefaultCharset UTF-8
Autorun di Startup
# chkconfig --levels 235 httpd on# chkconfig --levels 235 mysqld on
Setelah Melakukan perubahan restart Apache
# service httpd restart
No comments:
Post a Comment