Daftar

Tutorial Membuat Web Server dengan VPS


Programming & Web Coding, web, aplikasi, dan karier developer.

Balas
 
Alat Thread
Nokidding Nokidding sedang offline
#1
Member Aktif Tanggal Bergabung: Nov 2011 Post: 192 Rep Power: 0 Nokidding mempunyai hidup yang Normal
Default Tutorial Membuat Web Server dengan VPS
Sebuah server web adalah sebuah perangkat lunak yang memungkinkan membuat halaman web yang disimpan pada disk untuk dijangkau banyak komputer (klien).

Panduan ini menjelaskan cara menginstal web server Apache di sistem UNIX.



Untuk melakukannya, pengetahuan tentang Linux atau Unix diperlukan.

Tujuan dari manual ini adalah untuk dapat memulihkan sumber-sumber yang dapat membantu para Nubitol Kaskus.




PHP Code:




PHP sources on http://www.php.net.

Apache sources on http://www.apache.org.

MySQL sources on http://www.mysql.org.







Install Apache and PHP

1. Unzip archives:


Code:

tar zxvf apache_1.3.x.tar.gz


Code:

tar zxvf php-3.0.x.tar

2. Configure Apache


PHP Code:




cd apache_1.3.x

./configure --prefix=/www







3. Configure PHP


PHP Code:




cd ../php-3.0.x

./configure --with-mysql --with-apache=../apache_1.3.x --enable-track-vars







4. If you prefer to install PHP in another directory, you have to use configuration option --with-config-file-path=/path


PHP Code:




Unzip PHP

make



make install







5. Install Apache


PHP Code:




cd ../apache_1.3.x



./configure --prefix=/www --activate-module=src/modules/php3/libphp3.a



make

make install







6.Modify the PHP configuration file


Code:

cd ../php-3.0.x


Code:

cp php3.ini-dist /usr/local/lib/php3.ini

7. Agan dapat edit konfig ini file /usr/local/lib/php3.ini

Edit dari Apache server ( general httpd.conf or srm.conf dan add the following line:


PHP Code:




AddType? application/x-httpd-php3 .php3







8. Ini adalah pertanyaan tentang memilih ekstensi ditugaskan untuk skrip PHP. Dengan maksud untuk homogenitas, itu adalah umum untuk memilih. Php3 ekstensi. Mulai server Apache (itu adalah penting untuk menghentikan dan reboot server, dan tidak hanya untuk restart. Secara umum, Anda hanya perlu mengetikkan apachectl berhenti, kemudian mulai apachectl).



Untuk memeriksa apakah instalasi telah benar bekerja, Anda hanya perlu membuat file kecil di root dokumen dari server web (disebut DocumentRoot di httpd.conf file konfigurasi). Nama ini toto.php3 file, dan menempatkan kode berikut dalam file ini:




PHP Code:






Example












Launch a browser on this machine and enter the following URL:




Code:

http://localhost/toto.php3

localhost designs a machine on which you are �



�PHP works� must display on your browser



Source : om Google

</div>
Balas


Aturan Posting
Kamu tidak boleh membuat thread baru
Kamu tidak boleh membalas
Kamu tidak boleh mengirim lampiran
Kamu tidak boleh mengedit post kamu

BB code Hidup
Smilie saat ini Hidup
Kode [IMG] adalah Hidup
Kode HTML adalah Mati


Terkait
Thread Pembuat Thread Forum Balasan Postingan Terakhir
Tutorial Membuat CCTV Dengan Webcam bakpaoayam Lounge 0 27 Mei 2012 03:26 PM