Last active
December 17, 2017 11:12
-
-
Save empeje/94f137ff7ba8ae2dad9df591e7ed1349 to your computer and use it in GitHub Desktop.
[SNIPPET-16] Ubuntu Linux Command for Most Dabases
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
sudo apt-get install redis-server | |
sudo /etc/init.d/redis-server restart | |
neo4j start | |
neo4j status | |
sudo apt-get install mongodb-server | |
sudo apt-get install mongodb-clients | |
killall mongod | |
cd ~ | |
mkdir mongo-data | |
mongod --dbpath ~/mongo-data | |
sudo apt-get install redis-server | |
sudo /etc/init.d/redis-server restart | |
redis-cli | |
sudo debconf-set-selections <<< 'mysql-server-5.5 mysql-server/root_password password rootpass' | |
sudo debconf-set-selections <<< 'mysql-server-5.5 mysql-server/root_password_again password rootpass' | |
sudo apt-get -y install mysql-server | |
sudo service mysql restart | |
mysql -u root -p |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment