## HW08 首先先確定套件是不是都最新版本 sudo yum update -y  ## 安裝Apache網頁伺服器 sudo yum install httpd -y 啟用服務 service httpd start  ## 安裝MariaDB(MySQL)資料庫伺服器 sudo yum install mariadb mariadb-server -y 啟用服務service mariadb start ## 設定MariaDB伺服器 再來/usr/bin/mysql_secure_installation/usr/bin/mysql_secure_installation 需要按(y/n)的地方全部都按y ## 設定防火牆 sudo firewall-cmd --add-service=http --permanent sudo firewall-cmd --add-service=https --permanent //https服務 service firewalld restart 重啟  ## 建立一個 PHP 測試檔 sudo vi /var/www/html/info.php 內容修改<?php phpinfo(); ?>然後保存並退出  作業 
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up