Perintah Ubuntu Server
Perintah Ubuntu Server
network:
ethernets:
enp0s3:
dhcp4: false
addresses: [192.168.1.202/24]
gateway4: 192.168.1.1
nameservers:
addresses: [8.8.8.8,8.8.4.4,192.168.1.1]
version: 2
ctrl+X > Y
(install apache2)
(install MySQL)
$mysql -u root -p
$exit
(install php)
$cd /var/www/html
$touch info.php
perintah untuk masuk ke nano text editor, yaitu teks editor bawaan Linux untuk
mengedit file.
$nano info.php
<?php
phpinfo();
?>
$cd
(install phpMyAdmin)
Jika sudah, silakan akses phpMyAdmin dengan cara membuka browser, lalu tuliskan
http://192.168.1.1/phpmyadmin.
$\password zonabiner
$exit
$exit
logout