herrDeng網內搜尋
自訂搜尋
Ads
2019年11月15日 星期五
ubuntu linux上下載解壓縮Joomla操作phpMyAdmin加root密碼
一般而言,如果完全不考慮資安,當然是把 joomla-root-dir的owner設為www-data,甚至不怕死怕麻煩的權限就設777,安裝法跟windows上差異不大,
如此只要MSQL, php 或是Joomla有任何漏洞,就很危險。
https://serverfault.com/questions/597494/correct-file-system-permissions-for-joomla-installation-on-linux
的討論串,有人建議,將joomla-root-dir保留owner為root或是其他user,其他只要將 joomla-root-dir(我們這種安裝是 /opt/lampp/htdocs/)下的資料夾用chmod設為755,檔案設為644,cache如有用時,才用chown將owner設為www-data
註: r=4, w=2, x=1=> 7=rwx, 5=r-x, 6=rw- 4=r--
cd /whatever-your-joomla-root-dir-is
find . -type f -exec chmod 644 {} \;
find . -type d -exec chmod 755 {} \;
chown -R www-data .
訂閱:
張貼留言 (Atom)
熱門文章
-
請簡易說明Bitmap, Sleep的使用方式 請參考 https://anwendeng.blogspot.com/2020/03/visual-studio-2019-cwindows-formbitmap.html https://anwendeng.blogsp...
-
計算你上學期加權平均
-
malloc? free?
-
輸出字串20次
-
金鑰總數159*10^18 億=10^8 兆=10^12 京=10^16 垓=10^20 秭=10^24 穣=10^28 溝=10^32 澗=10^36 正=10^40 載=10^44 極=10^48 恆河沙=10^52 阿僧祇=10^56 那由...
-
連續複利
-
教育部為提昇全民資安素養與電腦防護能力,本部於101年9月5日至11月5日舉辦「全民資安素養自我評量」活動,請在活動期間內踴躍上網檢測資訊安全素養認知程度,並有機會參與抽獎,詳情請參閱活動網站(網址: https://isafe.moe.edu.tw/event
-
需要練習的Java程式:
沒有留言:
張貼留言