1. login ke linux
a. login sebagai user
Ubuntu 12.04 login:
username : opencrx
password : opencrx
b. login sebagai root (SU *superuser*)
$ sudo su
-> masukkan password : opencrx
c. mengganti password root
# passwd
-> masukkan password : opencrx
-> verify password : opencrx
2. mengganti repository default ubuntu (IX) ke repository lokal (IIX)
a. backup repository default ubuntu
# mv /etc/apt/sources.list /etc/apt/sources.list.old
b. masukkan repository lokal (IIX)
# nano /etc/apt/sources.list
deb http://kambing.ui.ac.id/ubuntu precise main restricted universe multiverse
deb http://kambing.ui.ac.id/ubuntu precise-updates main restricted universe multiverse
deb http://kambing.ui.ac.id/ubuntu precise-security main restricted universe multiverse
deb http://kambing.ui.ac.id/ubuntu precise-proposed main restricted universe multiverse
deb http://kambing.ui.ac.id/ubuntu precise-backports main restricted universe multiverse
3. update dan upgrade system
# apt-get update
# apt-get upgrade
4. remote
a. install openssh server
# apt-get install openssh-server
b. download putty di windows
putty.exe
c. cek ip di server
# ifconfig
inet addr:192.168.76.129
d.
5. buat directory untuk file crx
# mkdir -p /home/crx
6. install dan download aplikasi yang dibutuhkan untuk menjalankan opencrx
a. install java dan unzip
# apt-get install unzip default-jre
b. buat temporary directory untuk ant, jdk dan opencrx
# mkdir -p /home/opencrx/data
c. download ant
# wget -c http://www.apache.org/dist/ant/binaries/apache-ant-1.9.3-bin.tar.gz
d. install ant
# tar -zxvf apache-ant-1.9.3-bin.tar.gz
# mv apache-ant-1.9.3 /opt
e. download jdk
# wget -c http://ghaffarian.net/downloads/Java/JDK/jdk-6u45-linux-i586.bin
f. install jdk
# chmod +x jdk-6u45-linux-i586.bin
# ./jdk-6u45-linux-i586.bin
# mv jdk1.6.0_45 /opt
g. download file opencrx
# wget -c http://ftp.jaist.ac.jp/pub//sourceforge/o/op/opencrx/opencrx/2.12.0/opencrxServer-2.12.0-installer.jre-1.6.jar
# chmod +x opencrxServer-2.12.0-installer.jre-1.6.jar
h. install opencrx
root@opencrx-server:/home/opencrx/data# java -jar opencrxServer-2.12.0-installer.jre-1.6.jar
This software is published under the BSD license
as listed below.
Copyright (c) 2004-2013, CRIXP Corp., Switzerland
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the
distribution.
* Neither the name of CRIXP Corp. nor the names of the contributors
to openCRX may be used to endorse or promote products derived
from this software without specific prior written permission
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
press Enter to continue, X to exit
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
------------------
press 1 to accept, 2 to reject, 3 to redisplay
1
Select JDK path []
/opt/jdk1.6.0_45
press 1 to continue, 2 to quit, 3 to redisplay
1
Select home directory of an existing Ant 1.8.2 installation, e.g. C:\pgm\apache-ant-1.8.2 on Windows or /opt/apache-ant-1.8.2 on Linux platforms.
ANT home directory []
/opt/apache-ant-1.9.3
press 1 to continue, 2 to quit, 3 to redisplay
1
Select target path [/home/opencrx/data]
/home/crx
press 1 to continue, 2 to quit, 3 to redisplay
1
[ Starting to unpack ]
[ Processing package: Main (1/2) ]
[ Processing package: PostInstall (2/2) ]
[ Unpacking finished ]
[ Console installation done ]
*** install log dan untuk mencari file jsp di : cat /home/crx/install.log | grep jsp
7. Opencrx
a. menjalankan opencrx
# cd /home/crx/apache-tomee-webprofile-1.6.0/bin
# ./opencrx.sh run
b. menghentikan opencrx
# cd /home/crx/apache-tomee-webprofile-1.6.0/bin
# ./opencrx.sh stop
Berikut Adalah Vidoe Tutorialnya :



0 comments:
Posting Komentar