How to start vmware openSUSE in text mode

For dev/test purpose, text mode is enough for openSUSE, just remote login from ssh session, so would be great to start openSUSE in text mode. 1) change default run level to 3 in /etc/inittab 2) have to re-create softlink for default.target manually # ll /etc/systemd/system/default.target /etc/systemd/system/default.target -> /lib/systemd/system/runlevel5.target # rm …

Install Jython on openSUSE

1) download jython installer jar from http://www.jython.org/ 2) install jython in /usr/local in console mode without GUI /usr/local # java -jar jython-installer-2.5.3.jar –console Welcome to Jython ! You are about to install Jython version 2.5.3 (at any time, answer c to cancel the installation) For the installation process, the following …

Install jdk 7 on Solaris x86 64bits

1) download jdk download *.tar.gz from Oracle Java site, this version can be unpacked at local location, don’t need to uninstall current default jdk on system. jdk-7u-linux-i586.tar.gz JDK 7 jdk-7u-linux-x64.tar.gz JRE 7 64 bits 2) unzip jdk cd /usr/jdk/ gunzip *.tar.gz|tar xvf – /usr/jdk/jdk-1.7.0_21 // new jdk 7 3) remove …

Install jdk 7 on openSUSE

1) download jdk 7 rpm from http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html dreamcloud-opensuse:/home/oldhorse/Downloads # cd /root/Downloads/ dreamcloud-opensuse:~/Downloads # ls .directory jdk-7u21-linux-x64.rpm 2) install jdk rpm using zypper dreamcloud-opensuse:~/Downloads # zypper in jdk-7u21-linux-x64.rpm -y Loading repository data… Reading installed packages… ‘-y’ not found in package names. Trying capabilities. No provider of ‘y’ found. Resolving package dependencies… …

bash profile setup for openSUSE and Solaris 11

The global setting change can be added to /etc/profile, this will be refreshed on next user login; or /etc/bash.bashrc(openSUSE) or /etc/bash/bashrc, this will be refreshed on next bash shell started. I prefer use bash profile. openSUSE setup add change at end of /etc/bash.bashrc Solaris 11 x86 add change at end …