Laman

Kamis, Maret 12, 2015

Install MariaDB 10.0 on Ubuntu 12.04

Panduan Install LAMP (Linux, Apache, MariaDB 10.0, PHP dan PhpMyAdmin) di Ubuntu Server 12.04 LTS

1. Install Apache
    sudo apt-get install apache2
2. Install MariaDB 10.0
    Pertama ketik 
sudo apt-get install python-software-properties 
sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xcbcb082a1bb943db
sudo add-apt-repository 'deb http://kartolo.sby.datautama.net.id/mariadb/repo/10.0/ubuntu precise main'

    Kedua
sudo nano /etc/apt/sources.list (perintah untuk cek repository mirror dari Indonesia)
    sudo apt-get update
sudo apt-get install mariadb-server

3. Install PHP
  sudo apt-get install php5 php5-mysql php5-mcrypt php5-gd libapache2-mod-php5
sudo apt-get install phpmyadmin apache2-utils
4. Restart Server
    sudo service apache2 restart
5. Check Apache dan Check PHP
    Cara cek apache ketik http://localhost atau ip address server di browser. Contoh: 192.168.1.255
  Cara cek PHP
  cd /var/www/
sudo nano
<?php
info();
?>

Link repository Indonesia: Setting up MariaDB Repositories

  How to install Drush using composer https://www.linode.com