Hi there,

Can someone describe how can I install MySQL, phpmyadmin to the Standalone Tomcat Appliance.

I connect with putty bia ssh to the server and try to run the command "aptitude install mysql-server mysql-client libmysqlclient15-dev" but the server returns "bash: aptitude: command not found"

 

Any idea???? Please help me!!!!

 

Replies (6)

2 options

Reply 1

1) just use apt-get, eg:

apt-get install mysql-server mysql-client libmysqlclient15-dev

OR

2) install aptitude first (followed by your above line) ie:

apt-get install aptitude
aptitude install mysql-server mysql-client libmysqlclient15-dev

Hi JedMeister, Firstly thank

Reply 2

Hi JedMeister,

Firstly thank you for the prompt answer!

I want now to set the enviroment variables with the command "export" for "Apache Ant" , "Java JDK 6", "Apache Tomcat"  as:

JAVA_HOME – The Java JDK (NOT the JRE) installation directory.

ANT_HOME – The Apache Ant installation directory.

CATALINA_HOME – The Apache Tomcat installation directory.

The problem is that I don't know where is the installation folders!

I need also the installation folder of the Java JDK in order to copy into MySQL Connector/J v3.1.14 JDBC driver , Sun JavaMail API (v1.4.X).

Please if someone knows the solutions help me!

Hi again Alon Swartz, I think

Reply 3

Hi again Alon Swartz,

I think that the system should include also the "ANT_HOME" also....

Some other thinks that might be in the install could be the "Sun JavaMail API (v1.4.X)" and "MySQL Connector/J v3.1.14 JDBC driver" in case someone install the MySQL.....

Thanks

Already set in /etc/environment?

Reply 4
I currently don't have a tomcat instance infront of me, but from my notes most of the variables should already be set in /etc/environment, for example:
CATALINA_HOME="/usr/share/tomcat5.5"
CATALINA_BASE="/var/lib/tomcat5.5"
CATALINA_OPTS="-server -Xms384M -Xmx512M -XX:MaxPermSize=256M"
JAVA_HOME="/usr/lib/jvm/java-6-sun"
BTW, you can perform a search for "package owned files" like this:
dpkg --search pattern ...
This should provide all the path information required. If you think the default installation configuration should include other variables, let us know.

Thank you so much Alon

Reply 5

Thank you so much Alon Swartz!!!

Everything is in place now!!

 

Run apt-get update

Reply 6

Try running

apt-get update

first. If that errors too, check network connections.