Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 – Part 1 Instalasi Web Server di FreeBSD 6.0 dengan Apache 2.2, MySQL 5.0 dan PHP 5 - Bagian 1
Installing Apache 2.2, MySQL 5 and PHP 5 in FreeBSD 6.0 for a Reliable Web Server Instalasi Apache 2.2, MySQL 5 dan PHP 5 pada FreeBSD 6.0 selama Reliable Web Server
Part 1 – Installing FreeBSD 6.0 with Ports Collection Updating Bagian 1 - Instalasi FreeBSD 6.0 dengan Ports Koleksi Memperbarui
Minimum Requirements: Minimum Requirements:
- CD-RW or DVD-RW Drive CD-RW atau DVD-RW Drive
- Internet Connection via Ethernet Network Card or Modem Dial-up Koneksi internet melalui jaringan Ethernet Card atau Modem Dial-up
- Sufficient disk space Cukup ruang disk
- Download latest version of Download versi terbaru FreeBSD FreeBSD . . Select ISO image download that suits your system architecture platform (for example, machine on Intel Pentium-IV or AMD AthlonXP is based on i386, while AMD Opteron is amd64 architecture) by clicking on corresponding [ISO]. Pilih ISO image download yang sesuai dengan arsitektur sistem anda platform (misalnya, mesin Intel Pentium-IV atau AMD AthlonXP didasarkan pada i386, sementara AMD Opteron adalah arsitektur amd64) dengan mengklik terkait [ISO].
- Download 6.0-RELEASE-i386-disc1.iso, or any other similar file. Download 6.0-RELEASE-i386-disc1.iso, atau file lainnya yang serupa. (Disc 1 is sufficient to install a fully working FreeBSD box) (Disc 1 cukup untuk menginstal sebuah kotak FreeBSD bekerja penuh)
- Burn the file (ISO image) to a CD disc (refer to your CD-RW or DVD-RW manual if you not sure of how to burn a image file). Burn file (ISO image) ke CD disk (lihat CD-RW atau DVD-RW manual jika Anda tidak yakin tentang cara untuk membakar file gambar).
- Insert the newly created FreeBSD CD to the computer that you want to run as web server and power on the computer. Masukkan CD FreeBSD yang baru dibuat ke komputer yang ingin Anda jalankan sebagai web server dan kekuasaan pada komputer.
- If you want to use multiple operating systems on the computer to co-exist, or your system already has operating system installed, you must free up a primary partition for FreeBSD installation. Jika Anda ingin menggunakan beberapa sistem operasi pada komputer untuk hidup berdampingan, atau sistem anda sudah memiliki sistem operasi terinstal, Anda harus membebaskan partisi utama untuk instalasi FreeBSD. You can modify partition with fdisk on DOS or Windows, FIPS and PResizer from tools directory in FreeBSD CD, or with third-party software like PartitionMagic that is able to modify NTFS partition. Anda dapat memodifikasi partisi dengan fdisk pada DOS atau Windows, FIPS dan alat-alat PResizer dari direktori di CD FreeBSD, atau dengan perangkat lunak pihak ketiga seperti PartitionMagic yang dapat memodifikasi partisi NTFS.
- Boot from CD when computer starts up. Boot dari CD ketika komputer dijalankan. If booting from CD capability is not enabled or has lower priority than hard disk, change it in BIOS. Jika kemampuan boot dari CD tidak diaktifkan atau memiliki prioritas yang lebih rendah daripada hard disk, mengubahnya dalam BIOS.
- Once FreeBSD boots up, you will see a menu titled 'sysinstall Main Menu' that contains all the installation options. Sekali FreeBSD boot up, Anda akan melihat sebuah menu yang berjudul 'sysinstall Main Menu' yang berisi semua opsi instalasi.

