Tags » Ubuntu/Linux

Install MongoDB on Ubuntu

1. Import the public key used by the package management system

$ sudo apt-key adv –keyserver hkp://keyserver.ubuntu.com:80 –recv 7F0CEB10

2. Create a list file for MongoDB version 3. 103 more words

Ubuntu/linux

Install Megatools in Ubuntu 14.04 LTS

Megatools is a collection of programs for accessing Mega service from a command line of your desktop or server.

Megatools allow you to copy individual files as well as entire directory trees to and from the cloud.

120 more words
Ubuntu/Linux

Install KeePass in Ubuntu

KeePass -A lightweight and easy-to-use password manager

sudo apt-add-repository ppa:jtaylor/keepass
sudo apt-get update
sudo apt-get install keepass2

Ubuntu/linux

Install sublime text on Linux (Ubuntu MATE)

## For Sublime Text 2

sudo add-apt-repository ppa:webupd8team/sublime-text-2
sudo apt-get update
sudo apt-get install sublime-text

## For Sublime Text 3

sudo add-apt-repository ppa:webupd8team/sublime-text-3
sudo apt-get update
sudo apt-get install sublime-text-installer
… 11 more words

Page load optimizing using .htaccess

RewriteEngine On
Options +FollowSymLinks
RewriteBase /

RewriteCond %{HTTP_HOST} ^beta.mysite.com
RewriteCond %{HTTP_HOST} ^mysite.com
RewriteCond %{HTTP_HOST} !beta.mysite.com
RewriteRule ^(.*)$ http://mycompanysite.com/$1

AddType font/ttf .ttf
AddType font/eot .eot
AddType font/otf .otf… 129 more words

Linux command

Get linux distro name
$ cat /etc/*-release
=> CentOS release 6.4 (Final)
———————————————–
Get the CPU load
$ top -b | grep “load average”
=> top – 10:46:13 up 32 days, 21:08,  5 users,  load average: 0.07, 0.12, 0.15… 86 more words