Last active
December 20, 2017 08:48
-
-
Save mahbub-shohag/4144e3e5bdd64bdadea4ad66bea1d4ea to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1.XAMPP INSTALLATILON : | |
wget https://www.apachefriends.org/xampp-files/5.6.20/xampp-linux-x64-5.6.20-0-installer.run | |
sudo su | |
chmod +x xampp-linux-x64-5.6.20-0-installer.run | |
./xampp-linux-x64-5.6.20-0-installer.run | |
2.Tomcat Installation : | |
sudo apt-get update | |
sudo apt-get install tomcat7 | |
sudo nano /etc/default/tomcat7 | |
change java_optin line using the following line : JAVA_OPTS="-Djava.security.egd=file:/dev/./urandom -Djava.awt.headless=true -Xmx512m -XX:MaxPermSize=256m -XX:+UseConcMarkSweepGC" | |
3. sudo service tomcat7 restart | |
4.sudo apt-get install tomcat7-docs tomcat7-admin tomcat7-examples | |
5.sudo nano /etc/tomcat7/tomcat-users.xml | |
<tomcat-users> | |
<user username="admin" password="password" roles="manager-gui,admin-gui"/> | |
</tomcat-users> | |
6.sudo service tomcat7 restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment