2-Press 'y' to continue installing JDK on Ubuntu, this enables us to develop Java
applications to run on our Tomcat server. Next, we will be installing Apache Ant, which is
used to build Java applications, and a source control system, git, using the command below.
# apt-get install ant git
Install PostgreSQL
1-Now, we need to install and setup PostgreSQL, as the most of openMAINT depends on
it. We'll first install postgresql and it's additional packages by typing the following
command:
# apt-get install postgresql postgresql-contrib
2-This will create a new user on your PC with the name "postgres". Set your password for
this account using the command below and take note of it as you'll need it later in the setup
and also to log in to your postgres user account.
# passwd postgres
3-After that, we will install a web administrator tool to manage PostgreSQL database, and
this can be installed using command:
# apt-get install pgadmin3
4-Use the command below to find more modules i.e PostGIS, procedural languages, client
interfaces, etc to install.
apt-cache search postgres
PostgreSQLDatabase server setup
1-Now we have successfully installed PostgreSQL database server, let's connect to the user
"postgres" and create a database which we'll use to setup openMAINT soon.
# su - postgres
#psql
2-Now let's create a database for openMAINT. In our case, we'll use postgresqldb as our
database name.
# createdb postgresqldb
3-To connect to your database, enter: