User Tools

Site Tools


vps_-_debian

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
vps_-_debian [2021/04/02 09:12] – [rsyslogd] hc9vps_-_debian [2021/04/02 18:34] – [Software and Distribution Updating] hc9
Line 128: Line 128:
 Load rules (now): Load rules (now):
  
-  # iptables -F +<file config now> 
-  # iptables-restore < /etc/firewall+# iptables -F 
 +# iptables-restore < /etc/firewall 
 +</file>
  
 Load rules (boot): Load rules (boot):
  
-  # vi /etc/network/if-pre-up.d/firewall+<file config boot> 
 +# vi /etc/network/if-pre-up.d/firewall
  
-  #!/bin/sh +#!/bin/sh 
-  /sbin/iptables-restore < /etc/firewall+/sbin/iptables-restore < /etc/firewall 
 + 
 +# chmod 755 /etc/network/if-pre-up.d/firewall 
 +</file>
  
-  # chmod 755 /etc/network/if-pre-up.d/firewall 
  
 ===== Software and Distribution Updating ===== ===== Software and Distribution Updating =====
Line 144: Line 149:
 To update your system, run the following commands: To update your system, run the following commands:
  
-  * apt-get update +  * apt-get update <code> apt-get update 
-  * apt-get dist-upgrade -y+</code> 
 +  * apt-get dist-upgrade -y <code> apt-get dist-upgrade -y 
 +</code>
  
 ===== Reducing Memory Usage ===== ===== Reducing Memory Usage =====
Line 253: Line 260:
  
 ---- ----
-$Id: VPS_Debian.html,v 1.19 2018/02/22 02:06:34 slugmax Exp $+$Id: VPS_Debian.html,v 1.19 2018/02/22 02:06:34 slugmax Exp $ [[http://sdf.org/?tutorials/VPS_Debian|Debian on SDF VPS]] - traditional link (using [[wp>Revision_Control_System|RCS]]) 
  
vps_-_debian.txt · Last modified: 2021/04/02 18:51 by hc9