Archive for the ‘Server’ Category

27
Feb

Shell Bash History

Every want to recall something you did / wrote in your terminal months ago. I have configured a few servers in my day and through the that time I try to be good and document my steps but every now and again I go off on a testing spree and try a few things, get something working and shift focus and forget about documenting what made it work.

I didnt realize until only recently that everything you type into you terminal window gets logged. So if you ever want to recall your previous bash scripts open your terminal and simply type

history

Which will return the log dump of your bash history, every command you have ever typed. Great if you cant remember exactly which vnc server you installed last year to get a headless server running flex unit or whatever may have slipped your mind. Test

17
Feb

Installing LAMP on a clean Ubuntu server

I recently just setup a clean Ubuntu server, I’m going to use this box for my dedicated CI machine and repository. To prepare this box for being a Continuous Integration machine I need to do a few things first including getting it to be accessible to the web. This post walks through getting a clean Ubuntu server setup with LAMP.

[Read more →]

17
Nov

Installing Tomcat on CentOS

Continuing in setting up my CentOS server, the next thing I need is to get Hudson setup. Before I can get Hudson up and running I’ll need to get Tomcat installed. I could of course use Winstone which will get me up and running, but I know I will need Tomcat soon for some other things as well so might as well get it setup now.

[Read more →]

17
Nov

Setting up a CentOS server

More recently I have been having some issues with Plesk, I’ve felt like I’ve been fighting with Plesk’s default generic templates and cookie cutter processes. What should be simple such as adding custom wars to Tomcat end up proving more times then not to be a royal pain. This passed month I ended up playing around with Hudson, a Continous Integration server, and I found myself struggling through what should have been a seamless installation. Basically it took me 10 minutes to setup, install, and configure my first build in Hudson on my Mac but to be honest I ended up giving up after 3 days of struggling to get Hudson installed on my dedicated CentOS server that ran Plesk. Dont get me wrong, there are plenty of other things that bug me about Plesk but this latest thing was what ended up pushing me to get a basic server setup from scratch and configured exactly as I wanted it.

[Read more →]

6
Jul

Some Handy CruiseControl Commands

Now that I have CruiseControl configured and running on my server I need a way to be able to stop/kill the processes, so I did some research and found this.
[Read more →]

5
Jul

Installing CruiseControl on CentOS with Plesk

I recently setup CruiseControl on my server and figured it might be helpful to some to put together a little walk through. My server runs CentOS and Plesk which adds a bit of difficulty above the standard rehl *nix configurations. By the end of this walk through you should be able to browse to your CC on your server.
[Read more →]

5
Jul

Installing Subversion on CentOS with Plesk

Just a quick walk through on installing subversion on a CentOS server running Plesk. What your going to want to grab is a fresh copy of YUM to handle the installation of subversion. YUM ( Yellow dog Updater, Modified) is “… an automatic updater and package installer/remover for rpm systems. It automatically computes dependencies and figures out what things should occur to install packages. It makes it easier to maintain groups of machines without having to manually update each one using rpm…”

[Read more →]