Ceriwis  

Go Back   Ceriwis > HOBI > Komputer & Teknologi > Non Windows > Linux & Open source community

Reply
 
Thread Tools
  #1  
Old 24th November 2011
Nokidding's Avatar
Nokidding Nokidding is offline
Member Aktif
 
Join Date: Nov 2011
Posts: 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>
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Terkait
Thread Thread Starter Forum Replies Last Post
JUAL Tutorial Membuat Animasi dengan Autodesk Maya anticdbajakan CD/DVD 0 10th September 2012 01:03 PM
Tutorial Membuat CCTV Dengan Webcam bakpaoayam Lounge 0 27th May 2012 03:26 PM
JUAL CD Tutorial Membuat Game Dengan Visual Basic hackerkuntet Software Original & Open Source 0 26th May 2012 09:58 AM
JUAL Ebook/Tutorial programing dan membuat server processcpu Software Original & Open Source 0 26th May 2012 09:55 AM

 


All times are GMT +7. The time now is 08:41 PM.