Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
tutorials:vps_debian [2011/04/30 15:01] – created clemenstutorials:vps_debian [2012/01/16 02:01] memnon
Line 24: Line 24:
 It is a good habit to create a regular user account for working, using "su" to obtain root privileges as needed. To create a regular user account: It is a good habit to create a regular user account for working, using "su" to obtain root privileges as needed. To create a regular user account:
  
-  useradd -m &lt;username&gt;+  useradd -m <username>
  
 This user will be able to perform administrative tasks by runing "su" to obtain superuser privileges using the root password. This user will be able to perform administrative tasks by runing "su" to obtain superuser privileges using the root password.
Line 97: Line 97:
 Disable IPv6: Disable IPv6:
  
-  # echo "blacklist ipv6" &gt;&gt; /etc/modprobe.d/blacklist+  # echo "blacklist ipv6" >> /etc/modprobe.d/blacklist
  
 Edit rules: Edit rules:
Line 128: Line 128:
  
   # iptables -F   # iptables -F
-  # iptables-restore &lt; /etc/firewall+  # iptables-restore /etc/firewall
  
 Load rules (boot): Load rules (boot):
Line 135: Line 135:
  
   #!/bin/sh   #!/bin/sh
-  /sbin/iptables-restore &lt; /etc/firewall+  /sbin/iptables-restore /etc/firewall
  
   # chmod 755 /etc/network/if-pre-up.d/firewall   # chmod 755 /etc/network/if-pre-up.d/firewall