Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
1.5g RAM. 4 CPU cores. Unmetered bandwidth. Yea I like to upgrade php but some scripts works with 5.3. So can I maintain both? 5.4 will it improve speed?
You really don't want to be maintaining multiple versions of PHP in a production environment. The main reason for using newer versions of PHP is around the security/bug fix aspect rather than speed. You may find that more RAM will help. Does your VPS provider let you buy incremental add-ons?
My traffic is not much. Less than 10gb month but I need my sites to load very fast
You may find the "slowness" is due to your VPS sharing a common link to the outside world. You can have "unlimited bandwidth" which is really unlimited transfer, depending on your provider you could be sharing a single 100Mb link with any number of servers.
yea but what i'm trying to do here is since this is a new VPS I want to configure the software properly before considering hardware upgrades such as RAM. Do you think I should consider litespeed etc? Is that a difficult process to migrate?
I would run "top" in a putty terminal window and try to figure out where the bottleneck is. Keep it open and load some pages. Is it Apache or PHP processes using the CPU? Or maybe the database? Do you see a high waiting percentage? (Look at the number before %wa). Is it using swap?
Upgrading PHP and Apache doesn't help much. If you have lots of PHP code being included in every page, xcache/APC can help a lot. Changing web-server can help for static pages, but not much if the real problem is a slow backend.
Is it using MySql? The default server settings are very minimal. Increasing things like query_cache_size or key_buffer_size can do wonders.
In short, you have to figure out where the bottleneck is. What kind of software are you using?