Skip to main content

Install LAMP Server di Ubuntu / debian

berikut cara Install LAMP Server di Ubuntu :

Install Melalui Tasksel , jika belum terinstall silahkan install dahulu , buka terminal :
sudo apt-get install tasksel
 apt-get install tasksel

Kemudian jalankan tasksel di terminal :
tasksel

Pilih LAMP Server

saat installasi , akan muncul pertanyaan permintaan MYSQL password , silahkan isi password mysql anda


Untuk Mengecek berjalan atau tidak :
buka browser : ketik localhost , jika berjalan akan muncul It Work's

buat file php

nano /var/www/info.php

isikan  :
<?php
phpinfo();
?>

save dan exit

restart service apache2

/etc/init.d/apache2 restart

jalankan di browser :
localhost/info.php 

Install phpmyadmin

apt-get install phpmyadmin

kemudian buka

localhost/phpmyadmin atau http://ip-address/phpmyadmin ( 192.168.1.24/phpmyadmin)

#Update
Cara meng enable kan Mod_rewrite di Apache2

sudo a2enmod rewrite
sudo service apache2 restart
vi /etc/apache2/sites-available/default
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
# changed from None to FileInfo
AllowOverride FileInfo
Order allow,deny
allow from all
</Directory>
sudo service apache2 restart
Semoga bermanfaat


Taufan M
See U

sudo apt-get install tasksel
sudo apt-get install tasksel
sudo apt-get install tasksel
sudo apt-get install tasksel
sudo apt-get install tasksel

Comments

Popular posts from this blog

[Arsip] Uninstal Zimbra Mail Server

UnInstalling Zimbra on Linux Uninstall Directions for Linux/All Other Operating Systems As root: 1) Run the commands: su – zimbra zmcontrol stop exit (you should be root after you run exit) 2a) Run the command:  ps -ef | grep -i zimbra If you see running processes 2b) Kill any lingering processes:  kill -9 <pid> 3a) Run the command:  df If you see "amavisd" 3b) run command:  umount /opt/zimbra/amavisd<-new-blah>/tmp 4)  cd /<tmp_tar_install_dir>/zcs/ 5) Run the command:  ./install.sh -u 6) Run the following commands to complete the unistall: rm -rf /opt/zimbra rm -rf /var/log/*zimbra* rm -rf /tmp/*zimbra* rm -rf /tmp/hsperfdata* rm -rf /tmp/install.* rm -rf /tmp/*swatch* rm -rf /tmp/log* Ensure that you removed ALL the files owned by the user zimbra AND that contain the name "zimbra" in: /var/log/ /tmp/ 7) Run the following commands to delete the users and groups: userdel zimbra userdel postfix groupdel zimbra groupdel postfix 8) Remove th...

Membuat fungsi “terbilang” Excel menggunakan macro VBA

Jika Anda ingin menerjemahkan Angka menjadi Kata-kata , contohnya saja dalam pembuatan Form Kwitansi suatu Transaksi , anda dapat membuatnya dengan menggunakan aplikasi Microsoft Excel dan Macro Visual Basic Application ( VBA ) .saya menggunakan Excel 2007 Untuk membuatnya silahkan ikuti langkah-langkah dibawah ini :  buka Microsoft Excel , lalu tekan alt+F11  Setelah Muncul Microsoft Visual Basic , lalu pilih Insert > module Isikan code Seperti diatas  silahkan anda download source code nya disini !! Save Book ( ctrl+S)   Save As type : pilih Excel Macro - Enable Workbook  (*.xlsm) lalu klik Save  pilih File > Close and return to microsoft excel , macro sudah dibuat , sekarang kita tinggal test macro tersebut Tempatkan cell A2 , pilih Formulas > Insert Function lalu pilih Category User Defined Terlihat Function terbilang yang sudah dibuat tadi di VBA , klik Ok Akan Tampil Form Seperti diatas ,  Nilai_angka  arahkan ke Cell A1 ( ters...