Cara Membuat Webserver Apache PHP Mysql di Oracle Cloud
Menginstall webserver apache2
Sudo apt install apache2
Merestart Apache2
Sudo systemctl restart apache2
Update firewall setting harus ada menampilkan gambar di bawah ini
Jika inactive, -> sudo ufw enable
Sudo ufw status
sudo ufw allow 22
sudo ufw allow 80
sudo ufw allow ssh
sudo ufw allow 'Apache
Full'
update iptables (routing) untuk allow http
Sudo iptables -I INPUT
6 -m state --state NEW -p tcp --dport 80 -j ACCEPT
Menyimpan perubahan
Sudo netfilter-persistent save
Jangan lupa
me reebot server
$ sudo reboot
Install Bahasa Pemrograman PHP
sudo apt install php libapache2-mod-php
sudo systemctl restart apache2
membuat fiile info.php di
folder /var/www/html
$ sudo nano /var/www/html/info.php
<?php
phpinfo();
?>
Ctrl+O simpan
file di nano editor, ctrl+X keluar dari nano editor
Install Mysql Server
sudo apt install mysql-server
sudo mysql_secure_installation
sudo mysql -u root -p
poassword:
mysql>SHOW DATABASES;
Membuka peluang untuk bekerja secara remote working
Fleksibel Waktu, Tempat
Oriented to global opportunities (kesempatan pekerjaan global)
Linux administration -> internet (seiring perkembangan VPS/cloud comp)
VPS -> simple, data oriented / backup scheduling, mirroring data (data center)



Tidak ada komentar:
Posting Komentar