Monday, May 13, 2013
Install Heroku client on Linux Mint
$ sudo wget -qO- https://toolbelt.heroku.com/install-ubuntu.sh | sh
Python Pip & Virtualenv install on Linux Mint
this will install virtualenv and pip (but both are likely old versions):
$ sudo apt-get install python-virtualenv
use pip to upgrade itself:
$ sudo pip install pip --upgrade
use pip to upgrade virtualenv:
$ sudo pip install virtualenv --upgrade
$ sudo apt-get install python-virtualenv
use pip to upgrade itself:
$ sudo pip install pip --upgrade
use pip to upgrade virtualenv:
$ sudo pip install virtualenv --upgrade
Install MongoDB on Linux Mint 14
Install MongoDB on Linux Mint 14 or 15 Cinnamon 64 bit
Follow steps on mongoDB page to install mongo.
Configure MongoDB
These packages configure MongoDB using the /etc/mongodb.conf file in conjunction with the control script. You will find the control script is at /etc/init.d/mongodb.
This MongoDB instance will store its data files in the /var/lib/mongodb and its log files in /var/log/mongodb, and run using the mongodb user account.
Starting MongoDB
You can start the mongod process by issuing the following command:
sudo service mongodb start
You can verify that mongod has started successfully by checking the contents of the log file at /var/log/mongodb/mongodb.log.
Stopping MongoDB
As needed, you may stop the mongod process by issuing the following command:
sudo service mongodb stop
Restarting MongoDB
You may restart the mongod process by issuing the following command:
sudo service mongodb restart
Follow steps on mongoDB page to install mongo.
Configure MongoDB
These packages configure MongoDB using the /etc/mongodb.conf file in conjunction with the control script. You will find the control script is at /etc/init.d/mongodb.
This MongoDB instance will store its data files in the /var/lib/mongodb and its log files in /var/log/mongodb, and run using the mongodb user account.
Starting MongoDB
You can start the mongod process by issuing the following command:
sudo service mongodb start
You can verify that mongod has started successfully by checking the contents of the log file at /var/log/mongodb/mongodb.log.
Stopping MongoDB
As needed, you may stop the mongod process by issuing the following command:
sudo service mongodb stop
Restarting MongoDB
You may restart the mongod process by issuing the following command:
sudo service mongodb restart
Upgrading from Linux Mint 13 to 14
- Backup data I care about
- Note packages applied to Mint 13
- Fresh Install of Mint 14
- Restore data
- Install required packages
Best Practices
- Do everything from a script vs. use gui tools.
Add item to Linux Mint start menu and run as Root
Right click start menu icon (lower left)
Select "edit menu"
edit properties of new or existing item
put "gksudo" in front of command that is to be run when item is selected.
This will prompt for root password before the command is run.
Select "edit menu"
edit properties of new or existing item
put "gksudo" in front of command that is to be run when item is selected.
This will prompt for root password before the command is run.
Linux Partition Tool
GParted is a great tool for managing partitions. Works well under Linux Mint.
Wednesday, May 1, 2013
Robomongo - gui admin tool for Mongo
Robomongo is a GUI cross platform Mongo admin tool alternative to the basic mongo shell.
Worth a look...
Worth a look...
Subscribe to:
Posts (Atom)