Index :
Cara menggunakan "Bridge network adapter" pada VirtualBox
Cara install LAMP (Linux, Apache, MySQL, PHP) pada VirtualBox (Debian 7)
Cara install WordPress pada VirtualBox (Debian 7)
Cara install ownCloud pada VirtualBox (Debian 7)
Cara install Samba pada VirtualBox (Debian 7)
Cara install Zimbra pada VirtualBox (Debian 6)
Yang perlu di siapkan :
- Debian (+CDnya / *.isonya)
Update Debian
Update dulu debianmu dengan memasukan CDnya lalu ketik kode iniapt-cdrom add
apt-get updateSetelah itu, jangan lupa untuk memberi IP pada Debian. Untuk mendapatkan IP DHCP, disini caranya
Install Apache
Apache sangat berguna karna bisa dibilang dia merupakan paket penting ketika membuat website. Jadi, jangan sampai terlewat!
apt-get install apache2
Install MySQL
Untuk menyimpan database, kita gunakan MySQL (walaupun phpMyAdmin juga bisa)
apt-get install mysql-serverNanti akan ditanya soal password root baru. Silahkan isi sendiri bagian itu
mysql_secure_installationMasukan password seperti yang tadi di setting dan ini :
By default, a MySQL installation has an anonymous user, allowing anyone
to log into MySQL without having to have a user account created for
them. This is intended only for testing, and to make the installation
go a bit smoother. You should remove them before moving into a
production environment.
Remove anonymous users? [Y/n] y
... Success!
Normally, root should only be allowed to connect from 'localhost'. This
ensures that someone cannot guess at the root password from the network.
Disallow root login remotely? [Y/n] y
... Success!
By default, MySQL comes with a database named 'test' that anyone can
access. This is also intended only for testing, and should be removed
before moving into a production environment.
Remove test database and access to it? [Y/n] y
- Dropping test database...
... Success!
- Removing privileges on test database...
... Success!
Reloading the privilege tables will ensure that all changes made so far
will take effect immediately.
Reload privilege tables now? [Y/n] y
... Success!
Cleaning up...
Install PHP
Salah satu kode yang sangat berguna ketika membuat website, jadi penting juga!
apt-get install php5 php-pear php-mysql
Selesai! Begitulah tutorial instalasi LAMP pada Debian 7. Semoga bermanfaat ^^
Gambar : https://drive.google.com/open?id=0B_efpWkiJ2kQOEhpVG1VOGV2N2M
Video : https://www.youtube.com/watch?v=sbwGGmnc1ns
1 comments:
Best NBA bets for super bowl - Top 10 prop bets for super bowl matchpoint matchpoint dafabet dafabet 886Harrah's Cherokee Casino Resort - Konicasino
Post a Comment