Sunday, April 29, 2012
Wednesday, April 18, 2012
Install and Configure mod_jk for Apache2
sudo apt-get install libapache2-mod-jk
- sudo vim /etc/libapache2-mod-jk/workers.properties
- worker.list=worker1,jk-status
- worker.jk-status.type=status
- sudo vim /etc/apache2/mods-available/jk.conf
- #Everything under root goes to tomcat
- JkMount /share/* worker1
- JkMount /share worker1
Monday, April 16, 2012
setup UCM
- Runs oracle db 11g XE on 10.10.1.158:1521.
- sudo /etc/init.d/oracle-xe start
- netstat -anpt | grep 1521 to verify listener
- put the following into .bashrc
- . /u01/app/oracle/product/11.2.0/xe/bin/oracle_env.sh
- ORACLE_SID=XE
- sqlplus
- use TNS defined in $ORACLE_HOME/network/admin/tnsnames.ora
- sqlplus system/oracle or sqlplus dev_ocs/oracle
- select * from global_name (for db)
- show user
- Install instant client: install instant client
- creates a doamin ucm_domain
- starts wls admin server: startWeblogic.sh
- starts wls managed server for cs: startManagedLogic.sh UCM_server1 http://localhost:7001/
Saturday, April 14, 2012
Set up Python for Android development
Python Android
adb cmd example
adb cmd example
- Install android-sdk:
- tools:android
- platform-tools:adb
- Create an AVD ("android avd") test1.
- "emulator avd test1"
- sudo apt-get install ia32-libs
- While the above is running, "platform-tools/adb install sl4a_r4.apk"
- While the above is running, "platform-tools/adb install PythonForAndroid_r4.apk"
- Use adb for pushing python code for Android testing.
Tuesday, April 10, 2012
Monday, April 9, 2012
Kerberos
Ubuntu Reference
Admin the KerberosKerberos
ktadd keytab
Server
The‘kadmin.local’
is intended to run directly on the KDC without any Kerberos
authentication. Normal UNIX users cannot execute this command. Executing
the kadmin.local command will display the kadmin.local prompt only if you are the root user.
Client
kinit alfresco/admin@EXAMPLE.COMklist
Admin
kadmin -p alfresco/admin
klist -ef
Python Kerberso
sudo apt-get install libkrb5-devpip install kerberos
Subscribe to:
Posts (Atom)