If you have a FTP backup space for your vserver or dedicated server, tartarus is a great tool to create and crypt your backups.
This is my method to backup my Hetzner server
Install tartarus on Debian squeeze: (works on ubuntu too)
Continue reading ‘Create Backups with tartarus’
I have a tiny embedded server (acrosser model) Intel Celeron with only 400MHz and 512MB Mem total. Before I upgraded debian to squeeze I used Xen, now its time to use OpenVZ.
- My tiny hardware:)
- Container virtualization – I can use more virtual machines
- Less memory usage – Container cannot boot
OpenVZ kernel and the vzctl and vzquota packages are available in the Debian repositories, so we can install them as follows:
Continue reading ‘Debian squeeze install OpenVZ’
While trying to start or stop MySQL I get:
Access denied for user 'debian-sys-maint'@'localhost' (using password: YES)
Dabian has a own way to login to the MySQL database the credantials are listed in a file:
user = debian-sys-maint
password = bodCNLUx0GGYm6F
GRANT ALL PRIVILEGES ON *.* TO 'debian-sys-maint'@'localhost' IDENTIFIED BY 'bodCNLUx0GGYm6F' WITH GRANT OPTION;
By the way set a new root passwort:
mysqladmin -u root password 'new-password'
PHP-FPM (FastCGI Process Manager) is a great alternative PHP FastCGI implementation with some additional features useful for sites of any size, especially busier sites.
Add source for php5-fpm:
deb http://packages.dotdeb.org stable all
Continue reading ‘Apache2 and php5-fpm combination’
Manpages are great!
Disable ssh login:
usermod -s /bin/false username
Change home directory:
usermod -d /home/users/newpath/ username