Difference between revisions of "Raspbian: install web server"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | Web merupakan aplikasi yang banyak digunakan untuk menampilkan informasi dari Server. Salah satu aplikasi Web yang sering digunakan adalah Apache. Cara instalasi Web Server di Raspbian tidak terlalu sulit menggunakan perintah berikut, | |
sudo su | sudo su | ||
apt update | apt update | ||
− | apt install apache2 | + | apt install apache2 php php-xmlrpc php-mysql php-gd php-cli php-curl |
+ | |||
+ | Untuk start/stop/restart server Apache menggunakan perintah berikut, | ||
+ | |||
+ | sudo su | ||
+ | /etc/init.d/apache2 start | ||
+ | /etc/init.d/apache2 stop | ||
+ | /etc/init.d/apache2 restart | ||
+ | |||
+ | service apache2 start | ||
+ | service apache2 stop | ||
+ | service apache2 restart | ||
+ | |||
Latest revision as of 10:01, 1 December 2021
Web merupakan aplikasi yang banyak digunakan untuk menampilkan informasi dari Server. Salah satu aplikasi Web yang sering digunakan adalah Apache. Cara instalasi Web Server di Raspbian tidak terlalu sulit menggunakan perintah berikut,
sudo su apt update apt install apache2 php php-xmlrpc php-mysql php-gd php-cli php-curl
Untuk start/stop/restart server Apache menggunakan perintah berikut,
sudo su /etc/init.d/apache2 start /etc/init.d/apache2 stop /etc/init.d/apache2 restart
service apache2 start service apache2 stop service apache2 restart