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)
[Read more…]
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)
[Read more…]
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.
Reasons:
– 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:
[Read more…]
While trying to start or stop MySQL I get:
1 | Access denied for user 'debian-sys-maint'@'localhost' (using password: YES) |
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:
1 2 3 4 | cat /etc/mysql/debian.cnf [...] user = debian-sys-maint password = bodCNLUx0GGYm6F |
cat /etc/mysql/debian.cnf [...] user = debian-sys-maint password = bodCNLUx0GGYm6F
Logon:
1 | mysql -u root -p |
mysql -u root -p
Execute:
1 | GRANT ALL PRIVILEGES ON *.* TO 'debian-sys-maint'@'localhost' IDENTIFIED BY 'bodCNLUx0GGYm6F' WITH GRANT OPTION; |
GRANT ALL PRIVILEGES ON *.* TO 'debian-sys-maint'@'localhost' IDENTIFIED BY 'bodCNLUx0GGYm6F' WITH GRANT OPTION;
By the way set a new root passwort:
1 | mysqladmin -u root password 'new-password' |
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.
1 | vim /etc/apt/sources.list |
vim /etc/apt/sources.list
Add source for php5-fpm:
1 2 | # PHP-FPM deb http://packages.dotdeb.org stable all |
# PHP-FPM deb http://packages.dotdeb.org stable all