Just want to note that this article does not claim credibility - I did everything for the first time on a remote Linux machine.Accordingly, I ask you not to kick too much, but rather to make comments - how something could be done differently, or tips on tuning.All of the following was done on manuals from Google.
So, I got a tiny VDS from FirstVDS - with Debian and ISPManager. Attempts to optimize its work resulted in the following: ')
1. Apache Optimization and Nginx Installation 2. Install eAccelerator
Well, for the soul -
3. Install SVN 4. Install Trac.
1. The apage has already been installed, and I think that how to install it - it makes no sense to describe it - this is already truism. I want to pay attention only to the fact that there is a tricky posting in Debian - / etc / apache2 /
apache2.conf is the main config file envvars - environment mods-available - here are pointers for all possible moduday to install ports.conf - pointer - where and what to listen sites-enabled - descriptions of existing and included sites conf.d - folder for other configs, such as PhpMyAdmin, didn’t even do anything in it, just looked httpd.conf - empty file for user configs mods-enabled - enabled modules, links to files from mod-availible sites-available - possible sites (descriptions)
Accordingly, looking at it, I told the system - apt-get update apt-get install nginx
And in a few minutes I had nginx installed and running.
The next step is going to ports.conf, and changing there Listen 80
on
Listen 127.0.0.1:8080
- that is, we translate Apache into backend mode, roughly speaking.
Then you need to change all the registered sites. ISPManager for some reason did not begin to register sites in sites-availible and sites-enabled, but directly stuffed them in apache2.conf
Somehow. The actual port and ip change to the one specified in Listen
Next we go to / etc / nginx /, and rule nginx.conf Nginx did everything the main thing for me during the installation, it only remains for me to register the hosts
Fully following the instructions with HowToForge , installed without problems. I will rewrite it in my own words.
First of all - control shot
apt-get install build-essential php5-dev
We download eAccelerator itself (when it was installed - the version was fresher than on HowToForge - 9.5.3)
cd /tmp wget bart.eaccelerator.net/source/0.9.5.2/eaccelerator-0.9.5.3.tar.bz2 tar xvfj eaccelerator-0.9.5.3.tar.bz2 cd eaccelerator-0.9.5.3 phpize # !!=) ./configure make make install
If everything was done correctly, phpinfo output should look something like this.
Not to say that after all these actions Wordpress I flew aki falcon - but slowed down noticeably less.
He spat on optimization, decided to postpone the transfer to “After Vacation”, and decided to set up SVN + Trac for the soul - there was a lot more fuss about it)