Rahasia Berinvestasi Sukses dengan Emas

Bagaimana Uang Hasil Kerja Keras Anda Mempunyai NILAI dan DAYA BELI Yang Sama 10 Bahkan 20 Tahun Yang Akan Datang? Bagaimana Menghindari Perampok Yang Tidak Pernah Di Tangkap Polisi, Yakni Inflasi? Bagaimana Dengan MUDAH dan PASTI, EMAS Membantu Perencanaan Keuangan Keluarga Terutama Biaya Pendidikan dan Masa Depan Anak Anda?

Minimal Design

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown ...

Download high quality wordpress themes at top-wordpress.net

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown ...

Easy to use theme admin panel

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown ...

Archive for 01/04/16 - 01/05/16

install mssql driver to maven



Download the driver JAR from the link provided by Olaf and add it to your local Maven repository with;
mvn install:install-file -Dfile=sqljdbc4.jar -DgroupId=com.microsoft.sqlserver -DartifactId=sqljdbc4 -Dversion=4.0 -Dpackaging=jar
Then add it to your project with;

  com.microsoft.sqlserver
sqljdbc4 4.0

Instalasi Manual Tomcat dan Jasig SSO

Instalasi Tomcat.

Tomcat adalah Paket opensource dari apache.

Manual installation is highly recommended as you will get latest tomcat version .
Step 1 » Install JDK 7 before installing tomcat.
krizna@leela:~$ sudo apt-get install openjdk-7-jdk
Step 2 » Download latest tomcat version ( Choose latest version from here –Download Apache Tomcat )
krizna@leela:~$ wget http://archive.apache.org/dist/tomcat/tomcat-7/v7.0.54/bin/apache-tomcat-7.0.54.tar.gz
Step 3 » Extract the package and move to /usr/local/ folder.
krizna@leela:~$ tar -xvf apache-tomcat-7.0.54.tar.gz
krizna@leela:~$ sudo mv apache-tomcat-7.0.54 /usr/local/

Step 4 » Choose username and password to manage tomcat and add to the file/usr/local/apache-tomcat-7.0.54/conf/tomcat-users.xml like the below. The below code must be within < tomcat-users > …. < /tomcat-users > tags.
Step 5 » Create a new file tomcat754 in /etc/init.d/ and add the below code. This will create service called tomcat754 . Please change CATALINA_HOME value according to your path.
#!/bin/bash
export CATALINA_HOME=/usr/local/apache-tomcat-7.0.54
PATH=/sbin:/bin:/usr/sbin:/usr/bin
start() {
sh $CATALINA_HOME/bin/startup.sh
}
stop() {
sh $CATALINA_HOME/bin/shutdown.sh
}
case $1 in
  start|stop) $1;;
  restart) stop; start;;
  *) echo "Run as $0 "; exit 1;;
esac

Step 6 » Change the file permission.
krizna@leela:~$ sudo chmod 755 /etc/init.d/tomcat754
Step 7 » Now start the service .
krizna@leela:~$ sudo /etc/init.d/tomcat754 startand issue the below command to start service automatically while booting.krizna@leela:~$ sudo update-rc.d tomcat754 defaults
Step 8 » Now open http://serve-IP:8080 in your browser, you could get the tomcat page like below. you can access admin pages after authentication .

That’s it . you got latest version installed.
content by : http://www.krizna.com/ubuntu/install-tomcat-7-ubuntu-14-04/

Install Jasig CAS server

The first step, install tomcat7 by command:
To install CAS, your machine has to have Tomcat. In ubuntu 14.04, you will easily install Tomcat 7 with command apt-get. It is quite simple, just concern about ssl connection
Next step, you install https for Tomcat. To do that, you need to generate key by using keytool:
Change tomcat config file:
Add content below to server.xml:
Download Jasig Cas 4.0:
Copy war file to Tomcat Web Root:
So now, restart tomcat:
Forward port 443 to port 8443:
Test:
Login CAS with default account: casuser/Mellon
Or you can add new account by editing file: /var/lib/tomcat7/webapps/cas-server-webapp-4.0.0/WEB-INF/deployerConfigContext.xml
Troubleshooting your installation: