Skip to content

Instantly share code, notes, and snippets.

@errogaht
Last active January 16, 2016 18:03
Show Gist options
  • Save errogaht/b0d87ee24570865588ee to your computer and use it in GitHub Desktop.
Save errogaht/b0d87ee24570865588ee to your computer and use it in GitHub Desktop.
#COMMON
sudo apt-get install htop software-properties-common git mc nano gcc make supervisor -y
cat ~/.ssh/id_rsa.pub | ssh user@host "cat >> ~/.ssh/authorized_keys"
#LOCALE
#=====================================================================#
locale -a
sudo dpkg-reconfigure locales
sudo locale-gen ru_RU
sudo locale-gen ru_RU.UTF-8
sudo update-locale
#MYSQL
#=====================================================================#
# restore
mysql -u root -p [database_name] < dumpfilename.sql
#make backup
mysqldump -u root -p sugarcrm > sugarcrm.sql
#ARCHIVE
#=====================================================================#
#uncompress bz2
bzip2 -d filename.bz2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment