檢視 Centos-LAMP安裝 的原始碼
←
Centos-LAMP安裝
跳轉到:
導覽
、
搜尋
根據以下的原因,您並無權限去做編輯這個頁面:
您剛才的請求只有這個使用者組的使用者才能使用:
使用者
你可以檢視並複製本頁面的原始碼。
==1.幸福奉學== 1-1 Centos-LAMP安裝 ==2.幸福分享== 一、安裝Apache *1.安裝httpd:yum install httpd [https://therapeutic-principle-c71.notion.site/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Ffba3e9d4-4184-45ba-bcd0-a7981e5adee7%2FUntitled.png?table=block&id=64132569-6b6e-4827-a5c0-30630c17333f&spaceId=e5840612-bae2-49d9-b655-4b0b08db41ec&width=1850&userId=&cache=v2 圖示 01];[https://therapeutic-principle-c71.notion.site/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F5655afba-e8ab-4eb8-875d-28df97d89174%2FUntitled.png?table=block&id=6e980b8a-0135-44be-9dba-1016661a8ad7&spaceId=e5840612-bae2-49d9-b655-4b0b08db41ec&width=2000&userId=&cache=v2 圖示 02] *2.開啟httpd:systemctl start httpd [https://therapeutic-principle-c71.notion.site/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F72a95786-eba1-4190-b836-d6884d32be6c%2FUntitled.png?table=block&id=086d816e-8782-4c22-8b34-9a305d463aff&spaceId=e5840612-bae2-49d9-b655-4b0b08db41ec&width=890&userId=&cache=v2 圖示] *3.確認是否Apache是否運行:systemctl status httpd [https://therapeutic-principle-c71.notion.site/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Feda812c5-d38b-4365-b9ab-5e89342dcee2%2FUntitled.png?table=block&id=58101c92-fb96-42ce-8ce0-a951bef0b367&spaceId=e5840612-bae2-49d9-b655-4b0b08db41ec&width=1880&userId=&cache=v2 圖示] *4.啟動apache to start during system boot:systemctl enable httpd [https://therapeutic-principle-c71.notion.site/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Ffc109199-50ca-41f6-8986-a85e5107f664%2FUntitled.png?table=block&id=046f7d9c-45ad-43be-a9a1-938f0287d520&spaceId=e5840612-bae2-49d9-b655-4b0b08db41ec&width=2000&userId=&cache=v2 圖示] 備註:需要設定防火牆讓http跟https通過,否則如果從本機開啟瀏覽器,會看不到apache網頁 開啟防火牆,讓 web (port:80, 443) 流量可以穿過 firewall $ sudo firewall-cmd --permanent --zone=public --add-service=http $ sudo firewall-cmd --permanent --zone=public --add-service=https $ sudo firewall-cmd --reload 5.打開Linux瀏覽器,輸入server的IP或數入localhost,看到以下畫面代表成功 [https://therapeutic-principle-c71.notion.site/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Fba582bcf-53f8-4b0d-aea1-d9a3173cb217%2FUntitled.png?table=block&id=09af0d79-0f43-4c8b-bf88-fd655f6d4bba&spaceId=e5840612-bae2-49d9-b655-4b0b08db41ec&width=2000&userId=&cache=v2 圖示] 二、安裝Mariadb [https://blog.xuite.net/tolarku/blog/542563206 參考網址] *yum install mariadb-server mariadb [https://therapeutic-principle-c71.notion.site/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Ffe01e362-8eab-4268-9db8-597f85a552ec%2FUntitled.png?table=block&id=cdb298c1-f6a7-4970-9a2e-df3cd5009210&spaceId=e5840612-bae2-49d9-b655-4b0b08db41ec&width=1180&userId=&cache=v2 圖示] ==3.幸福茶香== 3-1 ==4.幸福彩虹== 4-1 [[category:資訊教師實作考題]]
返回到
Centos-LAMP安裝
。
導航
個人工具
登入
名字空間
頁面
討論
變換
檢視
閱讀
檢視原始碼
檢視歷史
動作
搜尋
導覽
首頁
近期變動
隨機頁面
工具箱
連入頁面
相關頁面修訂記錄
特殊頁面
頁面資訊