Joined June 2013
·

Igor Khomyakov

Russian Federation
·
·
·

Posted to Memory efficient Ubuntu VMs over 1 year ago

Let's go a little bit further.
Let's go a little bit further.

Disable redundant TTYs.

# for i in $(seq 2 6); do echo 'manual' > /etc/init/tty${i}.override; done 

Replace openssh with by a lighter weight SSH Dropbear

# apt-get install dropbear 
# sed -i s'/\(NO_START\)=.*/\1=0/' /etc/default/dropbear
# echo 'manual' > /etc/init/ssh.override

Reboot

Steps above have saved about 6Mb extra on my VM.

Achievements
71 Karma
0 Total ProTip Views