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
vps_-_debian [2021/04/02 18:34] – [Software and Distribution Updating] hc9vps_-_debian [2021/04/02 18:51] (current) – [Networking] hc9
Line 40: Line 40:
 //Note: For VPS installations of Debian 8.4 (jesse) on VPS3, please omit the above dns-nameservers line from the interfaces file, and instead add this line to //**/etc/resolv.conf**: //Note: For VPS installations of Debian 8.4 (jesse) on VPS3, please omit the above dns-nameservers line from the interfaces file, and instead add this line to //**/etc/resolv.conf**:
  
-  nameserver 205.166.94.20+<file config /etc/resolv.conf> 
 +nameserver 205.166.94.20 
 +</file>
  
 Add this to /etc/hosts: Add this to /etc/hosts:
Line 162: Line 164:
 You might not need one or both of those, so you can deactivate them with You might not need one or both of those, so you can deactivate them with
  
 +<file config cron and at>
   # update-rc.d -f atd remove   # update-rc.d -f atd remove
   # update-rc.d -f cron remove   # update-rc.d -f cron remove
 +</file>
  
 This frees up ca. 7MB (if both are deactivated). This frees up ca. 7MB (if both are deactivated).
Line 171: Line 175:
 This being a virtual system, you won't need getty on tty1-6. In order to eliminate them, edit /etc/inittab and modify the corresponding lines like this: This being a virtual system, you won't need getty on tty1-6. In order to eliminate them, edit /etc/inittab and modify the corresponding lines like this:
  
-<code>+<file config /etc/inittab>
   co:2345:respawn:/sbin/getty hvc0 9600 linux   co:2345:respawn:/sbin/getty hvc0 9600 linux
  
Line 180: Line 184:
   #5:23:respawn:/sbin/getty 38400 tty5   #5:23:respawn:/sbin/getty 38400 tty5
   #6:23:respawn:/sbin/getty 38400 tty6   #6:23:respawn:/sbin/getty 38400 tty6
-</code>+</file>
  
 You need to keep the line with hvc0 so you can attach a serial console from vps.sdf.org to your vps. This frees up ca. 10MB. You need to keep the line with hvc0 so you can attach a serial console from vps.sdf.org to your vps. This frees up ca. 10MB.
Line 188: Line 192:
 rsyslogd eats a lot of memory by default (26MB on my vps) which can be reduced by the usage of ulimit. Edit /etc/init.d/rsyslog and include the following line just before the command where rsyslogd will be started: rsyslogd eats a lot of memory by default (26MB on my vps) which can be reduced by the usage of ulimit. Edit /etc/init.d/rsyslog and include the following line just before the command where rsyslogd will be started:
  
-  ulimit -s 256+<file config /etc/init.d/rsyslog> 
 +ulimit -s 256 
 +</file>
  
 Example: Example:
vps_-_debian.1617388474.txt.gz · Last modified: 2021/04/02 18:34 by hc9