Hello ka-PHC
Isang magandang hapun sa lahat. For starters, ito yung mini-series na gusto kung e share sa lahat nang aspiring front-end devs.
If na miss nyo previous thread, see below:
Front-end development series | setup VM for centos 7
Front-end development series | install centos 7 in VM
Front-end development series 04 | connect centos 7 on the internet
Front-end development series 05 | install ssh in centos 7
Since meron na tayong working VM with CentOS 7, let us get to the final step in installing httpd (Apache) — ito yung tig serve ng web files natin sa local server na ginawa nyo sa working computer nyo.
Once the installation is completed, enable and start the Apache service:
Now that we have Apache installed and running on our CentOS 7 server we can check the status and the version of the Apache service, with:
Sample Output
IMPORTANT!
Wag mo kalimotan e add yung https ports sa firewall mo. Paano?
From here, try nyo access your IP address ni-set nyo sa VM. In my case, 192.168.2.100.
If merong kayong challenges or you wish to correct my thread, please let me know, for me to address them in a timely manner.
For jaja061198 , thank you for following these mini-series, will cover phpmyadmin installation as we proceed along the road. I will keep you posted.
Anyhow, next thread is an installation for Git, Yarn, NodeJS, and Gulp.
Isang magandang hapun sa lahat. For starters, ito yung mini-series na gusto kung e share sa lahat nang aspiring front-end devs.
If na miss nyo previous thread, see below:
Front-end development series | setup VM for centos 7
Front-end development series | install centos 7 in VM
Front-end development series 04 | connect centos 7 on the internet
Front-end development series 05 | install ssh in centos 7
Since meron na tayong working VM with CentOS 7, let us get to the final step in installing httpd (Apache) — ito yung tig serve ng web files natin sa local server na ginawa nyo sa working computer nyo.
Code:
sudo yum install httpd
Once the installation is completed, enable and start the Apache service:
Code:
sudo systemctl enable httpd
sudo systemctl start httpd
Now that we have Apache installed and running on our CentOS 7 server we can check the status and the version of the Apache service, with:
Code:
sudo systemctl status httpd
Sample Output
Code:
httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
Active: active (running) since Thu 2018-04-26 07:13:07 UTC; 11s ago
Docs: man:httpd(8)
man:apachectl(8)
Main PID: 3049 (httpd)
Status: "Total requests: 0; Current requests/sec: 0; Current traffic: 0 B/sec"
CGroup: /system.slice/httpd.service
├─3049 /usr/sbin/httpd -DFOREGROUND
├─3050 /usr/sbin/httpd -DFOREGROUND
├─3051 /usr/sbin/httpd -DFOREGROUND
├─3052 /usr/sbin/httpd -DFOREGROUND
├─3053 /usr/sbin/httpd -DFOREGROUND
└─3054 /usr/sbin/httpd -DFOREGROUND
IMPORTANT!
Wag mo kalimotan e add yung https ports sa firewall mo. Paano?
Code:
sudo firewall-cmd --permanent --zone=public --add-service=http
sudo firewall-cmd --permanent --zone=public --add-service=https
sudo firewall-cmd --reload
From here, try nyo access your IP address ni-set nyo sa VM. In my case, 192.168.2.100.
If merong kayong challenges or you wish to correct my thread, please let me know, for me to address them in a timely manner.
For jaja061198 , thank you for following these mini-series, will cover phpmyadmin installation as we proceed along the road. I will keep you posted.
Anyhow, next thread is an installation for Git, Yarn, NodeJS, and Gulp.