Your work is going to fill a large part of your life, and the only way to be truly satisfied is to do what you believe is great work. And the only way to do great work is to love what you do.
-- Steve Jobs
Showing posts with label Ubuntu. Show all posts
Showing posts with label Ubuntu. Show all posts

Saturday, August 6, 2011

Ubuntu, Tomcat, Jenkins, Git, and SSH Together » Absolutely No Machete Juggling

Ubuntu, Tomcat, Jenkins, Git, and SSH Together » Absolutely No Machete Juggling
I recently wanted to set up Jenkins on my personal workstation to manage builds for side and personal projects. I was already running Tomcat on the system since I use that to run Subsonic, so I wanted to install Jenkins in the same container.

The process of getting everything working was just short of a nightmare, but I managed to eventually get my Jenkins inside of Tomcat successfully checking out and building projects through Git. While I was dealing with various errors, I was doing a lot of Googling. My searches seemed to indicate that very few people were trying to set things up as I was, because the internet was very little help. When hours of Googling turns up nothing, you know you either have a) a technical problem that nobody else has tried to solve or b) a weird fetish.

So I've written this post to explain how to set things up. But rather than a simple tutorial, I've written it as a step-by-step account of the various difficulties I had setting it up. I've done this partially to draw a little bit of attention to a gap in the error messaging of these tools, but mostly so that the next person who Googles for specific error messages may come across this page and avoid some headaches.

I recently wanted to set up Jenkins on my personal workstation to manage builds for side and personal projects. I was already running Tomcat on the system since I use that to run Subsonic, so I wanted to install Jenkins in the same container.
The process of getting everything working was just short of a nightmare, but I managed to eventually get my Jenkins inside of Tomcat successfully checking out and building projects through Git. While I was dealing with various errors, I was doing a lot of Googling. My searches seemed to indicate that very few people were trying to set things up as I was, because the internet was very little help. When hours of Googling turns up nothing, you know you either have a) a technical problem that nobody else has tried to solve or b) a weird fetish.
So I've written this post to explain how to set things up. But rather than a simple tutorial, I've written it as a step-by-step account of the various difficulties I had setting it up. I've done this partially to draw a little bit of attention to a gap in the error messaging of these tools, but mostly so that the next person who Googles for specific error messages may come across this page and avoid some headaches
I recently wanted to set up Jenkins on my personal workstation to manage builds for side and personal projects. I was already running Tomcat on the system since I use that to run Subsonic, so I wanted to install Jenkins in the same container.
The process of getting everything working was just short of a nightmare, but I managed to eventually get my Jenkins inside of Tomcat successfully checking out and building projects through Git. While I was dealing with various errors, I was doing a lot of Googling. My searches seemed to indicate that very few people were trying to set things up as I was, because the internet was very little help. When hours of Googling turns up nothing, you know you either have a) a technical problem that nobody else has tried to solve or b) a weird fetish.
So I've written this post to explain how to set things up. But rather than a simple tutorial, I've written it as a step-by-step account of the various difficulties I had setting it up. I've done this partially to draw a little bit of attention to a gap in the error messaging of these tools, but mostly so that the next person who Googles for specific error messages may come across this page and avoid some headaches

Sunday, July 31, 2011

Install Java In Ubuntu 11.04 Natty Narwhal Via Repository ~ Web Upd8: Ubuntu / Linux blog

Install Java In Ubuntu 11.04 Natty Narwhal Via Repository ~ Web Upd8: Ubuntu / Linux blog
I've upgraded to Ubuntu 11.04 on my netbook a while back and as usual, I can't install Java the "official" way because the Ubuntu 11.04 Partner repository is not yet ready (it's usually available once the final Ubuntu version is released).

So what are the options for installing Java in Ubuntu 11.04 if you upgrade before the final version is released? You can download it from its website and install it manually and/or use the JDK updater script provided by Bruce Ingalls - but there are actually 2 much easier to use alternatives. Read on!

Thursday, July 21, 2011

How to install Tomcat in Ubuntu

How to install Tomcat in Ubuntu
we can start/stop/restart Tomcat with following command
/etc/init.d/tomcat5.5 start
/etc/init.d/tomcat5.5 stop
/etc/init.d/tomcat5.5 restart

Install Useful Nautilus Menu Items | Tombuntu

Install Useful Nautilus Menu Items | Tombuntu

Nautilus is the default file manager for GNOME. In Ubuntu there are three extra packages that can be installed to add extra functionality.

  1. nautilus-gksu – Adds “Open as administrator” menu item.
  2. nautilus-image-converter – Adds “Resize Images…” and “Rotate Images…” menu items.
  3. nautilus-open-terminal – Adds “Open In Terminal” menu item.

These three packages can be installed with the command below or by finding them in the Synaptic package manager. Once the install is complete you need to restart Nautilus. The easiest way to do this is to log out and back in.

Wednesday, July 20, 2011

Ubuntu: Easy (And Quick) Ways To Open Any Files As Root

Ubuntu: Easy (And Quick) Ways To Open Any Files As Root
Ubuntu does not allow its users to login as root directly. For users who want to run programs (or edit files) with root privileges, they have to use “sudo” to allow access to root. While this is a very useful feature to protect your system, it can be a troublesome and repetitive task.

Instead of hitting the terminal and enter the ‘sudo‘ command everytime you need to open a file with root privilege, you can use any of the following methods to easily access your files with a mouse click.

Ubuntu 10.10 - Apache Tomcat

Ubuntu 10.10 - Apache Tomcat
Apache Tomcat is a web container that allows you to serve Java Servlets and JSP (Java Server Pages) web applications.
The Tomcat 6.0 packages in Ubuntu support two different ways of running Tomcat. You can install them as a classic unique system-wide instance, that will be started at boot time will run as the tomcat6 unpriviledged user. But you can also deploy private instances that will run with your own user rights, and that you should start and stop by yourself. This second way is particularly useful in a development server context where multiple users need to test on their own private Tomcat instances.

Monday, July 18, 2011

Wednesday, June 8, 2011

Installing Tomcat 6 on Ubuntu - How-To Geek

Installing Tomcat 6 on Ubuntu - How-To Geek
If you are running Ubuntu and want to use the Tomcat servlet container, you should not use the version from the repositories as it just doesn’t work correctly. Instead you’ll need to use the manual installation process that I’m outlining here.