Category Archives: Linux

mdm_mint15

Linux Mint 15 – “Olivia” is released!

Linux Mint 15 (code named as Olivia) is released. If you’re  using the the older version of Linux Mint, then follow the upgrade instructions. Linux Mint 15 has arrived with lots of new features and improvements. The first one, you will notice to the login screen itself (HTML animated MDM based login screen) :

mdm_mint15

Major changes/improvements in Linux Mint 15 ?

  • Improved Desktop Editions (Cinnamon 1.8 and MATE 1.6 – both offers a tons of new great features and improvements)
  • Software Sources, now called MintSources, has been developed from scratch, to support additional features (unstable packages, easy management)
  • MintDrivers, for managing various drivers (e.g for Graphics Card, printers etc)
  • Nemo File Manager – new features and bug fixes
  • Desklets for Desktop, it’s like Android widgets
  • Improved Control Center & more!

Download Linux Mint 15

You can download the appropriate edition (comes with CINNAMON or MATE desktop, for both 32/64 bit computer)

To know more about the new features – read this official page about Linux Mint 15.

digital-ocean vps

Digital Ocean Review : Cheap and Best SSD VPS Hosting!

Digital Ocean is a new VPS company which has gained a lot of popularity in a very small time span (recently, it crossed the 400k+ servers).

Current Promo Code : DODROPLET for $10 credit (worth two months of free hosting).

digital-ocean vps

Well, there are lots of VPS providers, what makes Digital Ocean so awesome ? I’ve been using Digital Ocean for around 5 months (for my web applications/Ruby on Rails Apps, e.g one is PC Builder) and here are few reasons – why Digital Ocean is one of the best VPS provider.

Why Digital Ocean is Awesome ?

  1. Very affordable price (plan starts at $5/month)
  2. Offers more than its competitors – 512MB RAM, 20GB SSD, 1TB Bandwidth, Automated Backups/Snapshots – all at $5/mo
  3. Easy to launch/manage servers with its nice Dashboard
  4. Great customer support (the average response time for a support ticket is less than 15 minutes – vow!!)
  5. Advanced Features, easy to use APIs (for managing servers, you don’t have to login to their control panel)
  6. Even if you’re a noob, you can easily learn all stuffs, they have awesome tutorials available in DO Community
  7. it’s a reliable company, backed by awesome team in NYC, they are not going anywhere.
  8. Login to your servers via ssh and you Have full control over your VPS
  9. Zero Downtime -If you use Digital Ocean, your servers are up no matter what. (In past 5 months, I never faced even a single downtime)
  10. Create backups easily using snapshots or automated backup feature. (creating manual snapshot is free but automated backup costs a little). You can also spin up new servers (in minutes) using your snapshots.

Hosting Plans available at Digital Ocean

If you’re starting out, the starting plan @ $5/month would work fine. You get 512MB RAM, 20GB SSD, 1TB Bandwidth. They also bills on Hourly basis, you can use either monthly or hourly plan – depending on your need. Another plan is $10/mo – for which you get 1GB RAM, 30GB SSD and 2TB data transfer, and so on.

checkout their website for larger plans

So, what are you waiting for ? 

Whether you want to Deploy a Web Applications (Ruby On Rails, Django, node.js etc) or a Blog or simple website – Digital Ocean would work great. You can get started now – (no credit card is required! try test mode)

Get a VPS at Digital Ocean

Current Promo Code : DODROPLET for $10 credit (worth two months of free hosting).

Update! Now, they’ve updated the dashboard and added few more features like Resource usage graph, new data center location for servers (also in asia region) and so. Added a promo code. Also added a video.

Scribus : Free and Open Source alternative to Adobe InDesign

Scribus is a Desktop publishing software, similar to Adobe InDesign. Scribus is a free and open source software, it’s available for all common platforms such as GNU/Linux, Mac OS X, Windows etc.

It has simple and easy to use interface. It has lots of features including Color Separations, CMYK and spot colors etc. Scribus is widely used for creating newsletters, posters, books, brouchures and quality pdfs/presentations.

Where to get Scribus ?

If you’re using a GNU/Linux distributions such as Ubuntu, then you can install it in one simple command (for other distributions you should checkout their repository manual) –

sudo apt-get install scribus

To download/install Scribus on other operating systems, read instructions on official website .

speed up wordpress

How to setup wordpress on Ubuntu 12.04 Server (VPS)

