PAMIR WEB HOSTING LLC
Login
PAMIR WEB HOSTING LLC PAMIR WEB HOSTING LLC
Login Register
  • Home
  • Store
  • Announcements
  • Knowledgebase
  • Network Status
  • Affiliates
  • Contact Us
العربية 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 Print

  • 4

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


Was this answer helpful?

Related Articles

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... Installing ImageMagick To install ImageMagick to your VPS you just do: yum install ImageMagickyum install... Install FFmpeg, Mplayer automatically Install FFmpeg, Mplayer, Mencoder, FFmpeg-PHP on CentOS 5.x automaticallyAll you need to do... Installing LogWatch To install LogWatch log into SSH, type in yum install logwatch and then use the...
« Back
  • Contact Us
  • Terms of Service

Copyright © 2026 PAMIR WEB HOSTING LLC. All Rights Reserved.


Loading...
Loading...
Choose language
العربية
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
Українська

Choose Currency

$ USD
AFN AFN

Generate Password

Please enter a number between 8 and 64 for the password length