Hiii.... what's up? I hope u're all right..
At this time i want to share with you about my newest science and one of my experience using Linux Ubuntu.
I got this new science of yesterday when i was obliged for using Tomcat Apache and this program must be installed after the computer is turned off .
Such situations force us to memorize the syntax.
So.. in here, i want to take you and tell you about the syntax where it's used to install Tomcat Apache at once Activing Mysql Database, we want to install this program in Linux ubuntu 11.04 .
Before we're starting the installation, we have to install xampp.
after you have the installation,you must to run that also,
How to check activate xampp :
-> open your terminal, You need to start XAMPP as root!
so you must create this syntax at first :
sudo su
->to start the xampp create :
/opt/lampp/lampp start
if your xampp success and no errors ,will show :
Starting XAMPP for Linux 1.7.3a...
XAMPP: XAMPP-Apache is already running.
XAMPP: XAMPP-MySQL is already running.
XAMPP: XAMPP-ProFTPD is already running.
XAMPP for Linux started.
that means your xampp success running and you can install Tomcat Apache.
->One more , for stoped the xampp, you can create :
/opt/lampp/lampp stop
and /opt/lampp/lampp restart to restart
After that,you can check in the browser with create :
localhost/xampp
And now we're starting to install Tomcat Apache and Activate MySQL Database.
->Open your Terminal again..
we don't need to log in as root,so just type :
sudo /etc/init.d/mysql status
sudo /etc/init.d/mysql stop
sudo apt-get remove mysql
apt-get remove mysql-server
sudo /etc/init.d/mysql stop
cd /opt/lampp
sudo ./lampp restart
cd /opt/Tomcat
cd bin
cd ..
cd ..
sudo chmod 777 Tomcat/
sudo chmod 777 Tomcat/*/*
cd Tomcat/bin
./catalina.sh start
->If your syntax success, will showed :
Using CATALINA_BASE: /opt/TomcatUsing CATALINA_HOME: /opt/Tomcat
Using CATALINA_TMPDIR: /opt/Tomcat/temp
Using JRE_HOME: /opt/Java
Using CLASSPATH: /opt/Tomcat/bin/bootstrap.jar:/opt/Tomcat/bin/tomcat-juli.jar
ex:
The Process having finish....^^
In here web address you can site and check your Tomcat Apache + Mysql Database.If your page have same picture with this picture in below, that means your Apache tomcat is complete and success.
http://localhost:8080http://localhost/xampp --> click Status
http://localhost/phpmyadmin
Note : *you must put the jdk-6u23-linux-i586.bin , xampp.tar.gz , apache-tomcat-7.0.14.zip in opt folder. *extrack in there. *always follow the instruction |
Okeiii....is enough for today...,see u at the other my Blog.
I will share to you if i've new science. you must try it,and don't give up if your syntax is failed....