A journey to linux

Source: Internet
Author: User
A painful journey of linux-general Linux technology-Linux technology and application information. For more information, see the following. Recently, I am engaged in the redhat linux 5.0 AS system, and I have made all my headers big.

1: System Installation
(1) Single-host installation. Start from the optical drive, you can select the text interface installation and graphical interface installation. There are a lot of articles on the Internet. Let's look at it first. next is generally no problem;

(2) install it on a virtual machine. When installing the VM version VM5.0 on the system, select Custom. Select the disk as the IDE interface (scsi is created by default. This problem does not occur when you install VM6.0. After installing the system, we need to install VM tools, which is also a headache. In vm5.0, I encountered the following problem: C head problem. I checked the solution: run the kernel-y install gcc-c ++ kernel-devel command to upgrade the kernel. . My system is not registered, so it cannot be upgraded. In this way, no vm tool is installed. I chose VMware 6.0. No problems were found after installing VM tools after installing the system. The strange thing is that I installed it with an rpm package. The installation progress is 100% completed, but no installation is found. I can install it with the tar.gz package. Dizzy.

2: install tomcat
Jdk 1.5 is installed first, and environment variables (etc/profile) are configured on the Internet ). The result is 1.4.2 when you use commands on the terminal to view the java version. It is installed by default during system installation. The jdk1.4.2 is uninstalled. Check that the version is 1.5. Tomcat uses tar.gz. Run tar-zxvf tomcat directly and then click OK. You can also set environment variables. Add the tomcat communication port to the firewall.

3. Install websphere 6.1 64-bit
Problems with installing websphere v6.1.0.0 on the redhat linux 5.0 AS system and solutions: Install it from the CD and run it in the relevant directory. during/install, the system prompts that the permission is insufficient. Run the command: mount-o remount, exec/media/xx (Note: xx indicates the name of your disc ). Since websphere is installed as a graphical interface, there is no problem along the way. The following problems are found during startup:

Error loading:/opt/ibm/java2-i386-50/jre/bin/libj9thr23. so:
Cannot restore segment prot after reloc: Permission denied

Solve the problem as follows:

To correct this problem, identify the shared library. The Request command is as follows.
Cd installDir/bin
Chcon-t texrel_shlib_t ../jre/bin/*. so
Chcon-t texrel_shlib_t ../bin /*
Chcon-t texrel_shlib_t ../lib /*
Chcon-t texrel_shlib_t ../jre/bin/j9vm/libjvm. so

InstallDir is the standard path of the Java installation directory. (Note: The above files will not appear when you install them directly in the home folder. Why? I don't know)
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.