Ms7 Search
Google 搜尋 翻譯
calendar
« 九月 2024 »
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30            
近期文章
文章分類
網站連結
Syndicate

« | »

centos 7 安裝記錄

2017-05-13 @ 20:44 in Linux

  1. service 改成 systemctl
    1. systemctl 列出所有 service
    2. systemctl status servie 列出 service 狀況
    3. systemctl stop service 停止
    4. systemctl start service 啟動
    5. systemctl enable service 開機啟動
    6. systemctl disable service 取消啟
  2. 檔案系統 ext4 改成 xfs
    1. lsblk -f 或 blkid 先找到磁碟,再用 parted /dev/xxx print 來找出內部的分割表類型,之後才用 gdisk 或 fdisk 來操作系統, mkfs.xfs 或 mkfs.ext4 格式化
    2. quota 設定改成 xfs_quota , xfs_quota 不能設定在 / 根目錄
    3. /usr/sbin/xfs_quota -x -c "limit bsoft=1000M bhard=1024M phpinii" /mnt2
      xfs_quota -x -c "print"
      xfs_quota -x -c "report -b" /home
  3. apache 2.4 設定必須加入 Require all granted 才能使用該目錄,否則會有 authz_core:error , client denied by server configuration: 在 error_log 中顯示
    1. <Directory "/home/*/*/www">
          AllowOverride FileInfo AuthConfig Limit Indexes
          Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
          Require method GET POST OPTIONS
          Require all granted
      </Directory>
      在個人目錄的  userdir.conf 中個人目錄絕對路徑要正確,用 * 表示所有目錄 , 如果有二層,就必須有二個 * ,例如 /home/office/piggy/www
  4. 在 samba 用 nmb 時無法啟用,原來是 smb.conf 中  interfaces = lo eno1 網卡介面名稱要對,內定是 eth0 要記得改
  5. 在用 freeradius 有檔案屬性錯誤,原來是 /usr/lib/systemd/system/radiusd.service 所有檔案只能 644
  6. 若有用 firewall 指令
    1. firewall-cmd --zone=public --add-port=995/tcp --permanent
      firewall-cmd --reload
      firewall-cmd --list-all
      其實我覺得直接改 /etc/firewalld/zones/public.xml 再 firewall-cmd --reload 比較簡
  7. 在 dovecot 的 conf.d/10-mail.conf 多了一個 first_valid_uid = 500 內定是 1000 ,也就是 uid 要大於等於 500 的 user ,才可以使用 imap 或 pop3 的功能,否則會在 /var/log/maillog 產生  not permitted (see first_valid_uid in config file)的訊息
  8. pop3收信,沒有 ssl失敗,將 conf.d/10-ssl.conf 下的 ssl = required 改成 ssl = yes
  9. 變身使用者:先轉成 root 身份,再用 su -l 使用者 , 就不須要使用者密碼了

迴響

centos 7 安裝記錄 | 豬窩 | 6

I every time spent my half an hour to read this web site's articles or reviews everyday along with a mug of
coffee.

作者 온라인바카라 @ 08:11, 2020-10-31

centos 7 安裝記錄 | 豬窩 | 2

เว็บตรง betflixco เว็ปสล็อตออนไลน์ และการเล่นพนันแนวใหม่
เปิดแล้วเว็บที่ดีที่สุดปี
2021 ด้วยระบบเติม – ถอน อัตโนมัติ
ที่รวบรวมเอาเว็บเล่นสล็อตและคาสิโนออนไลน์ ยอดนิยมมาไว้ที่เดียวเพื่อความสนุกของสมาชิก
เพียงสมัครสมาชิกสมัครเปิดยูสเดียว ท่านสามารถเล่นสล็อต เกมยิงปลา และบาคาร่า จากหลายๆเกมคาสิโนดัง จากบริษัทเกมโดยตรงกว่า 15 เกมสล็อต
ยกตัวอย่าง เช่น Qtech slot,
PGslot, JokerGaming, NETENT, PlayStar, PP PragmaticPlay, BPG BluePrint

แต่นี่คือส่วนหนึ่งจากแบรนด์เกมส์สล็อตชื่อดังทั้งหมดไทยและเทศ

อีกทั้งยังเปิดให้เล่นคาสิโนถ่ายทอดสด บาคาร่า เสือ-มังกร และเกมไพ่เดิมพันรูปแบบต่าง จากค่ายดัง เช่น
SA Gaming, Sexy Gaming, WM Casino, DG Casino, เซ็กซี่ บาคาร่า โดยเราได้รวบรวมทั้งหมดนี้ มารวมไว้ที่เดียว

ที่ BETFLIK เรามีระบบฝาก-ถอนออโต้ที่รวดเร็ว ระบบสมาชิกใช้งานง่าย และรองรับกับทุก Platform ไม่ว่าจะ PC, ไอโอเอส, แอนดรอยด์ อีกด้วย betflix

作者 betflix @ 00:38, 2021-06-28

centos 7 安裝記錄 | 豬窩 | 10

Hey there excellent blog! Does running a blog like this take a great deal of work?

I've no knowledge of programming however I had been hoping to start my own blog in the near future.
Anyhow, if you have any recommendations or techniques
for new blog owners please share. I understand this
is off subject but I simply needed to ask.
Thank you!

作者 May tinh choi game @ 23:34, 2021-08-09

centos 7 安裝記錄 | 豬窩 | 10

Just want to say your article is as surprising.
The clearness in your post is simply spectacular and i could assume you are an expert in this subject.
Fine together with your permission allow me to take hold of your feed to stay updated with coming near near
post. Thank you one million and please continue the
gratifying work.

作者 선시티카지노 @ 04:58, 2021-08-14

centos 7 安裝記錄 | 豬窩 | 10

Very nice post. I simply stumbled upon your weblog and wanted to say that I've really loved surfing around your blog posts.
In any case I'll be subscribing for your rss feed and I'm hoping
you write once more very soon!

作者 안전온라인카지노 @ 00:11, 2021-08-15
«上一篇   1 2 3 ... 5 6 7 8 9 10 11 12 13 14 15 ... 28 29 30  下一篇»
發表迴響
 authimage