SuSE Kwikis
SuSE APT repositoryhttp://linux01.gwdg.de/apt4rpm/ SuSE KDE RPM repositoriesAdditional updated software for SuSE, including MPlayerhttp://packman.links2linux.de/ Using Java with SuSEQ: I just upgraded to SuSE 9.0 and installed the latest java (1.4.2-03) rpm. But when I type in 'java', it says 'command not found'. Is there some magic to getting the system to use the new Java? A: After installing the Java RPM, you need to create the special java configuration files that SuSE uses to select the correct JVM for use, allowing multiple JVMs to happily co-exist, each being called as needed and appropriate. Basically, you have to provide one (for JRE only) or two (for the SDK, which also contains the JRE) configuration files per Java version (both release and vendor), and put them in /etc/java directory. Then you have to run a SuSE script to let SuSE configure everything the way it likes, and so that all works for you. It took me some time to realise that the names of these configuration files are of no importance at all... So, here my configuration files for Sun SDK 1.4.2, created based on existing SuSE files for java 1.3.1: root # cat /etc/java/j2sdk1.4.2-jre.conf Priority: 20 Vendor : Sun Version : 1.4.2 Devel : False JAVA_BINDIR = /usr/lib/j2sdk1.4.2/jre/bin JAVA_ROOT = /usr/lib/j2sdk1.4.2 JAVA_HOME = /usr/lib/j2sdk1.4.2/jre JRE_HOME = /usr/lib/j2sdk1.4.2/jre JDK_HOME = SDK_HOME = JAVA_LINK = /usr/lib/j2sdk1.4.2 root # cat /etc/java/j2sdk1.4.2.conf Priority: 10 Vendor : Sun Version : 1.4.2 Devel : True JAVA_BINDIR = /usr/lib/j2sdk1.4.2/bin JAVA_ROOT = /usr/lib/j2sdk1.4.2 JAVA_HOME = /usr/lib/j2sdk1.4.2 JRE_HOME = /usr/lib/j2sdk1.4.2/jre JDK_HOME = /usr/lib/j2sdk1.4.2 SDK_HOME = /usr/lib/j2sdk1.4.2 JAVA_LINK = /usr/lib/j2sdk1.4.2 What's the secret command to make it work?After creating these two files, run the SuSE provided script to set the default virtual machine, called surprisingly, 'setDefaultJava' and the appropriate SuSEconfig (SuSEConfig.java) for it to take effect on your next login/shell: root # setDefaultJava --vendor Sun --version 1.4.2 Link removed: /usr/lib/java -> SunJava2-1.3 Link created: /usr/lib/java -> /usr/lib/j2sdk1.4.2 root # /sbin/conf.d/SuSEconfig.java To check that this has worked, close your existing shell and open a new one, and find the version invoked: user> java -version java version "1.4.2" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28) Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode) And you are now able to run arbitrary JVMs with the setDefaultJava command. How to set up SuSE 8.2 & 9.0 for Multiple Network ConfigurationsBy JTruesdale These instructions were written and tested using SuSE 8.2, but they are probably close enough for SuSE 9.0. Please let me know if this is not the case. Linux laptop support in general and PCMCIA configuration specifically have been a huge PITA in Linux. It has been much easier to switch wireless configurations in Windows than in Linux. My experience with Red Hat 9 on my laptop left a lot to be desired. SuSE 8.2 has much better laptop support. Their SCPM tool (see below) enables multiple network configurations for the same card which is pretty darn handy for a wireless card. It works just as well when switching from wireless to wired and back again. Consult the scpm man and info pages for more information. The following steps explain how to add a new wireless configuration for the Saint Louis Bread Company (they have free WiFi access) to an existing SuSE 8.2 installation. Note that if you upgrade from SuSE 8.2 to 9.0 you will have to re-create your SCPM profiles.
If you're at the Bread Company, you should now be able to open a web browser and enter a URL and then connect to it once you have accepted the Bread Company usage agreement. Note that I had problems using the Konqueror web browser until I enabled cookies. Once you've logged in at the Bread Company, you can use any web browser on your machine without having to log in again. If it does not work, here are some things to try/check:
|
||||
|
||||