Best methods to Improve Linux's server performance?

David Beroff

Well-known member
Registered
Joined
Jun 14, 2016
Messages
1,498
Points
63
I am having a server 16GB of RAM, installed DA control panel and using Centos 7 running under Linux OS. Can anyone tell me what are the best methods to improve Linux's server performance and helping my websites running faster?
 

Fusion Arc Hosting

Well-known member
Hosting Provider
Registered
Joined
Oct 25, 2017
Messages
136
Points
18
Hi David,

Thank you for your great question. Awesome to hear about your new server setup!

As per your question to improve the Linux server performance specifically to run a faster website I would make sure the server is SSD storage based as an SSD storage method will drastically improve your website and servers IO performance. I would also make sure the 16GB is enough for your website if it seems like the server is using most of that RAM I would have that upgraded to prevent slow downs or even downtime.

As per specifically boosting your websites performance I would install and configure the following software:
* Litespeed Web Server
* If it is a CMS website like (Wordpress) I would install a cache software and if you do run Litespeed please note a free cache plugin is available
* Enable http/3 protocol & QUIC
* Minimize image size via compression
* Try to not use many redirects in the website as that will increase the first byte time
* Ensure enough bandwidth is available for your server (This most likely is already done by your hosting provider)
* Enable Gzip compression on the server (Please note this may use more RAM and or CPU power) but will increase website loading speed
* Defer parsing of JavaScript
* Leverage browser caching
* Specify a cache validator
* Serve scaled images
* Minify your CSS
* Minify your html
* Minify your Javascript
* Use a CDN service like Cloudflare
* Enable Keep Alive
* Make sure you have DDOS protection



Please I can't stress this enough make a backup for your current website or entire server before making any of these changes as in a bad situation you are good to go :).

If you can please post your website address so I can see on my end what can be done to boost it up happy to share my thoughts.

Thanks!

Mario Cano | Fusion Arc Hosting

Linux Systems Administrator
 
Last edited by a moderator:

ProResellerHost_Jack

Member
Registered
Joined
Sep 11, 2020
Messages
33
Points
6
ProResellerHost_Jack
Please I can't stress this enough make a backup for your current website or entire server before making any of these changes as in a bad situation you are good to go
Please, please, please.... make sure you do this.
While some/most web hosts have backups, often, these are only done on a daily basis ... which may not have your most recent updates to your website.
So before you go trying to mess with any caching plugins, make a backup of your site so you don't lose anything valuable.

I would recommend that you also research each option for caching and minifying that you are interested in and understand how they work, prior to implementing them.
Doing so without research may yield a broken website.

Also, if you having caching plugins or CDN's setup, after any changes to the site or any posts, you may want to clear the caches for your caching plugins and any CDN's. Otherwise, you may be caching incorrect versions of the site or non-existent resources.
 

coolhandle

Well-known member
Registered
Joined
Nov 13, 2019
Messages
92
Points
6
Linux VPS is used broadly by numerous online business owners and website developers nowadays. While in the past the choices had been limited to just share server or dedicated server, VPS at present is widely used. VPS deals all the advantage of a dedicated server without the high prices that typically come with a dedicated server. You would be able to enjoy better flexibility, control and performance with this new type of hosting service.


Configure MySQl the Right Way

Additional way to increase the performance and available RAM is to organize the right cache size for MySQL. If your server instance uses up a lot of space then install a smaller size and if it cannot handle large requests you can increase the cache size for best results.


Configure Apache the Right Way

For your Linux VPS, configuring Apache the correct way is essential. Check the amount of memory that is used by Apache and then adjust the MinSpareServers and StartServers directives allowing to your needs. This would allow you to have more memory.

Growing the performance of your server is actually not very challenging as long as you know how much space is taken up by what programs, features and modules. By inactivating anything that you are not using currently, you will be able to effortlessly increase the performance of your Linux VPS.
 

fiz

Well-known member
Hosting Provider
Registered
Joined
Aug 6, 2020
Messages
116
Points
16
This is a very vague question. It is very obvious that you have to optimize everything you are running on the server for its best performance. Like Apache, Mysql, etc.
For websites, you need to optimize them as well for their best performance like implementing better cache techniques. minifying etc
 

David Beroff

Well-known member
Registered
Joined
Jun 14, 2016
Messages
1,498
Points
63
David Beroff
I know there are more factors need to be optimized but I only want to know what main factors need to be prior?
 

fiz

Well-known member
Hosting Provider
Registered
Joined
Aug 6, 2020
Messages
116
Points
16
fiz
That's the point. Everything counts.
But for a start you should be doing server level optimizations and then website level.
Optimizations may vary as per the technologies you are using. There is paid OS and Web server out there as well as free ones. It depends on what do you want to use. Based on that you do the websites optimization. So my point is everything is linked and matters.
 

BlueAngelHost

New member
Registered
Joined
Oct 2, 2020
Messages
3
Points
1
it entirely depend on what kind of project you will be hosting on a Linux server, server configuration and optimization aspects will vary depending on the nature of the website, amount of traffic, or kind of project you will be doing on it.
for example is it a web server or VPN server or node server or storage server or streaming server.
 

Jeff Martin

Active member
Registered
Joined
Oct 30, 2019
Messages
78
Points
8
If you are preparing to structure your own individual website and desire to get a rapid online existence, you must choose a trustworthy web host and a hosting environment. There are positive things which must be deliberate while selecting a hosting platform. If you ask me, in terms of safety which platform is the greatest? I would recommend you to go with a Linux built hosting package.

To advance Linux ‘server performance, you must inactivate all the features that you do not need. Eliminate plug-ins, modules and any features that you might not be using presently. When you inactivate the plugins or the modules that you don't want, it would spontaneously decline the memory that the server wants for software like Apache. It would deliver you more resources for software that you need more and would use more often.

One of the top ways to make your server approachable is to inactivate your system services that are used unreasonably. The services that are not used will consume a lot of CPU space and RAM and will also make the server unsafe. If you follow these simple tips, your Linux VPS would work more excellently, quicker and would be more responsive.

There are many Linux based web hosting packages available in the web hosting industry that deals great features, fast and secure servers such as Personal Hosting Package, which is a perfect solution for setting up a personal websites.
 
Latest Threads

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top