Panduan Instalasi LAMP+ di KiosK by wiros4bleng http://wiros4bleng.wordpress.com
Daftar Isi 1. 2. 3. 4. 5. 6. 7. 8.
Instalasi Ubuntu 16.04 LTS Mengganti Repositori ke Kambing UI Instalasi Apache2.4.x Web Server Instalasi PHP5.6 Instalasi MariaDB 10.2.x Instalasi PHPMyAdmin Instalasi GNOME Classic Mengganti Desktop ke Gnome Classic
1. Instalasi Ubuntu 16.04 LTS
Pilih Install Ubuntu
1. Instalasi Ubuntu 16.04 LTS
Langsung pilih continue
1. Instalasi Ubuntu 16.04 LTS
Pilih Something else, lalu atur partisi, saya skip
1. Instalasi Ubuntu 16.04 LTS
Atur user dan password
1. Instalasi Ubuntu 16.04 LTS
Tunggu sampai muncul pesan seperti ini
2. Mengganti Repositori ke Kambing UI wiros4bleng@wiros4bleng-VirtualBox:~$ sudo su [sudo] password for wiros4bleng: **************** root@wiros4bleng-VirtualBox:/home/wiros4bleng# cp /dev/null /etc/apt/sources.list root@wiros4bleng-VirtualBox:/home/wiros4bleng# nano /etc/apt/sources.list Paste komentar berikut:
deb http://kambing.ui.ac.id/ubuntu/ xenial main restricted universe multiverse deb http://kambing.ui.ac.id/ubuntu/ xenial-updates main restricted universe multiverse deb http://kambing.ui.ac.id/ubuntu/ xenial-security main restricted universe multiverse deb http://kambing.ui.ac.id/ubuntu/ xenial-backports main restricted universe multiverse deb http://kambing.ui.ac.id/ubuntu/ xenial-proposed main restricted universe multiverse Simpan dengan menekan CTRL+X lalu tekan Y root@wiros4bleng-VirtualBox:/home/wiros4bleng# apt-get update && apt-get dist-upgrade -y ...... Tunggu sampai proses selesai, biasanya 15 s/d 20 menitan tergantung koneksi internet dan performa server repositori kambing
3. Instalasi Apache 2.4.x Web Server Instalasi root@wiros4bleng-VirtualBox:/home/wiros4bleng# add-apt-repository ppa:ondrej/apache2 root@wiros4bleng-VirtualBox:/home/wiros4bleng# apt-get update root@wiros4bleng-VirtualBox:/home/wiros4bleng# apt-get install apache2 -y Konfigurasi root@wiros4bleng-VirtualBox:/home/wiros4bleng# nano /etc/apache2/conf-enabled/security.conf --const Cari dibaris ke-25, ganti ServerTokens Os menjadi ServerTokens Prod
4. Instalasi PHP5.6 root@wiros4bleng-VirtualBox:/home/wiros4bleng# add-apt-repository ppa:ondrej/php root@wiros4bleng-VirtualBox:/home/wiros4bleng# apt-get update root@wiros4bleng-VirtualBox:/home/wiros4bleng# apt install php5.6 php5.6-mysql php5.6-curl php5.6-mcrypt libapache2-mod-php5.6 php5.6-soap php5.6-gd php5.6-curl php5.6-zip php5.6bz2 php5.6-bcmath php5.6-xml php5.6-cgi php5.6-cg php5.6-mbstring -y
5. Instalasi MariaDB 10.2.x # apt-get install software-properties-common # apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xF1656F24C74CD1D8 # add-apt-repository 'deb [arch=amd64,i386,ppc64el] http://mariadb.biz.net.id/repo/10.2/ubuntu xenial main' # apt update # apt install mariadb-server -y Masukkan Password jika diminta ...
5. Instalasi MariaDB 10.2.x root@wiros4bleng-VirtualBox:/home/wiros4bleng# mysql_secure_installation ...
Enter current password for root (enter for none): masukkanpasswordnyabro OK, successfully used password, moving on... ....
You already have a root password set, so you can safely answer 'n'. Change the root password? [Y/n] n ... skipping. ...
Remove anonymous users? [Y/n] y ... Success! ...
Disallow root login remotely? [Y/n] y ... Success! ...
Remove test database and access to it? [Y/n] y - Dropping test database... ... Success! - Removing privileges on test database... ... Success! ....
Reload privilege tables now? [Y/n] y ... Success! Cleaning up... ...
Thanks for using MariaDB!
6. Instalasi PHPMyAdmin root@wiros4bleng-VirtualBox:/home/wiros4bleng# apt-get update root@wiros4bleng-VirtualBox:/home/wiros4bleng# apt-get install phpmyadmin -y Pilih apach2 dan tekan tombol <Space> pada keyboard +------------------------+ Configuring phpmyadmin +--------------------------------------------------------------------------------+ | Please choose the web server that should be automatically configured to | | run phpMyAdmin. | | |
|
Web server to reconfigure automatically:
| | |
|
[*] apache2 [ ] lighttpd
| |
| | |
|
| |
|
| | +----------------------------------------------------------------------------------------------------------------------------------------------------------------+
Pilih | Configure database for phpmyadmin with dbconfig-common? | | | | | | | +---------------------------------------------------------------------------------------------------------+ Isikkan Password jika muncul permintaan untuk mengisinya, demi kemudahan samakan saja dengan password saat instalasi MariaDB
7. Instalasi GNOME Classic # apt-get update # apt-get install gnome-session-flashback
8. Mengganti Desktop ke Gnome Classic Jangan lupa restart PC terlebih dahulu Klik logo Ubuntu
8. Mengganti Desktop ke Gnome Classic Jangan lupa restart PC terlebih dahulu Klik logo Ubuntu Pilih yang paling atas atau yang tengah
8. Mengganti Desktop ke Gnome Classic Jangan lupa restart PC terlebih dahulu Klik logo Ubuntu Isikan Password
8. Mengganti Desktop ke Gnome Classic Jangan lupa restart PC terlebih dahulu Klik logo Ubuntu Tampilan Desktop Isikan Password mode Gnome Classic; lebih simple dan ringan!