[RA] Install LAMPP & Konfigurasinya


[RA] Install LAMPP & Konfigurasinya

Menanggapi komentar muhammadiraone di page Request Article, akhirnya saya membuat artikel ini.
Sebenarnya instalasi LAMPP itu gampang, jadi mari kita mulai🙂

Pertama,  kita download dulu source tarball-nya.
Download selesai, biasanya ke savenya di direkori Downloads.
Nah, masuk ke direktori downloadnya.

deprito@THJC:~$ cd /home/deprito/Downloads

Lalu, kita extract.

deprito@THJC:~/Downloads$ tar xvfz xampp-linux-1.7.4.tar.gz -C /opt

perintah -C fungsinya untuk
-C, –directory=DIR change to directory DIR

Setelah proses ekstrak selesai, jalankan lamp

deprito@THJC:~$ /opt/lampp/lampp start

Dan akhirnya berjalan🙂
Silakan buka di browser anda.
127.0.0.1

Oke, sekarang kita coba install CMS WordPress🙂

Pertama, download dulu wordpressnya di situs resminya.

Setelah itu extract.

deprito@THJC:~$ unzip wordpres-x.x.x.zip

sekarang, pindahkan ke folder /var/www

Lalu jalankan apachenya.

deprito@THJC:~$ /etc/init.d/apache2 start
deprito@THJC:~$ service mysql start

deprito@THJC:~$ mysql -u root -p

<code>Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 61
Server version: 5.1.41-3ubuntu12.3 (Ubuntu)
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> CREATE DATABASE databasename;
Query OK, 1 row affected (0.00 sec)
mysql> CREATE USER wordpressuser;
Query OK, 0 rows affected (0.00 sec)
mysql> SET PASSWORD FOR wordpressuser = PASSWORD(”wordpresspassword“);
Query OK, 0 rows affected (0.00 sec)
mysql> GRANT ALL PRIVILEGES ON databasename.* TO “wordpressuser“@”localhost” IDENTIFIED BY “wordpresspassword“;
Query OK, 0 rows affected (0.00 sec)
mysql> FLUSH PRIVILEGES;
Query OK, 0 rows affected (0.00 sec)
mysql> EXIT
Bye

Konfigurasi selesai, nama user, password di bebaskan🙂

Nah sekarang buka
http://127.0.0.1/wordpress

Lalu, konfigurasi kan wordpress🙂

Ada peringatan “Sorry, but i can’t write the wp-config.php file”, hal ini wajar karena alasan keamanan maka standar permissions di folder /var/www adalah 644 atau -rw-r–r–.

Tapi tenang saja, copy saja semua tulisan di dalam box mulai <?php ….. sampai selesai, kemudian buka teks editor (vim, gedit, kwrite dll), paste lalu safe dengan nama wp-config.php dan ditaruh di folder /var/www/wordpress/

 Dan selesai🙂

3 thoughts on “[RA] Install LAMPP & Konfigurasinya

  1. I am not sure where you are getting your information, but great topic. I needs to spend some time learning much more or understanding more. Thanks for fantastic information I was looking for this [RA] Install LAMPP & Konfigurasinya | elmoony for my mission.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s