Assalamu'alaikum ...
yaa setelah sekian lama tidak ngepost, akhirnya saya ngepost lagi.. hehe
okey.. disini saya akan memberikan tutorial cara membuat / menginstall LAMP atau Linux Apache Mysql and PHP pada debian.
Okey.. pertama tama, karna saya menggunakan Virtualbox, maka cobalah untuk menginstal Debian nya terlebih dahulu..
tambahan. dan dalam Vbox tsb saya menggunakan network adapter nya Bridge, agar bisa langsung terhubung ke internet yang ada di client nya.
okey berikut langkah-langkahnya
1. Install LAMP (Linux Apache Mysql adn PHP)
2. Masukan Password untuk mysql-server and repeat
3. setelah itu masukan script spt gambar d bawah
4. akan muncul script seperti di bawah 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...
5. setelah itu restart apache
service apache2 restart
6. untuk mengecek apakah php nya sudah bekerja atau belum dapat dilakun tes sbg berikut
dan tambahkan <?php phpinfo(); ?> setelah itu cek lah di web browser dengan mengetikan ipserver/info.php
Yaps.. selesai sudah cara install LAMP pada debian.. semoga bermanfaat
0 comments:
Post a Comment