- Select 'Standard' and press Enter. Pilih 'Standar' dan tekan Enter.
- Press Enter (or Space) when shown the following message: Tekan Enter (atau Space) ketika ditampilkan pesan berikut:
Message Pesan In the next menu, you will need to set up a DOS-style ("fdisk") Dalam menu berikutnya, Anda akan perlu untuk membuat sebuah DOS-style ( "fdisk") partitioning scheme for your hard disk. skema partisi hard disk Anda. If you simply wish to devote Jika Anda hanya ingin mengabdikan all disk space to FreeBSD (overwriting anything else that might be on semua disk space to FreeBSD (Timpa hal lain yang mungkin berada di the disk(s) selected) then use the (A)ll command to select the default disk (s) dipilih), kemudian gunakan (A) ll perintah untuk memilih default partitioning scheme followed by a (Q)uit. skema partisi diikuti (Q) uit. If you wish to allocate only Jika Anda ingin hanya mengalokasikan free space to FreeBSD, move to a partition marked "unused" and use the ruang bebas untuk FreeBSD, pindah ke sebuah partisi yang ditandai "tidak digunakan" dan menggunakan (C)reate command. (C) reate perintah. [ OK ] [OK] [ Press enter or space ] [Tekan enter atau spasi] - If you have more than 1 disk drives detected, FDISK will prompt you to select which disk drive you want to use. Jika Anda memiliki lebih dari 1 disk drive terdeteksi, FDISK akan meminta Anda untuk memilih disk yang ingin anda gunakan. Just select accordingly (For the purpose of this tutorial guide, select the first primary hard disk). Cukup pilih sesuai (Untuk tujuan panduan tutorial ini, pilih utama pertama hard disk).

- You will be shown FDISK Partition Editor. Anda akan ditampilkan FDISK Partition Editor. If you already has some partitions defined, your screen will typically shown like below: Jika Anda sudah memiliki beberapa partisi ditentukan, layar Anda akan biasanya ditampilkan seperti di bawah ini:

