Langkah Pembuatan Web Server

  • Uploaded by: Roby Susanto
  • 0
  • 0
  • May 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Langkah Pembuatan Web Server as PDF for free.

More details

  • Words: 348
  • Pages: 2
# =========================================================== =========== # ===]||[ KocenK Beta Version Tutor for webserver using fedora 8 ]||[=== # =========================================================== =========== install mysql seperti ini yum install mysql mysql-server lalu periksa apakah sudah terinstall chkconfig --levels 235 mysqld on /etc/init.d/mysqld start lalu masukin password kamu / bikin password mysqladmin -u root password <password kamu> contoh : mysqladmin -u root password kocenkcak3p lalu periksa lagi netstat -tap | grep mysql bila sukses akan tampak seperti ini tcp 0 0 *:mysql *:*

LISTEN

2713/mysqld

lalu set password hosname seperti ini mysqladmin -h server1.example.com -u root password <password kamu> lalu kita tinggal install webservernya yum install lighttpd lalu kita cek lagi chkconfig --levels 235 lighttpd on /etc/init.d/lighttpd start klu sudah coba bukak localhost sukses lom hehehee nah sampai disini masih berupa html blum php langkah selanjutnya adalah membuat php dapat berjalan lihat config na di sini /etc/lighttpd/lighttpd.conf. sekarang kita install phpnya yum install lighttpd-fastcgi php-cli setelah terinstall bukak /etc/php.ini dan rubahlah bagian cgi menjadi seperti ini [...] cgi.fix_pathinfo = 1 lalu pada bagian /etc/lighttpd/lighttpd.conf menjadi seperti ini [...] server.modules =( # "mod_rewrite", # "mod_redirect", # "mod_alias", "mod_access", # "mod_cml", # "mod_trigger_b4_dl", # "mod_auth", # "mod_status", # "mod_setenv",

# # # # # # # # # # #

"mod_fastcgi", "mod_proxy", "mod_simple_vhost", "mod_evhost", "mod_userdir", "mod_cgi", "mod_compress", "mod_ssi", "mod_usertrack", "mod_expire", "mod_secdownload", "mod_rrdtool", "mod_accesslog" )

[...] jangan lupa pada bagian fastcgi.server tanda # juga dibuang agar phpnya dapat berjalan seperti contoh di bawah ini [...] #### fastcgi module ## read fastcgi.txt for more info ## for PHP don't forget to set cgi.fix_pathinfo = 1 in the php.ini fastcgi.server = ( ".php" => ( "localhost" => ( "socket" => "/var/run/lighttpd/php-fastcgi.socket", "bin-path" => "/usr/bin/php-cgi" ) ) ) [...] bila sudah coba restart /etc/init.d/lighttpd restart bila sudah coba buat info.php /var/www/lighttpd/ <<< di posisi ini touch info.php nano / vi //var/www/lighttpd/info.php install agar suport php5 yum search php yum install php-mysql php-gd php-imap php-ldap php-odbc php-pear php-xml php-xmlrpc lalu restart /etc/init.d/lighttpd restart jadi deh untuk menambahkan phpmyadmin tinggal download phpMyAdmin-2.11.8.1-all-languag taruh di posisi /var/www/lighttpd/ rubah nama jadi phpmyadmin install dan lihat hasilnya sukses selalu buat semua hehehehee

Related Documents


More Documents from ""