Building 32MB.ORG Pt. 1: Preparing the Box
Posted July 1, 2012, 2:27 am in How To
IPXCore doesn't provide a Debian 6 minimal install on their SolusVM control panel. So, I have to remove several process that considered "not-needed". After updating and upgrading,
apt-get update && apt-get -y upgrade and installing Nano, Localpurge and Dropbear apt-get -y install nano localepurge dropbear I removed following process:
/etc/init.d/saslauthd stop /etc/init.d/apache2 stop /etc/init.d/xinetd stop /etc/init.d/samba stop /etc/init.d/bind9 stop /etc/init.d/ssh stopand prevent them to run on restart/start-up:
update-rc.d saslauthd remove update-rc.d apache2 remove update-rc.d xinetd remove update-rc.d samba remove update-rc.d bind9 remove update-rc.d ssh removeStart Dropbear as a replacement for OpenSSH, make it running by default by changing its config:
nano /etc/default/dropbearset NO_START=1 to NO_START=0 and add some config for security, change the port and prevent root login:
# disabled because OpenSSH is installed change to NO_START=0 to enable Dropbear NO_START=1 ;change to 0 # the TCP port that Dropbear listens on DROPBEAR_PORT=22 ;change to whatever port you want # any additional arguments for Dropbear DROPBEAR_EXTRA_ARGS="" ;add -w to prevent root loginYou can also replace Syslog by Syslog-ng:
/etc/init.d/syslog stop update-rc.d syslog remove apt-get install -y syslog-ng
After reboot you will have a box running by (not more than) 10MB RAM.
Done for now, next post will be installing Lighttpd, PHP, and SQLite, and then Blite! itself.
- Cookies must be enabled to post comments.
- Allowed HTML tags: <b>, <a>, <i>, <pre>, <code>.
- Use <pre><code> ... </code></pre> to display a raw HTML or PHP code snippet.
- You may edit your comment one time, within 5 minutes of posting.
- blogspam.net is used for spam detection. Comments judged to be spam are reviewed by the administrator and may be published later.




Thanks, Dan. Could you share the tutorial, how to install VPN on 32MB? :)
https://forum.ramhost.us/bbs/viewtopic.php?id=4
The only thing different I had do to was enable TUN/TAP in SolusVM and install iptables 1st: apt-get install iptables
http://ipxcore.com/order/knowledgebase.php?action=displayarticle&id=5
when starting it says permission denied. :(
There's a lot of folks that I think would really appreciate your content. Please let me know. Many thanks
It's okay. :)