All posts tagged: Ubuntu

Install Postgresql on Ubuntu 12.04 LTS

comment 1
Postgresql

Introduction Postgresql is an open source object relational database. It is often thought of as an alternative to MySQL. In this post I’ll provide the steps required to install Postgresql on a developer laptop, assuming that work will be done in both SQL and Python. You can learn more at: Postgresql web site Postgresql on Wikipedia Installation Open a command prompt and enter the following commands. sudo apt-get install postgresql postgresql-common postgresql-contrib \ postgresql-client postgresql-client-common […]

What is sed?

Leave a comment
Hadoop / Linux

Introduction sed is short for Stream EDitor, which is a utility that allow you to parse and transform text one line at a time. sed is a useful tool, along with grep and awk, when manipulating text files. It is also often overlooked when working with Hadoop, although the use of sed, awk and grep can help speed up processing times by preprocessing text before sending it to a MapReduce job.

Install JDK 7 u5 on Ubuntu 12.04 LTS (as a secondary JDK)

comments 3
Linux / Software Development

Introduction I had installed JDK 6.0 update 31 in an earlier post. However, I now need to write a Java application that requires the features available in JDK 7. In this post, I will install JDK 7 update 5 as a secondary JDK, while JDK 6.0 u31 will be the primary JDK. It’s perfectly normal to have multiple JDKs on a single machine to support the requirements of different applications. Fortunately, it’s easy to use […]

Install Java JDK 6.0 update 31 on Ubuntu 12.04 LTS

comments 13
Hadoop / Pentaho

Introduction The first question is why are we installing an old JDK. The answer is that Oracle JDK 6.0 update 31 is the JDK recommended by Cloudera when installing CDH4 (Cloudera Distribution Hadoop v4). This is an update to an older version of this post. Mainly I have changed the JDK from 1.6.0_26 to 1.6.0_31 as this is the recommended JDK for CDH4. Install Java I have a 64 bit version of Ubuntu 12.04 LTS […]

Install Pentaho Design Studio 4.0 on Ubuntu 12.04 LTS Desktop

comments 2
Linux / Pentaho

Introduction Pentaho Design Studio (PDS) is a BI plugin for Eclipse. I’m going to download the complete package as Pentaho was nice enough to integrate the plugin with Eclipse for us. Download To download the Pentaho Design Studio (PDS) either run the following command, or follow the bulleted steps below. wget http://downloads.sourceforge.net/project/pentaho/Design%20Studio/4.0.0-stable/pds-ce-linux-64-4.0.0-stable.tar.gz Or follow the steps below if you don’t want to use the wget command shown above. Open a web browser to http://wiki.pentaho.com/display/COM/Latest+Stable+Builds. Click […]

Install Pentaho BI Server 4.5 on Ubuntu 12.04 LTS Desktop

comments 17
Linux / Pentaho

Overview: What is Pentaho? Pentaho is an open source Business Intelligence (BI) Suite that comes in with either commercial support (http://www.pentaho.com/) and or community support (http://community.pentaho.com/). This post provides instructions for the Pentaho community edition suite. Create a pentaho user and group Open a terminal and run the following commands: sudo addgroup pentaho sudo adduser --system --ingroup pentaho --disabled-login pentaho Install Java Follow the JDK installation instructions that are listed in the following post: Install […]

Change the default ssh port on Ubuntu

Leave a comment
Linux

Changing the default port of ssh is not a huge improvement in security, but I’ve found it to be a useful tool in keeping log files free from failed login attempts with username root on port 22 (and I hope you do spend the time to review your log files!). A large number of scripts run scans on the default ssh port of 22 looking for known vulnerabilities. Of course, you should keep ssh fully […]

Install Python 2.7.2 from source on Ubuntu 10.04 LTS

Leave a comment
Linux / Python

The first thing I did was to create a wwwuser that I plan to run pyramid under. As a result, I am intentionally installing Python 2.7.2 under only 1 user account, and am leaving the system wide python installation unchanged. useradd wwwuser passwd wwwuser cd /home mkdir wwwuser chown wwwuser:wwwuser wwwuser Copy all of the hidden files into the /home/wwwuser folder. I did this from my desktop files. vi /etc/passwd Update the shell to be: […]

Install MySQL 5.5 on Ubuntu 10.04 LTS running in the Rackspace Cloud

comments 6
Linux / MySQL

Update April 23, 2012 I added new instructions for adding the MySQL libs to the loader path. Failure to add the libs to the loader path will cause errors when you try to run/build programs that depend on MySQL, such as installing the MySQL driver for Pyramid (Python). Update April 18, 2012 Thanks to Lampros for pointing out that WordPress was converting double dashes into single dashes “-“. I have updated the post so that […]