Install and configure MySQL and PHP. You can get Mac binaries for OS X 10.3 and 10.4 from . PHP is also available from Marc Liyanage. The stock version of Apache that comes with your Mac should be fine. Turn on "personal web sharing" in the sharing panel of System Preferences to start Apache. Now comes the more involved part- changing the webserver configuration. To make changes to the Apache configuration you should NOT edit /etc/httpd/httpd.conf but instead edit files in /private/etc/httpd/users/. Any file in the directory /private/etc/httpd/users/ ending with “.conf” will effectively be appended to /etc/httpd/httpd.conf. So any changes you want to make should be made in one or more configuration files of your own construction. System updates will leave these files untouched. You can create a file /private/etc/httpd/users/drupal.conf for all your Drupal-specific changes (even if you have no user named Drupal) and they will be loaded when Apache starts up. Note: for Mac OS X Server 10.4 (Tiger Server) and most likely previous versions as well, do not make changes to 1. In that directory are the virtual host configuration files. Each virtual server has a configuration file in that directory so it is in those files that you must enable AllowOverride All . If you only have one web server on your server configured, then the file you want to modify is 3.To enable clean URLs you will need the following code in your conf file. You'll need to be root (or sudo) to do this. Don't forget to restart apache after modifying httpd.conf (turn personal web sharing off, then back on again, or use /usr/sbin/apachectl restart).
You may also need to edit this file to enable the PHP module for Apache. You have to uncomment two lines. First in this section:
Uncomment this line (around line 235) by removing the 4:
Then go below to this section:
and uncomment this line (around line 278) by removing the 4:
Drupal goes into /Library/WebServer/Documents/, or ~/Sites. If you use ~/Sites, you may also have to edit the .conf file in /etc/httpd/users that corresponds to your user account. You must AllowOverride in this file for your ~/Sites for clean URLs to work there. After any edits to your .conf files, be sure to restart Apache (as described above). MacZeaolots has a good tutorial on installing Drupal on Mac OS X 10.4. The same tutorial applies to 10.3 as well. While the tutorial talks about Drupal 4.6, the setup of the server environment is the same for any version of Drupal. Important notes for MySQL install:The version of PHP that Apple included with Mac OS X 10.4.4 has mysql.default_socket set to "/var/mysql/mysql.sock", while the binary version of MySQL from mysql.com uses "/tmp/mysql.sock". This will cause PHP to fail to connect to mysql with a message in Drupal like Sudah menjadi rahasia umum bahwa Drupal merupakan salah satu CMS atau content management system yang paling popular untuk membangun website. Saat ini Drupal digunakan oleh lebih dari 2,1% website yang ada di internet, termasuk blog personal website eCommerce, website dating, galeri foto hingga forum. Jika kamu berencana untuk menggunakan Drupal untuk membangun website, kali ini kami akan bahas mengenai cara install Drupal secara manual. Sebelum install Drupal secara manual, kamu terlebih dahulu memastikan bahwa web server yang kamu sewa sudah memenuhi syarat minimal teknis agar Drupal berjalan dengan lancar. Syaratnya diantaranya:
Cara Install Drupal Secara ManualUntuk cara install Drupal secara manual, dasarnya kamu hanya perlu empat langkah yang terbilang mudah. Ikuti langkah-langkah dibawah ini. Langkah 1 Yang pertama kamu harus lakukan adalah mendownload file instalasi Drupal di website resminya disini. Saat ini di website resminya yang tersedia adalah Drupal 8.2.6 dan Drupal 7.54 yang keduanya dirilis pada 1 Februari 2017. Atau mungkin sudah tersedia versi yang lebih baru, karena sering di update untuk memperbaiki bugs dan menutup celah keamanan yang ditemukan, dan kamu juga harus rajin-rajin mengupdatenya. Kamu bisa memilih format file yang dinginkan tar.gz atau zip, yang mana saja sama. Setelah kamu mendwonloadnya, sekarang kamu harus menguploadnya ke server dan mengekstrak file tersebut. Untuk mengupload bisa menggunakan aplikasi FTP client seperti FileZilla atau melalui File Manager di control panel, karena alasan keamanan saya sarankan menggunakan File Manager. Upload file tar.gz atau zip pada direktori root. Setelah selesai upload, ekstrak file tersebut dengan mengklik kanan pada file, kemudian klik tombol Extract. Setelah proses ekstrak selesai, lanjutkan proses berikutnya. Langkah 2 Langkah selanjutnya adalah membuat database MySQL. Untuk membuatnya bisa menggunakan phpMyAdmin dari Control Panel. Buat database, masukan saja username dan password, dan piliha semua privileges, dan database segera dibuat. Jangan lupa untuk mengingat nama, username, dan password dari database yang baru dibuat. Langkah 3 Sebelum menjalankan script instalasi, kamu perlu untuk membuat file settings.php terlebih dahulu untuk handling Drupal yang lebih baik. Ada file konfigurasi bawaan yang ada di dalam file instalasi yang bernama default.settings.php. Copy konten yang ada didalamnya, dan paste pada file baru settings.php, dan simpan file ini pada direktori yang sama dengan file bawaan. Langkah 4 Langkah terakhir setelah semua persiapan selesai, adalah menjalankan scrips instalasi. Caranya cukup mudah, buka aplikasi browser dan masuk ke link http://yourdomain.com/install.php, ganti yourdomain dengan domain kamu. Akan muncul menu untuk memilih installation profile, pilih saha saja Standard. Langkah selanjutnya adalah memilih bahasa, pilih sesuai dengan kebutuhan kamu. Setelah itu akan muncul halaman requirement verification, kamu bisa menskip halaman ini jika sudah memenuhi syarat minimum instalasi Drupal. Sekarang akan tampil halaman Database configuration, masukan nama, username, dan password database yang telah dibuat sebelumnya, dan piliha MySQL untuk database type. Langkah selanjutnya akan muncul halaman profile, masukan nama website, alamat email, dan konfigurasi akun dengan menambahkan username, email dan password. Dan itulah langkah-langkah untuk install Drupal secara manual.
Jakartawebhosting menyediakan server yang sesuai dengan kebutuhan minimum sistem Drupal dan bisa dijadikan pilihan yang tepat untuk Drupal hosting. |