It’s a step by step guide for setting up wordpress on a vanila server (e.g Digital Ocean, don’t know about it? then read Digital Ocean VPS Review) running Ubuntu 12.04 LTS (latest LTS release, recommended for server). With, most of the VPS providers, you can deploy GNU/Linux distribution from their control panel itself, after that, everything will done over the ssh connection.

setting up wordpress

Step 1. Setting up the server

ssh into the server and create a user (as it’s not a good idea to use root account).

ssh root@vps_ip_address
apt-get -y update
adduser user_name --ingroup sudo

Now, logout from the current session and login again with the user newly created above.

exit
ssh user_name@vps_ip_address

Install the web server – Apache (you could also choose nginx)

sudo apt-get install apache2

Now, create a virtual host –
In this tutorial I’ll be using nano editor (a light-weight command line editor) So, if it’s not already installed – then install it using sudo apt-get install nano.

sudo nano /etc/apache2/sites-available/example.com

and add this contents (change few things according to your need such as domain name, user_name)

If you selected nginx instead of Apache, here is a sample configuration for nginx/wordpress blog.

Then enable the virtual host,

sudo a2ensite example.com
sudo service apache2 reload

Step 2. Installing Dependencies (PHP, MySQL)

During installation process, you will be asked to provide password for MySQL root account.

sudo apt-get install mysql-server
sudo apt-get install php5 libapache2-mod-php5 php5-mysql

For image manipulation, wordpress uses php-gd library, so you need to install that as well,

sudo apt-get install php5-gd

You may have to enable rewrite mod for apache2, to do that simply type :

sudo a2enmod rewrite
sudo service apache2 restart

Step 3. Creating Database

Login with MySQL root account and create the required users and databases (you need to remember these details for wp-config.php)

mysql -u root -p
create database DBNAME;
grant all on DBNAME.* to DB_USER@localhost identified by 'password';
exit

Step 4. Installing WordPress

Download the latest version of wordpress and extract its content.

cd ~
wget http://wordpress.org/latest.tar.gz
tar -xzvf latest.tar.gz

For simplicity, you can rename the wordpress directory to something like – your domain name e.g example.com.

mv wordpress example.com

Now, you can manually edit the wp-config.php file or go through the automated installation process (just visit the URL, I assume you have setup DNS correctly, or use IP address instead).

cd example.com
nano wp-config-sample.php

Then add the database details and random strings for session tokens etc and save the file (Ctrl+x, y). Now, rename the file.

mv wp-config-sample.php wp-config.php

That’s set, you’ve successfully installed wordpress, visit the URL/IP_ADDRESS and create the admin user.

Moving your Blog ?

If you’re moving your old wordpress blog to a new server, then you also need to copy wp-contents directory (from the old one to new server, it’s the directory – that holds your images, themes and plugins). Besides that you will also have to export/import database contents. Use your server control panel or a tool like PHPMyAdmin (which is usually installed on all shared hosting providers) to export your database contents in *.sql format.

I assume you already have an exported database file (*.sql), So you can easily import it, on new server using the single command –

mysql -h localhost -u DB_USER -p DB_NAME < db_backup.sql

Note : If you have any problem during installation, then leave a comment here, we’ll try to figure it out!

liferea-rss-reader

Liferea RSS Reader – Google Reader Alternative for Ubuntu users!

Google Reader is going away (read official news ), If you’re an Ubuntu user, here is a great alternative for you : Liferea. It’s a simple and easy to use application that can be used as an alternative to Google Reader.

Liferea – Linux Feed Reader

Liferea is a feed aggregator for GNOME based distributions such as Ubuntu, Linux Mint, Debian etc. You can easily add various sources/subscriptions (your favourite Blogs or News sources) and stay updated from one place. You don’t even need to open a browser (since it’s a Desktop Application), unless full content is not available in your source feed.

liferea-rss-reader

Installing Liferea in Ubuntu

Open a terminal and type (or you could search in Software Center, if that’s the way your prefer to install new applications) –

sudo apt-get install liferea

Customizing Liferea

liferea-settings

Liferea has lot of cool features, and it’s easily customizable too. Checkout Tools -> Preferences and there are lot of things you may want to change according to your need, e.g Feed Update settings, Folder Behavior, items in the feed, external browser settings, notification settings, proxy, location of downloaded contents, reading shortcuts and more!