Archive for March, 2007

Java Enterprise System 5, how to start

Here are my notes on how to start Sun Java Enterprise System 5 after installation:

/opt/SUWNdsee/ds6/bin/dsadm start -i /var/opt/SUNWdsee/dsins1
/usr/lib/cacao/bin/cacaoadm start
/usr/sfw/bin/ant -f /opt/SUNWportal/lib/derby.xml start-instance -DPS_CONFIG=/etc/opt/SUNWportal/PSConfig.properties
/var/opt/SUNWwbsvr7/admin-server/bin/startserv
/var/opt/SUWNwbsvr7/https-<host_domain_name>/bin/startup

On a side note, I realized that I didn’t have enough disk space. So, I used this howto to add a new hard disk.

Special thanks to Raju U for the tip on derby startup command.

Leave a Comment

WOTD: lambaste

lambaste
verb
1 : to assault violently : BEAT, WHIP
2 : to attack verbally : CENSURE

Source: m-w.com

Leave a Comment

WOTD: tantrum

tantrum
noun
a violent demonstration of rage or frustration; a sudden burst of ill temper.
Soruce: dictionary.com

Leave a Comment

A quick way to lookup geolocation of an IP

Here is a quick way to lookup geolocation of an IP. Very simple and cool.

Leave a Comment

Notes on installing Skype on Ubuntu/AMD64

Here are my notes for installing Skype on Ubuntu/AMD6:

1. Download 32bit version of Skype from http://www.skype.com/go/getskype-linux-deb
2. Download 32bit version of libqt from http://packages.ubuntu.com/
3. Install Skype

sudo dpkg --force-architecture -i skype_debian-1.3.0.53-1_i386.deb

4. Install 32bit libraries and linux32

sudo apt-get install ia32-libs lib32asound2 lib32ncurses5 ia32-libs-sdl ia32-libs-gtk lib32stdc++6 linux32

5. Install 32bit libqt

sudo dpkg --force-architecture -i libqt3-mt_3.3.6-1ubuntu6.1_i386.deb

6. (Optional) Check if skype still miss libraries

ldd /usr/bin/skype

7. Run skype

linux32 skype&

Special thanks to Inigo Montoya’s post on this same topic. I’ve expanded it with my notes.

Comments (40)

Howto replace Solaris 10’s Telnet with Solaris 9’s

Personally, I would not use telnet at all. Anyway, here is an extended HOW-TO that builds on top of what Laura V. has done. All the credit should really goes to her. I just added a few step before and one minor change on the second to the last step to complete the HOW-TO.

0. Download and burn the DVD ISO from here.
1. Copy the following two files to the target machine.

scp [DVDROM]/Solaris_9/Tools/Boot/usr/sbin/inetd [USER]@[HOST]:/usr/sbin/inetd.s9
scp [DVDROM]/Solaris_9/Tools/Boot/usr/sbin/in.telnetd [USER]@[HOST]:/usr/sbin/in.telnetd.s9

2. Disable telnet in Soaris 10

svcadm disable svc:/network/telnet
svcadm disable svc:/network/inetd

3. Create /etc/inetd.conf.s9 file with the following content:

telnet  stream  tcp6 nowait  root /usr/sbin/in.telnetd.s9 in.telnetd.s9

4. Start Solaris 9 version of telnet with the following command

/usr/sbin/inetd.s9 -s /etc/inetd.conf.s9

5. Double check if you can telnet from a different machine.

Leave a Comment

WOTD: milieu

milieu
noun
the physical or social setting in which something occurs or develops : ENVIRONMENT
Etymology:mi middle + lieu place
Source: m-w.com

Leave a Comment

UTF support in R

When I tried to compile R on Solaris 10 today, I noticed that R complained that it doesn’t support UTF locales. A check in the documentation showed that UTF-8 should be supported. A closer reading revealed that the example UTF encoding key is in lower case without dash “-”. i.e. “en_GB.utf8“. The default encoding key on the machine I am working on is “en_US.UTF-8“. So, I am not sure if using different capitalization and dash could be a potential cause.

Anyway, here is how I worked around the issue:

export LANG=en_US
export LC_ALL=en_US
export LC_MESSAGES=en_US

Please do let me know if I should do anything differently during configure time. Thanks.

Leave a Comment

How to enable root access on NFS share in Solaris 10

If you don’t care about security and prefer to use only root account across all your machines, including on NFS shared file system, here is how you allow NFS clients root access on a NFS shared file system:

share -F nfs -o rw,root=host1:host2:host3 /nfs_share_dir

Note the root=access_list option defines which host has root access to this specific NFS share.

Source: share_nfs

Special thanks to Greg N. for pointed out share_nfs man page.

Comments (11)

WOTD: persevere

persevere
verb
to persist in a state, enterprise, or undertaking in spite of counterinfluences, opposition, or discouragement
Source: m-w.com

Leave a Comment

Older Posts »