mysql linux startup script

As independent Linux consultant, many of my clients are interested in making your VPS (Virtual Private Server) respond best. VPS servers since, by nature, have somewhat limited resources of the system (often less than 1 GB of RAM), best performance of VPS may be a crucial part of running a successful server. To worsen things, most customers assume that the host VPS has optimized the server, which is simply not true (including Rackspace, a number of VPS wonderful, does not). So I wrote this article as a brief introduction to some of the most common ways to obtain the best performance of a VPS.

Tip # 1: Disable system services
The way in principle to increase the performance of your VPS is to disable any system services that are not necessary. Services that are never used even using valuable RAM and CPU time, and possibly also allows your server to be attacked remotely. If you do not need these services, why them? Manage startup scripts to start services at startup, and disable them.

Tip # 2: Configure MySQL properly.
One of the most common forms to increase the available RAM (or allocate more RAM for MySQL) is to set the cache size of MySQL. If the instance of the MySQL server is using too much memory, low cache sizes. Similarly, if MySQL gets bogged down with requests large increase cache MySQL.

Council # 3: Setting up Apache correctly.
With Apache 2.0, many system administrators and customers alike are confused as to the proper configuration of the threads Apache working. Check how much memory you are using Apache, and adjust the StartServers MinSpareServers and directives as necessary to free up more memory.

Tip # 4: Clean the modules!
Without exception, there will be modules or functions that are enabled in the memory of server software packages from hunger (as Apache) that are simply not needed. Check out the Apache configuration files, and decide if you need support for FrontPage, or some other additional modules included with the VPS software packages. Disable unnecessary modules or plugins will decrease the system memory that the server software such as Apache require, that will give more resources for the software you need it!

Tip # 5: Disable control panels.
Let's face it, everyone loves the control panels more popular areas such as Cpanel, Plesk, Webmin and phpMyAdmin. Heck, I've even written tutorials on using some of these software packages control panel. Without But disable these software packages released some resources-sometimes up to 120 MB of RAM! Sometimes the best solution is to disable these control panels until you actually need it, then you can activate through a PHP script (although somewhat insecure), or through a command entered in a shell.

These 5 tips to be passing the amount of RAM your VPS uses up to 30-40%, which could save some money each month. Like most providers start their VPS plans on systems with 256MB of RAM (and there upgrades are expensive, often costing $ 40/month for an additional period of 256 MB), the optimization of a server VPS is a crucial step. Moreover, these 5 tips can be performed by a system administrator or consultant of talent in general, less than two hours, which may mean a return investment after billing cycles only two or three. What you do with the extra money saved is your business, you've earned it!

how to make a wow private server 3.2.2

Leave a Reply