Small memory VPS installation KLOXO simple optimization « Zhaorong Tribe

Small memory VPS installation KLOXO simple optimization

Time: April 19, 2011 Column: VPS Tutorial Author: Zhao Rong Click: 24459 times

 Proprietary computer room/advanced anti DDoS server/advanced anti DDoS VPS/American advanced anti DDoS/Los Angeles VPS/Los Angeles advanced anti DDoS server

I think many friends, like me, can't resist the temptation of low prices and start small memory VPS However, the side effect of low price is low speed, which is inevitable (if you have a choice of low price and high quality, you can share~). Today I will talk about the simple optimization of small memory VPS. Of course, the premise of the discussion is that you install KLOXO Panel. If you select the LNMP installation package, you don't need to look down.

[Optimization I] MySQL optimization

Optimization method:

First enter the/etc directory and edit my.cnf
Command: cd/etc first, then vi my.cnf
Add the following three lines under [mysqld]:
skip-locking
skip-bdb
skip-innodb
Restart MYSQL after saving
Command:/sbin/service mysqld restart
Now use top to see if the memory usage has dropped below 100M?

Function details:
Use the MySQL option of – skip locking to avoid external locking
Load the – skip bdb – skip innodb parameter to avoid memory waste

[Optimization II] Switch Site Programs

Optimization method:

You can see the following two pictures, which are the screenshots before and after switching website programs. The effect of switching to lighttpd is also immediate.

 two billion eleven million forty-two thousand and one

 two billion eleven million forty-two thousand and two

Others There are other optimizations that can also reduce memory consumption. For example, do not load modules that are not required by Apache, and manually modify httpd.conf; There are also djbdns of dns and bogofilter of spam. If they are not needed, they can be directly turned off in the service; There are also some things that are not needed very much: imap, qmail, iptables, etc. If all of them are turned off, it is estimated that the memory can be reduced to about 50.

[Postscript] In fact, these optimization methods I mentioned are only superficial, and the experts can only smile without saying anything. However, the effect of this operation is really obvious. As for the VPS I used in the above figure, 128MB of memory is basically consumed by one KLOXO without optimization. Therefore, optimization is necessary.

 Advanced Defense VPS/Los Angeles Advanced Defense/Advanced Defense Server/20 year old computer room

Statement: Blogs are only for sharing information and are not recommendations. Websites do not participate in transactions and are not intermediaries. The content only represents personal views and is not authoritative. Readers should consider it and take their own risks! Every penny and every commodity is still the eternal truth. Juvenile readers (including physical and psychological) should visit this website with their guardians! This article is written by( Zhao Rong )Original compilation, reprint, please keep the link: Small memory VPS installation KLOXO simple optimization The code is not easy, please do not copy or paste!
About using: This website mainly shares server and VPS information, and does not provide any product sales or purchase. All visitors please purchase and use products within the scope of national laws and regulations. QQ group discussion: 683851361
About safety: Any IDC has the possibility of going bankrupt and running away. The host line is even more uncontrollable. Monthly payment and backup are your best choices. Please keep good and regular backup habits

Small memory VPS installation KLOXO simple optimization: currently there are 13 messages

  1. 6th floor
    Snail Blog :

    Can I install KLOXO with more than 700 memory in my VPS? Is optimization still necessary? thank you.

    2013-05-20 15:43 [Reply]
  2. 5F
    Miduoduo :

    Join skip locking
    skip-bdb
    Failed to restart MySQL after skip inodb

    2012-06-13 10:40 [Reply]
    • Zhao Rong :

      I have been doing this without reporting any mistakes...

      2012-06-13 11:38 [Reply]
      • marcel :

        It's time for you to update this article....
        In the new version of MySQL
        The skip innodb has been changed to loose skip innodb,
        Skip locking is changed to skip external locking,
        The skip bdb parameter has been abolished.

        2014-01-11 14:56 [Reply]
        • Zhao Rong :

          Thank you for your correction.
          However, since this article has been written for nearly three years, and I have hardly used this panel in the last two years, if I update this panel again, the series will be updated.

          2014-01-11 15:06 [Reply]
  3. 4th floor
    Corruption :

    Is there a LuManager server management system that is better than your function? I just bought a VPS, and the merchant installed this control panel for me. I feel uncomfortable using it. It's not as good as Cpanelx. It seems that there are a lot of settings missing. I have never used the KLOXO you mentioned. I don't know that other control panels can be installed on VPS that already have other control panels installed. If I uninstall the existing control panel, will the established website be lost? thank you! Please give me some advice!

    2011-10-02 03:52 [Reply]
    • Zhao Rong :

      CPanel is certainly powerful, but pay attention to its price! Reinstall the panel and back up the data first.

      2011-10-02 07:29 [Reply]
  4. floor
    okfree :

    One more question I forgot!
    Is the effect of installing kloxo in 256 memory of xen and opnz the same?

    2011-09-26 18:32 [Reply]
    • Zhao Rong :

      It certainly looks the same when installed. XEN and OVZ are different in performance. XEN with the same memory is certainly better than OVZ.

      2011-09-26 19:01 [Reply]
  5. Bench
    okfree :

    I just started to learn a little vps recently
    I want to know how large the general memory is. Installing Kloxo panels works better!

    2011-09-26 18:30 [Reply]
    • Zhao Rong :

      No less than 256MB of memory.

      2011-09-26 19:00 [Reply]
  6. sofa
    Mild cold :

    Brother Rong, kloxo has a problem that the WordPress automatic backup plug-in can't be used and can't send emails. At present, I haven't found a solution. It's up to you!

    2011-04-20 05:35 [Reply]
    • Zhao Rong :

      At present, the problem of KLOXO installing WP without sending email has been solved. Please pay attention to the latest blog article!

      2011-04-20 20:53 [Reply]

Comment


 hostyun  locvps

Advertise