Depending on how is the layout of your current hard disk, you may need to press D to delete a or some partitions to make room for FreeBSD partition. Tergantung pada bagaimana tata letak hard disk Anda saat ini, Anda mungkin perlu tekan D untuk menghapus sebuah atau beberapa partisi untuk memberikan ruang bagi partisi FreeBSD. You can create a partition by pressing C. If your hard drive is empty and you would like to use entire disk for FreeBSD, press A. When done, press Q to finish and exit the FDISK process. Anda dapat menciptakan sebuah partisi dengan menekan C. Jika harddisk Anda kosong dan Anda ingin menggunakan seluruh disk untuk FreeBSD, tekan A. Setelah selesai, tekan Q untuk menyelesaikan dan keluar dari proses FDISK. - Next, a boot manager needs to be installed. Selanjutnya, sebuah boot manager harus diinstal. You can select either BootMgr or Standard (Standard will suffice if FreeBSD is going to be the only operating system on this machine and it's installed on the first hard disk). Anda dapat memilih BootMgr atau Standar (Standar akan cukup bila FreeBSD akan menjadi satu-satunya sistem operasi pada mesin ini dan itu terinstal di harddisk pertama).

- Press Enter or Space when shown the following message: Tekan Enter atau Space ketika ditampilkan pesan berikut:
Message Pesan Now, you need to create BSD partitions inside of the fdisk Sekarang, anda perlu membuat partisi BSD dalam fdisk partition(s) just created. partisi (s) baru saja dibuat. If you have a reasonable amount of disk Jika Anda memiliki jumlah yang masuk akal disk space (200MB or more) and don't have any special requirements, simply ruang (200MB atau lebih) dan tidak mempunyai persyaratan khusus, hanya use the (A)uto command to allocate space automatically. menggunakan (A) Uto perintah untuk mengalokasikan ruang secara otomatis. If you have Jika Anda memiliki more specific needs or just don't care for the layout chosen by kebutuhan yang lebih spesifik atau tidak peduli pada tata letak yang dipilih oleh (A)uto, press F1 for more information on manual layout. (A) Uto, tekan F1 untuk informasi lebih lanjut tentang tata letak manual. [ OK ] [OK] [ Press enter or space ] [Tekan enter atau spasi] - At FreeBSD Disklabel Editor, press A to let FreeBSD automatically creates the partitions and set the partitions to default sizes. Pada FreeBSD Disklabel Editor, tekan A untuk membiarkan FreeBSD secara otomatis menciptakan partisi dan mengatur ukuran partisi ke default.

Note: /var will contains all log files, mail files, database files and etc. If you're running FreeBSD as http web server or ftp server, the default size of /var is most likely not enough in future. Catatan: / var akan berisi semua file log, mail file, file-file database dan lain-lain Jika Anda menjalankan FreeBSD sebagai http web server atau ftp server, ukuran default / var kemungkinan besar tidak cukup di masa depan. You will need to increase the size of /var now by reducing the size of /usr. Anda akan perlu untuk meningkatkan ukuran / var sekarang dengan mengurangi ukuran / usr. To do this, scroll to /usr and press D to delete /usr partition. Untuk melakukan hal ini, gulir ke / usr dan tekan D untuk menghapus / usr partisi. Then scroll back to the first row (where specified free space available), press C, then key in your desired and reduced amount of blocks or space to allocate to /usr partition, select FS (A file system) and key in /usr as mounting point. Kemudian gulir kembali ke baris pertama (di mana ruang bebas tertentu yang tersedia), tekan C, kemudian kunci yang Anda inginkan dan mengurangi jumlah blok atau ruang untuk mengalokasikan ke / usr partisi, pilih FS (file system A) dan kunci di / usr sebagai mounting point. Repeat the same process for /var, with increased blocks or space allocation. Ulangi proses yang sama untuk / var, dengan peningkatan alokasi blok atau ruang.Press Q when done to exit. Tekan Q ketika selesai untuk keluar.
- At Choose Distributions screen, select Developer or User (if you don't want the sources). Pada Distribusi Pilih layar, pilih Pengembang atau User (jika Anda tidak ingin sumber).

- Select [Yes] with arrow keys and press Enter to install FreeBSD Ports Collection when prompted. Pilih [YA] dengan tombol panah dan tekan Enter untuk menginstal FreeBSD Ports Collection saat diminta. This allows easy installation of Apache, MySQL and PHP later. Hal ini memungkinkan instalasi yang mudah dari Apache, MySQL dan PHP nanti.
User Confirmation Requested Would you like to install the FreeBSD ports collection? This will give you ready access to over 13,300 ported software packages, at a cost of around 440 MB of disk space when "clean" and possibly much more than that if a lot of the distribution tarballs are loaded (unless you have the extra CDs from a FreeBSD CD/DVD distribution available and can mount it on /cdrom, in which case this is far less of a problem). The Ports Collection is a very valuable resource and well worth having on your /usr partition, so it is advisable to say Yes to this option. For more information on the Ports Collection & the latest ports, visit: http://www.FreeBSD.org/ports [ Yes ] No Konfirmasi Pengguna Requested Apakah Anda ingin menginstal FreeBSD koleksi port? Ini akan memberikan anda siap akses ke lebih dari 13.300 paket perangkat lunak porting, dengan biaya sekitar 440 MB disk space ketika "bersih" dan mungkin lebih dari itu jika banyak tar.gz distribusi dimuat (kecuali jika Anda memiliki CD tambahan dari FreeBSD CD / DVD distribusi yang tersedia dan dapat me-mount di / cdrom, dalam hal ini jauh lebih sedikit dari masalah). The Ports Collection adalah sumber daya yang sangat berharga dan baik berharga pada / usr partisi, sehingga sangat dianjurkan untuk mengatakan Ya untuk pilihan ini. Untuk informasi lebih lanjut tentang Ports Collection & port terbaru, kunjungi: http://www.FreeBSD.org/ports [YA] Tidak - After returning to Choose Distributions screen, scroll to Exit with arrow keys and press Enter. Setelah kembali ke Distribusi Pilih layar, gulir ke Keluar dengan tombol panah dan tekan Enter.
- Select CD/DVD when prompted to Choose Installation Media. Pilih CD / DVD ketika diminta untuk Pilih Media Instalasi.

Note: If your FreeBSD Installation CD is too old, you can choose to install via FTP, which will fetch and download the latest build release. Catatan: Jika Anda CD Instalasi FreeBSD terlalu tua, Anda dapat memilih untuk menginstal melalui FTP, yang akan mendownload dan men-download rilis terbaru membangun. - Configuration of FreeBSD has been set and installation can be started. Konfigurasi FreeBSD telah ditetapkan dan instalasi bisa dimulai. Commit to the installation of FreeBSD when prompted. Berkomitmen untuk instalasi FreeBSD ketika diminta.
User Confirmation Requested Konfirmasi Pengguna Requested Last Chance! Last Chance! Are you SURE you want to continue the installation? Apakah Anda PASTI Anda ingin melanjutkan penginstalan? If you're running this on a disk with data you wish to save then WE Jika Anda menjalankan ini pada disk dengan data yang anda ingin simpan kemudian KAMI STRONGLY ENCOURAGE YOU TO MAKE PROPER BACKUPS before proceeding! Sangat menyarankan agar Anda PROPER MEMBUAT backup sebelum melanjutkan! We can take no responsibility for lost disk contents! Kita dapat mengambil hilang tidak bertanggung jawab atas isi disk! [ Yes ] No [YA] TidakWarning: All data on the hard disk may be lost! Peringatan: Semua data pada hard disk dapat hilang! The hard disk will be re-partition and re-format during installation. Hard disk akan kembali partisi dan format ulang pada saat instalasi.
- After installation is completed, the following message will appears: Setelah instalasi selesai, pesan berikut akan muncul:
Message Pesan Congratulations! Selamat! You now have FreeBSD installed on your system. Anda sekarang memiliki FreeBSD terinstall pada sistem Anda. We will now move on to the final configuration questions. Sekarang kita akan beralih ke pertanyaan konfigurasi akhir. For any option you do not wish to configure, simply select No. Untuk setiap pilihan Anda tidak ingin mengkonfigurasi, cukup pilih No If you wish to re-enter this utility after the system is up, you may Jika Anda ingin memasukkan kembali utilitas ini setelah sistem sudah habis, Anda mungkin do so by typing: /stand/sysinstall . melakukannya dengan mengetik: / stand / sysinstall. [ OK ] [OK] [ Press enter to continue ] [Tekan enter untuk melanjutkan]Press Enter to proceed to post-installation configuration. Tekan Enter untuk melanjutkan ke konfigurasi pasca instalasi.
IMPORTANT : The page is machine translated and provided "as is" without warranty. PENTING: Halaman ini adalah mesin diterjemahkan dan diberikan "sebagaimana adanya" tanpa jaminan. Machine translation may be difficult to understand. Terjemahan mesin mungkin sulit untuk mengerti. Please refer to Silakan merujuk ke original English article artikel asli bahasa Inggris whenever possible. bila memungkinkan.
Related Articles Artikel Terkait
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 – Part 2 Instalasi Web Server di FreeBSD 6.0 dengan Apache 2.2, MySQL 5.0 dan PHP 5 - Bagian 2
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 – Part 3 Instalasi Web Server di FreeBSD 6.0 dengan Apache 2.2, MySQL 5.0 dan PHP 5 - Bagian 3
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 – Part 5 Instalasi Web Server di FreeBSD 6.0 dengan Apache 2.2, MySQL 5.0 dan PHP 5 - Bagian 5
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 – Part 4 Instalasi Web Server di FreeBSD 6.0 dengan Apache 2.2, MySQL 5.0 dan PHP 5 - Bagian 4
- Installing and Configuring DHCP Server (DHCPd) on FreeBSD Instalasi dan Konfigurasi Server DHCP (dhcpd) di FreeBSD
- FreeBSD Apache HTTP Accept Filter Error FreeBSD Apache HTTP Accept Filter Error
- Install phpBB 2 in Windows XP running on Apache 2, PHP 5 and MySQL 4 Install phpBB 2 pada Windows XP berjalan pada Apache 2, PHP 5 dan MySQL 4
- Could Not Find Valid System Volume Error When Installing Windows Server 2008 (R2) Bisakah Tidak Temukan Sistem Valid Volume Kesalahan Saat Instalasi Windows Server 2008 (R2)
- Checking Free Disk Space on FreeBSD Server Memeriksa Free Disk Space FreeBSD Server
- FreeBSD 6.0 on VMware Server Time and Clock Slow Down FreeBSD 6.0 di VMware Server Waktu dan Jam Slow Down









































