Friday, April 3, 2009
Wednesday, April 1, 2009
Disable directory listing on Glassfish!
access domain folder, point to config/default-web.xml
Modify:
<init-param>
<param-name>listings</param-name>
<param-value>false</param-value>
</init-param>
Modify:
<init-param>
<param-name>listings</param-name>
<param-value>false</param-value>
</init-param>
Sunday, February 15, 2009
install scim Ubuntu
Select scim from Synaptic ...
#nano /etc/environment
export XMODIFIERS="@im=SCIM"
export GTK_IM_MODULE="scim"
export XIM_PROGRAM="scim -d"
export QT_IM_MODULE="scim"
#nano /etc/environment
export XMODIFIERS="@im=SCIM"
export GTK_IM_MODULE="scim"
export XIM_PROGRAM="scim -d"
export QT_IM_MODULE="scim"
Tuesday, February 10, 2009
Lib nessesary when install virtual box
sudo apt-get install linux-headers-`uname -r` build-essential xinetd
Monday, February 9, 2009
Install Ubuntu server 64 bit - VirtualBox
Open Settings of VirtualMachine, choose General/Advance/ , enable PAE/NX
Done!
Done!
Saturday, January 31, 2009
Config Postgres from binary packages on OpenSolaris
Download binary package from
http://www.postgresql.org/ftp/binary/
Choose package for solaris
Extract package
Open terminal
Point to package folder/bin
Check library link to initdb
#ldd initdb
if you see some line "Find not found", you can find it in /usr/lib
If in /usr/lib not contains that file, you can copy some file latest version back to version required
Initializing DB
#./initdb //data
using PgAdmin 3 login in to db, using current user you logged in.
Good luck!
http://www.postgresql.org/ftp/binary/
Choose package for solaris
Extract package
Open terminal
Point to package folder/bin
Check library link to initdb
#ldd initdb
if you see some line "Find not found", you can find it in /usr/lib
If in /usr/lib not contains that file, you can copy some file latest version back to version required
Initializing DB
#./initdb /
using PgAdmin 3 login in to db, using current user you logged in.
Good luck!
Subscribe to:
Posts (Atom)