Linux Learning note 2:linux Software Installation under Java development

Source: Internet
Author: User
Tags ide hard drive

One, the Java EE Development Environment Construction 1, the JDK installation step (1) must first have the installation file, the specific can go to the related website to download, and produces the ISO file (2) mounts the ISO file to the Linux system, and on the virtual machine set up the ISO file path. (3) mount/mnt/cdrom/mount command umount/mnt/cdrom/Uninstall command (4) Copy the files that need to be installed to the/home directory CP file name/home (5) and then switch to the/home directory before performing (6) the Mounting (6) installation is "./filename".

(7) Although the installation is good, but if the system has a previous low version, then it may be used in the previous version, then how to use our newly installed version? This requires viewing a profile/etc/profile "Environment Profile" (8) Vi/etc/profile View the Environment configuration information, locate the Java_home field, and modify the newly installed path (9) java_home=/home/j2sdk1.4.2 _07 path= $PATH:/home/j2sdk1.4.2_07/bin classpath=.:/ Home/j2sdk1.4.2_07/jre/lib/rt.jar Export Java_home PATH CLASSPATH

2, the installation of Eclipse (1) must first have installation files, specific to the relevant website to download, and the production of ISO files (2) to attach the ISO file to the Linux system, and the virtual machine on the ISO file path set. (3) mount/mnt/cdrom/mount command umount/mnt/cdrom/Uninstall command (4) Copy the files that need to be installed to the/home directory CP file name/home (5) and then switch to the/home directory before performing (6) the Assembly (6) Installation: TAR-ZXVF???. tar.gz[file name] Install now and an Eclipse folder will appear after installation, ready to start eclipse. (7) Start Eclipse: First enter the GUI startx command and then use the console CD to execute./eclipse start eclipse under the Eclipse installation path just installed.

3. Install the MyEclipse (note must be installed in the graphical interface) (1) must first have installation files, specific to the relevant website to download, and the production of ISO files (2) to attach the ISO file to the Linux system, and on the virtual machine set the ISO file path. (3) mount/mnt/cdrom/mount command umount/mnt/cdrom/Uninstall command (4) Copy the files that need to be installed to the/home directory CP file name/home (5) and then switch to the/home directory before performing (6) the Assembly (6)./myeclipse

4, install Tomcat (1) must first have installation files, specific to the relevant website to download, and make ISO file (2) to attach the ISO file to the Linux system, and on the virtual machine set the ISO file path. (3) mount/mnt/cdrom/mount command umount/mnt/cdrom/Uninstall command (4) Copy the files that need to be installed to the/home directory CP file name/home (5) and then switch to the/home directory before performing (6) the Load (6) TAR-ZXF file name can be

5, the installation of the database

6, Linux partition First of all, we want to make some preliminary understanding of the basic concept of hard disk partition, the partition of hard disk is divided into basic partition (primary partion) and extended partition (extension partion), the sum of basic partition and extended partition cannot be more than four. And the basic partition can be used immediately but not in the partition. The extended partition must be partitioned before it can be used, meaning it must also be partitioned two times. So what's the extension partition going to do? It is a logical partition (logical partion), and there is no limit on the number of logical partitions.

Mount command: Mount [-parameter] [device name] [mount point (typically under which directory, such as/mnt/)] Uninstall command: Umount

The DF [-parameter] command is to view disk usage, such as the df-l/df-h DF [directory full path] command to see which partition a directory is under. It's important.

The Fdisk-l command is to view the Linux system partition specifics: Description: For IDE hard drives, the drive identifier is "hdx~", where HD represents the type of device on which the partition resides, that is, the IDE hard disk. X is the disk number (A is the basic disk, B is the base slave disk, C is the secondary primary disk, D is the secondary slave disk), ~ represents the partition, the first four partitions are represented by the number 1-4, they represent the primary or extended partition, and starting from 5 is the logical partition. If Hda3 is represented as the third partition or extended partition on the first IDE hard disk, and for SCSI hard drives, the drive identifier of the SDX~,SCSI hard disk is the type of SD that represents the device on which the partition resides, and the rest is the same as the IDE hard drive representation. such as:/DEV/SDA1 SD represents a SCSI hard disk, the hard disk is divided into IDE and SD hard disk two. A represents the first hard disk, and 1 represents the first partition.

7. Installation of Linux (1) Standalone installation

(2) virtual machine installation 1) First install a virtual machine 2) Install LINUX:A. To prepare the installation file B.linux installation, partition is the key: generally first A/boot partition 100M, followed by swap partition is generally your physical memory twice times and not more than 256M, Finally the/root partition is generally as large as possible

Linux Learning note 2:linux Software Installation under Java development

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.