PAMIR WEB HOSTING LLC
登入
PAMIR WEB HOSTING LLC PAMIR WEB HOSTING LLC
登入 註冊
  • Home
  • 商店
  • 公告
  • 知識庫
  • 服務狀態
  • 推廣註冊
  • 聯絡我們
العربية Azerbaijani Català 中文 Hrvatski Čeština Dansk Nederlands English Estonian Persian Français Deutsch עברית Magyar Italiano Macedonian Norwegian Português Português Română Русский Español Svenska Türkçe Українська

Securing /tmp partition on openVZ 列印

  • 5

Log into SSH by Putty, Xshell or another Terminal and do the following:

1.) rm -rf /tmp

2.) mkdir /tmp

3.) mount -t tmpfs -o rw,noexec,nosuid tmpfs /tmp

4.) chmod 1777 /tmp

5.) echo "tmpfs   /tmp    tmpfs   rw,noexec,nosuid        0       0" >> /etc/fstab

6.) rm -rf /var/tmp

7.) ln -s /tmp /var/tmp


這篇文章有幫助嗎?

相關文章

/dev/shm is not mounted with the noexec,nosuid? Getting the error in ConfigServer Firewall?/dev/shm is not mounted with the noexec,nosuid options... Finding your php.ini To find your php.ini file all you need to do is enter the following command into your SSH... Install Dos Deflate To install Dos Deflate do the following:wget http://www.inetbase.com/scripts/ddos/install.shchmod... Block IP ranges on CSF? OK, so you wish to block a IP range from your server using cPanel/WHM.We've always recommended... Yum Commands A few YUM commands you can use for SSH. yum check-update - (Allows you to check to see...
« 返回
  • 聯絡我們
  • 服務條款

版權所有 © 2026 PAMIR WEB HOSTING LLC。版權所有。


載入中...
載入中...
語言
العربية
Azerbaijani
Català
中文
Hrvatski
Čeština
Dansk
Nederlands
English
Estonian
Persian
Français
Deutsch
עברית
Magyar
Italiano
Macedonian
Norwegian
Português
Português
Română
Русский
Español
Svenska
Türkçe
Українська

選擇貨幣別

$ USD
AFN AFN

產生密碼

請輸入 8 至 64 之間的數字來做為密碼長度