Monday, January 17, 2011

Tweaking Kloxo/LxAdmin by replacing bind with tinydns

In my last 2 articles, I explained how you can tweak Kloxo/lxadmin by replacing apache with lighttpd, and disable innodb and bdb, and decrease RAM usage in your server.
How to install Lighttpd in Kloxo (LXadmin)
Tweaking mysql in Kloxo/LxAdmin

By acting on above to suggestions, you can decrease your ram usage from 300MB to 164MB, however in today’s article, I’m going to explain you the way to reduce 100MB more RAM.
[root@mailserver1 ~]# free -m
             total       used       free     shared    buffers     cached
Mem:          2048         164       1989          0          0          0
-/+ buffers/cache:         58       1989
Swap:            0          0          0
Replace bind with tinydns, bind use almost 100MB of RAM in your vps, and replacing it with tinydns, this ram usage will reduce.
Kloxo/lxadmin has a simple way to replace bind with tinydns, and it automatically convert all your websites dns setting.
  1. Login as ‘admin’
  2. Click on the ‘server’
  3. Click on server in which you want to convert apache to lighttpd, for my example it is “local host”
  4. Click on “switch program”
  5. Select “djbdns” from drop down box under “Dns” category
  6. Click on update.
  7. Kloxo (Lxadmin) will take few min to install tinydns and stop bind and to update configuration files.
  8. It will automatically convert settings of all your domains to lighttpd, and you will not have to create domains again.
And you are done
Must read: How to install Lighttpd in Kloxo
12 300x225
22 300x225
32 300x225
42 300x214
Lest check RAM now:
[root@mailserver1 ~]# free -m
             total       used       free     shared    buffers     cached
Mem:          2048         58       1989          0          0          0
-/+ buffers/cache:         58       1989
Swap:            0          0          0
Related posts:

1 comments:

Richdad Phúc said...

I think bin is ok.
Google plus seo

Post a Comment

 
Design by Laikeng | Bloggerized by Storesu - sutoday | Court