Last active
January 16, 2016 18:03
-
-
Save errogaht/b0d87ee24570865588ee to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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