If you accidentally lost the /etc/mysql/debian.cnf file, you can simply run:
1 | dpkg-reconfigure mysql-server-5.0 |
Or the equivalent, e.g.:…
1 2 | adduser youruser sudo passwd -l root |
…
- (optional) under xubuntu – install seahorse
- generate gpg key
- publish key: hkp://keyserver.ubuntu.com
1 2 3 4 5 6 7 8 9 10 11 12 | btrfs fi resize -400G /mnt/btrfs umount /mnt/btrfs parted /dev/sda # inside the parted console # print rm 4 mkpart primary btrfs (lower than minimum)GB newsizeGB # closest: Yes # align: Ignore quit mount /mnt/btrfs btrfs filesystem resize max /mnt/btrfs |
…
1 2 3 4 | apt-get install smartmontools smartctl -t long /dev/sda # start test smartctl -a /dev/sda # display results |
…
If you have a postgres database in a specific locale, you’ll need to install it on the server for it to work properly.…
I used the 3.8 kernel on Ubuntu Server and after a crash I couldn’t boot anymore.…
1 2 3 4 5 6 | iptables -I INPUT -p tcp –dport 1022 -j ACCEPT apt-get install update-manager-core do-release-upgrade -d -f DistUpgradeViewNonInteractive #(do the last cmd as many times as it takes to upgrade to the latest one) |
Source: http://askubuntu.com/questions/250733/can-i-do-a-silent-or-unattended-release-upgrade…