Quickly optimize your new LEB
Will remove some unused services:
apt-get update apt-get -y upgrade apt-get -y install nano localepurge dropbear service saslauthd stop service sendmail stop service bind stop service apache2 stop service xinetd stop service samba stop service bind9 stop update-rc.d saslauthd remove update-rc.d sendmail remove update-rc.d bind remove update-rc.d apache2 remove update-rc.d xinetd remove update-rc.d samba remove update-rc.d bind9 remove update-rc.d sshd remove service sshd stop update-rc.d ssh remove service ssh stop Edit: nano /etc/default/dropbear change NO_START=0 to 1 service dropbear start REBOOT: free -m total used free shared buffers cached Mem: 32 28 3 0 0 26 -/+ buffers/cache: 2 29 Swap: 32 0 31
You're welcome.
Referral links: DigitalOcean referral link
Tagged:
Comments
haha, the 32mb VPS challenge.
And if you remove the cron, maybe you can get something better... and syslog, I dont know if you need syslog on these machines.
Optimizy!
@netomx I still remember when you forced me to manually install centos on my debian test machine 4-5 months ago and now you are all peace and love with debian :-)
And give suggestion on how to run it in 32M! You're a man now!
:P
Thats only file system optimazation though. You can also optimize the CPU with
If we use Debian 6 32 bit :
@gsrdgrdghd thats just evil..
I used Debian 6 32bit. @prometeus i know :( hahaha
apt-get install syslog-ng, much less RAM than normal syslog.
Need free hosting? Get AFreeCloud
Someone willing to explain this one to me?
Check my blog for more cool *nix tips & tricks!
@gsrdgrdghd: Since when are fork bombs considered as optimization? ;) @djvdorp: It's a 'fork bomb'... http://en.wikipedia.org/wiki/Forkbomb
Community Rules | Rules for selling | LET Support Desk
"Actually, throughout my life, my two greatest assets have been mental stability and being, like, really smart."
Since @breton 's code removed root (i suppose) :P
@gsrdgrdghd: Valid point! ;-)
Community Rules | Rules for selling | LET Support Desk
"Actually, throughout my life, my two greatest assets have been mental stability and being, like, really smart."
great a 2mb system that does nothing weeeeee
@eranwanArifNugroho
I was using 2mb with the last syslog :(
Well, that is just to lower the RAM - you can try not to use rsync, apache2, whatever :)
https://github.com/maxexcloo/Minimal
I hate you :(
Will the Minimal works with OpenVZ without error?
Yeap
It is like my work, BUT, look the disk space =0 !
I should install localepurge then, to preserve space with new packages ;)
4 hours late
CentOS please.
Proud member of the VPS Collectors Club
Yiak centos u_u
Thank you LET! Today I learned about forkbomb :)
marked && testing
Do...dudu
+1
Get Free USD10 in DigitalOcean credit https://www.digitalocean.com/?refcode=c224f768eb1c
Check my blog for more cool *nix tips & tricks!
that conversion to svg failed
@djvdorp why?
at my point of view, it is easier to upgrade on debian... I managed CentOS 5 several years ago and never feel so good of it...
I prefer debian myself. But i was pretty much trolling with memes as buyvm guys arent here ;)
Check my blog for more cool *nix tips & tricks!
32M box from IPXCore
Do...dudu
@huluwa how were you able to drop disk usage to 312mb? mine is 480mb after installing debian 6.
Twitter Bootstrap Themes for your software projects. I recommend Prometeus and Catalyst Host
I also have the same question... Maybe, logs, or removal of some bulk?
Security Consultant
I removed many others:
Do...dudu
Read the full thread
@jcaleb
EDIT: Used the minimal.sh script from Maxexcloo... https://github.com/maxexcloo/Minimal
Security Consultant
Filesystem Size Used Avail Use% Mounted on /dev/simfs 2.0G 183M 1.9G 9% / tmpfs 16M 0 16M 0% /lib/init/rw tmpfs 16M 0 16M 0% /dev/shm
So d**m small!
Do...dudu
thanks! thats a big help!
Twitter Bootstrap Themes for your software projects. I recommend Prometeus and Catalyst Host
You guys just aren't trying hard enough :) 2/3MB RAM usage and 85MB disk for a fully updated Debian 6 build (Sticking to SSHD and BASH as well)
https://www.thriftydevil.com.au/technology/minimizing-debian-for-openvz
Checkout my blog. I review VPS providers and mess around with Debian and FreeBSD!
Yes, but you don't mention how to achieve it...
no consolidated script =(
Twitter Bootstrap Themes for your software projects. I recommend Prometeus and Catalyst Host
Yep But I am afraid this implies removing files at hand, which isn't the best idea always. Sounds cool, but...
i can live with 180mb from maxexcloo, with script i understand.
Twitter Bootstrap Themes for your software projects. I recommend Prometeus and Catalyst Host
I don't get why people post "oh my, I minimized debian so much", but don't provide how they even did it.
[email protected]: ~$ _
It just involved removing some of the locales and a few parts of the docs (the same copyright message repeated 100 times!) etc. I'll write something in more detailed later, but rather than running the scripts blindly, you guys should be looking at what each command does anyway... That way you can combine all of the guides online.
Checkout my blog. I review VPS providers and mess around with Debian and FreeBSD!
I got powerdns and MySQL backend running on my 32MB IPXcore VPS. Works fine. :-)
Running CentOS btw.
Hooray people like my script :) Just FYI, Minimal is depreciated, I'd recommend Minstall instead (will have automated install soon)!
Can you add support for Ubuntu ?