This is Part II of Setup Ubuntu Server in the Cloud series.
4. Install and configure a firewall
Having a firewall in your system is mandatory. Configuring it correctly is even more important. I use 'iptables' for that matter and here is the command to install it, and then check its configuration which, at this time is empty:
dambrosio@XXXCNN4730:~$ sudo apt-get install iptables dambrosio@XXXCNN4730:~$ sudo iptables -L
I just bought a server in the Cloud to run my development tools (i.e. SVN, JIRA, MySQL etc.). It is a 8.04 Ubuntu server with root access. So I need this server to work the way I want it, so here are the steps I took to prepare it:
1. Change the .bashrc file
I am so used to typing 'll' in the command line as alias for 'ls -lsa' that the first thing I changed was the .bashrc file to have the standard aliases enabled.
Type:
root@XXXCNN4730:/# vi ~/.bashrc
A few weeks ago I wrote another article explaining how to install and run Atlassian JIRA in Ubuntu. Well, I was not quite satisfied with the results, so I tried another approach and it seems to be working better now as my previous JIRA installation was extremely slow and crashed due to Out of Memory errors.
So here are the steps:
1. Install Java
I use Atlassian JIRA as a tool to control my software development process, registering issues, tasks and bugs and planning development cycles.
So now that I switched to Ubuntu as development platform, I need to setup JIRA on my new Linux machine. I wrote down the steps I followed to achieve this.
1. Install Java
First of all, of course, install Java in your Ubuntu server and test the installation:
A few weeks ago I wrote an article on how to install Subversion and Apache in a Windows environment. Today I decided to use Ubuntu as my development environment and somehow I felt that it would take many more steps to configure those in Linux than it took in Windows, so I wrote them down for future reference. Here are those steps:
1. Install apache2
I just installed Ubuntu 9.10 (the Karmic Koala, as they call it) at my home Desktop. First thing I tried was to check whether my ssh daemon was running, and it wasn't. I did have the ssh client but not the scripts to start the server, but no panic. It is quite fast to fix this. Jut open a terminal window and type the following to install OpenSSH.
sudo apt-get install openssh-server openssh-client
I did not need the client as I had it installed already. Here is the result from the command above:
Well, I am now just trying to use Ubuntu as a development environment. First thing I noticed is that there are more than one jre already installed by default in the system, and here is the evidence:
jars@jars-desktop:~$ locate /rt.jar
/usr/lib/jvm/java-6-openjdk/jre/lib/rt.jar
/usr/lib/jvm/java-6-sun-1.6.0.07/jre/lib/rt.jar
I really wanted to use the Sun JDK for my development instead of OpenJDK, so I installed the Sun Java.
Just type the command below and compare the results:
Recent comments
17 weeks 2 days ago
17 weeks 2 days ago
17 weeks 4 days ago
17 weeks 5 days ago
18 weeks 2 days ago
18 weeks 2 days ago
23 weeks 6 days ago
24 weeks 2 days ago
25 weeks 16 hours ago
25 weeks 6 days ago