This tutorial aims to configure eclipse luna with local maven repository.This configuration assumes no proxy setup for internet connection.
Window -> Preferences -> Maven -> Archetypes -> Add Local Catalog
Locate your local catalog file
Friday, March 27, 2015
how to restore artifactory
Three directories, extract backups
C:\Users\jupiter\.artifactory
C:\Users\jupiter\.eclipse
(local repository)
C:\Users\jupiter\.m2
Login artifactory
Admin -> Import & Export -> Repositories ->Import Repository from Path
run artifactory
check on the numbers of artifacts
C:\Users\jupiter\.artifactory
C:\Users\jupiter\.eclipse
(local repository)
C:\Users\jupiter\.m2
Login artifactory
Admin -> Import & Export -> Repositories ->Import Repository from Path
run artifactory
check on the numbers of artifacts
how to install artifactory
PLATFORM (previous)
windows 7 family edition 64-bit
jdk 1.7.0
tomcat 7.0.26 (64-bit edition)
I want to install new version of tomcat, jdk and artifactory.My aim is to put artifactory backups back on this new platform.This tutorial is about running artifactory war file on tomcat.
PLATFORM (new)
windows 7 family edition 64-bit
jdk1.8.0_31
apache-tomcat-8.0.20-windows-x86
C:\Users\jupiter>java -version
java version "1.8.0_31"
Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
Java HotSpot(TM) Client VM (build 25.31-b07, mixed mode)
extract apache-tomcat-8.0.20-windows-x86.zip
tomcat folder should look like this
C:\Downloads\apache-tomcat
"Server Status" and "Manager App" interfaces require manager-gui role and "Host Manager" requires admin-gui role.
add these lines and restart tomcat if it works.
C:\Downloads\apache-tomcat\conf \tomcat-users.xml
<role rolename="manager-gui,admin-gui"/>
<user username="tomcat" password="tomcat" roles="manager-gui,admin-gui"/>
configure tomcat port.
C:\Downloads\apache-tomcat\conf\server.xml
<Connector port="5555" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
This file sets java_home manually and runs tomcat on the folder mentioned.
contents of "tomcat start.cmd" file.
@echo off
SET JAVA_HOME=C:\Program Files (x86)\Java\jdk1.8.0_31
SET CATALINA_HOME=C:\Downloads\apache-tomcat
C:\Downloads\apache-tomcat\bin\startup.bat
run "tomcat start.cmd" on folder
C:\Downloads\ciroot
test tomcat whether it runs
tomcat runs on http://localhost:8080/
extract artifactory-3.5.3.zip
copy C:\Downloads\artifactory-3.5.3\webapps\artifactory.war file
into C:\Downloads\apache-tomcat\webapps folder.
restart tomcat.
test if artifactory runs
http://localhost:5555artifactory
artifactory first time login.
user/password admin/admin
windows 7 family edition 64-bit
jdk 1.7.0
tomcat 7.0.26 (64-bit edition)
I want to install new version of tomcat, jdk and artifactory.My aim is to put artifactory backups back on this new platform.This tutorial is about running artifactory war file on tomcat.
PLATFORM (new)
windows 7 family edition 64-bit
jdk1.8.0_31
apache-tomcat-8.0.20-windows-x86
C:\Users\jupiter>java -version
java version "1.8.0_31"
Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
Java HotSpot(TM) Client VM (build 25.31-b07, mixed mode)
extract apache-tomcat-8.0.20-windows-x86.zip
tomcat folder should look like this
C:\Downloads\apache-tomcat
"Server Status" and "Manager App" interfaces require manager-gui role and "Host Manager" requires admin-gui role.
add these lines and restart tomcat if it works.
C:\Downloads\apache-tomcat\conf \tomcat-users.xml
<role rolename="manager-gui,admin-gui"/>
<user username="tomcat" password="tomcat" roles="manager-gui,admin-gui"/>
configure tomcat port.
C:\Downloads\apache-tomcat\conf\server.xml
<Connector port="5555" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
This file sets java_home manually and runs tomcat on the folder mentioned.
contents of "tomcat start.cmd" file.
@echo off
SET JAVA_HOME=C:\Program Files (x86)\Java\jdk1.8.0_31
SET CATALINA_HOME=C:\Downloads\apache-tomcat
C:\Downloads\apache-tomcat\bin\startup.bat
run "tomcat start.cmd" on folder
C:\Downloads\ciroot
test tomcat whether it runs
tomcat runs on http://localhost:8080/
extract artifactory-3.5.3.zip
copy C:\Downloads\artifactory-3.5.3\webapps\artifactory.war file
into C:\Downloads\apache-tomcat\webapps folder.
restart tomcat.
test if artifactory runs
http://localhost:5555artifactory
artifactory first time login.
user/password admin/admin
Sunday, March 15, 2015
Monday, March 9, 2015
how to configure jdk (eclipse luna)
Window > Preferences > Java > Installed JREs > Standart VM > JRE home
choose
C:\Program Files (x86)\Java\jdk1.8.0_31
C:\Users\jupiter>java -version
java version "1.8.0_31"
Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
Java HotSpot(TM) Client VM (build 25.31-b07, mixed mode)
choose
C:\Program Files (x86)\Java\jdk1.8.0_31
C:\Users\jupiter>java -version
java version "1.8.0_31"
Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
Java HotSpot(TM) Client VM (build 25.31-b07, mixed mode)
Friday, September 12, 2014
how to .xz files
- J: use xz to uncompress archive -- notice: J is uppercase
tar xvfJ filename.tar.xz
xz --decompress filename.gz
Thursday, September 11, 2014
how to install tomcat
PLATFORM
windows 7 family edition 64-bit
jdk 1.7.0
tomcat 7.0.26 (64-bit edition)
go to apache tomcat website and download tomcat 7.0
http://tomcat.apache.org/
download 64-bit Windows zip file as we try to install tomcat 7.0.26 on windows 7 64-bit system
unzip apache-tomcat-7.0.26-windows-x64.zip
this is how the folder looks like after unzipping
C:\Downloads\apache-tomcat-7.0.26-windows-x64\apache-tomcat-7.0.26\bin
If you click startup.bat file to start tomcat IT WILL NOT RUN
C:\Downloads\apache-tomcat-7.0.26-windows-x64\apache-tomcat-7.0.26\bin\startup.bat
To get tomcat running,first run command prompt
Then with cd command go to directory
cd C:\Downloads\apache-tomcat-7.0.26-windows-x64\apache-tomcat-7.0.26\bin
Run startup.bat in the command prompt
C:\Downloads\apache-tomcat-7.0.26-windows-x64\apache-tomcat-7.0.26\bin>startup.bat
Then type on firefox
http://localhost:8080
Server Status" and "Manager App" interfaces require manager-gui role and "Host Manager" requires admin-gui role.
add these lines and restart tomcat if it works.
C:\Downloads\apache-tomcat\conf \tomcat-users.xml
<role rolename="manager-gui,admin-gui"/>
<user username="tomcat" password="tomcat" roles="manager-gui,admin-gui"/>
configure tomcat port.
C:\Downloads\apache-tomcat\conf\server.xml
<Connector port="5555" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
This file sets java_home manually and runs tomcat on the folder mentioned.
contents of "tomcat start.cmd" file.
@echo off
SET JAVA_HOME=C:\Program Files (x86)\Java\jdk1.8.0_31
SET CATALINA_HOME=C:\Downloads\apache-tomcat
C:\Downloads\apache-tomcat\bin\startup.bat
run "tomcat start.cmd" on folder
C:\Downloads\ciroot
test tomcat whether it runs
tomcat runs on http://localhost:8080/
windows 7 family edition 64-bit
jdk 1.7.0
tomcat 7.0.26 (64-bit edition)
go to apache tomcat website and download tomcat 7.0
http://tomcat.apache.org/
download 64-bit Windows zip file as we try to install tomcat 7.0.26 on windows 7 64-bit system
unzip apache-tomcat-7.0.26-windows-x64.zip
this is how the folder looks like after unzipping
C:\Downloads\apache-tomcat-7.0.26-windows-x64\apache-tomcat-7.0.26\bin
If you click startup.bat file to start tomcat IT WILL NOT RUN
C:\Downloads\apache-tomcat-7.0.26-windows-x64\apache-tomcat-7.0.26\bin\startup.bat
To get tomcat running,first run command prompt
Then with cd command go to directory
cd C:\Downloads\apache-tomcat-7.0.26-windows-x64\apache-tomcat-7.0.26\bin
Run startup.bat in the command prompt
C:\Downloads\apache-tomcat-7.0.26-windows-x64\apache-tomcat-7.0.26\bin>startup.bat
Then type on firefox
http://localhost:8080
Server Status" and "Manager App" interfaces require manager-gui role and "Host Manager" requires admin-gui role.
add these lines and restart tomcat if it works.
C:\Downloads\apache-tomcat\conf \tomcat-users.xml
<role rolename="manager-gui,admin-gui"/>
<user username="tomcat" password="tomcat" roles="manager-gui,admin-gui"/>
configure tomcat port.
C:\Downloads\apache-tomcat\conf\server.xml
<Connector port="5555" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
This file sets java_home manually and runs tomcat on the folder mentioned.
contents of "tomcat start.cmd" file.
@echo off
SET JAVA_HOME=C:\Program Files (x86)\Java\jdk1.8.0_31
SET CATALINA_HOME=C:\Downloads\apache-tomcat
C:\Downloads\apache-tomcat\bin\startup.bat
run "tomcat start.cmd" on folder
C:\Downloads\ciroot
test tomcat whether it runs
tomcat runs on http://localhost:8080/
Subscribe to:
Posts (Atom)