Tag: ubuntu | Tutorial Depot

Optimize Apache and MySQL for a 256MB VPS

September 1, 2011 at 7:09 am Tags: | | | |

For small websites or not so popular WordPress blogs a small VPS with only 256MB of RAM should be enough. If you’ve followed this guide to install a Ubuntu web server you need to optimize your server a little bit.

Start installing MySQLtuner

Download the Perl script to your (admin) home directory:


wget http://mysqltuner.pl/mysqltuner.pl

Create also a file nano .my.cnf and add this code:


[client]
user=someusername
pass=thatuserspassword

After running MySQLtuner script perl mysqltuner.pl you should get this warning:

Reduce your overall MySQL memory footprint for system stability

To resolve this an other memory related issues we need to optimize the MySQL database settings. Read More…

Change Ubuntu 11 scrollbars back to the old style

July 20, 2011 at 7:53 am Tags: |

superuser.comPretty annoying those “new” scrollbars in Ubuntu 11. Better was if they become a part of theme you’re running. But instead you need to remove them from your Ubuntu 11 system using apt-get. The answer which is marked as “best answer” works like a charm, just run the command, enter your password and the nasty scrollbars are gone!

Source…

How-to install AWStats on your Ubuntu Web Server

July 13, 2011 at 12:59 pm Tags: | |

help.ubuntu.comGreat how-to article which works “out of the box”. I used the instructions for my Ubuntu server with several virtual hosts. There is on point with a tiny problem: At the end they say that you need to use “config=yourdomain.ext” if you have multiple config files. According the article you need to create a config file for each host and you get access to the stats report using the virtual host. Seems to me that this QS value is not needed.

Source…

Ubuntu run PHP 5.2 and 5.3 together

June 9, 2011 at 6:23 am Tags: | |

webpagedeveloper.meGreat tutorial! It works for 95% on my Ubuntu 11.04 machine, will say I needed to add a symbolic link for the jpeg/png libs (check http://pastebin.com/bh87r5Lw). I used php5.3 in cgi mode and for this example I needed to switch to the php apache module first. I replaced also “–with-jpeg ” width “–with-png-dir ” (this value doesn’t exists and the png lib was missing).

Source…

Install Subversion with Web Access on Ubuntu

June 6, 2011 at 9:29 am Tags: | |

www.howtogeek.comGreat tutorial for a basic setup of SVN on Ubuntu. Works like described, tested on Ubuntu 11.04. Thanks and kudos for the author!

Source…

Install MicroSoft fonts on Ubuntu

June 6, 2011 at 9:09 am Tags: | |

www.spotht.comUbuntu offers already a great tool which installs the “default” fonts like “Arial” on you computer. This tutorial will show you how-to install the VISTA fonts too. Follow the steps and get the most important MicroSoft fonts for your Ubuntu machine

Source…

Page 1 of 212