I have a few servers where DirectAdmin is used as the control panel and it seems that Uebimiau (or T-dah) is used as default webmail client. Unlike other e-mail clients Uebimiau will download your e-mail messages like a local mail client and stores them in Uebimiau directories. That will say if you need to check your mail from some other computer using Uebimiau as web mail client, you can’t download them again on your “regular” computer using Outlook for example. Continue reading How-to restore email messages from Uebimiau or T-dah webmail
Category: Tutorials
While configuring my own (web) servers or other stuff, I use this section to write down the steps I’ve followed. Note, all instructions on this site are based on my own (Linux) configuration and it’s possible that it doesn’t work in your situation. Please don’t blame me if something is broken afterwards.
Do you work in the cloud? By using Google Apps you can use your e-mail, calendar and docs online from every PC with an internet connection. Read here how-to use Spanning Backup for Google Apps for the best redundant solution.
Download, extract and move a tar.gz file
Downloading some script or application using WGET is a common an quick way to start some web application or website. In my case I can’t remember me parameters I don’t use very often.
For example we like to install WordPress right into our public_html directory (not into a sub-directory), move to the website’s root directory first:
# cd /home/username/public_html/
Download the application from the WordPress website: Continue reading Download, extract and move a tar.gz file
Optimize your MySQL Server with MySQLTuner
Login to your server’s console and download MySQLTuner (I use my user’s home directory)
wget https://raw.githubusercontent.com/major/MySQLTuner-perl/master/mysqltuner.pl
Optional
If you don’t like to enter the user details for every test it’s possible to create a .my.cnf file in the same directory and add a mysql admin user to access your database
Use this kind of settings:
[client] user=mysqladminuser password=dbpassword
How-to install eAccelerator?
I’m using eAccelerator on two servers now, for both I’m using DirectAdmin as control panel. One is based on Ubuntu and the other one is running on Cent-OS.
Download eAccelerator from their website and follow their instructions (you need root access to install eAccelerator and it’s required to install php5-dev tools first):
wget http://bart.eaccelerator.net/source/0.9.6.1/eaccelerator-0.9.6.1.tar.bz2 tar xjvf eaccelerator-0.9.6.1.tar.bz2 cd eaccelerator-0.9.6.1 phpize ./configure --with-php-config=/usr/local/php5/bin/php-config make
The “–with-php-config” setting is maybe not necessary, check your server for the right location.
It might be possible that you need to install the PHP dev tools first (yum install php-devel (Cent-OS or apt-get install php-dev) Continue reading How-to install eAccelerator?
Introduction to MySQL Joins
MySQL joins simply takes two tables and joins them together using one or more common values which they both share. For example if you had a table users and a table posts and you wanted to get all posts by a certain user you could use a query to get all posts where posts.userid = users.user_id. Continue reading Introduction to MySQL Joins