Linux application and development and learning platform construction notes

Source: Internet
Author: User

Features of the X WinDOS system:

1, independent of the operating system

2. Network characteristics

3. Free source code

UNIX Graphics Environment :

CDE (Common Desktop Environment)

Web applications

1, based on the lamp (linux,apache,mysql,php) website forum and b/S architecture application

2. Linux-based load balancing and clustering (load balance)

3. Linux-based firewall and proxy server

4. Linux-based online game server

Embedded applications

1. Biometric identity System

2. Smart Card System

3, handheld computers, mobile phones, information appliances

4, routers, set-top boxes, digital cameras, MP4

CentOS is a very versatile Linux application, so use CentOS as a learning platform

See more help Documents and program instances

Installation of VMware

NIC Configuration

Bridge mode, I hope the virtual machine can connect to the network, bridging the real Machine network card. The configuration is simple, and the virtual machine communicates directly with the real machine. But it takes up the IP segment of the real machine.

NAT mode, the virtual machine uses VMware's virtual network card, but can only communicate with the real machine, other computers in the LAN cannot connect

host_only, mostly with NAT, but not on the internet

Installation Considerations for VMware:

After the start of the installation completed CentOS, logged into the virtual machine, using the command ifconfig, which does not eth0 this network card display information, this is because the network card is not started, by modifying the/etc/sysconfig/network_script/ Change "Onboot" in Ifconfig-eth0 to "yes" to start. The eth0 IP is configured through the Setup command, which is available at the service network restart. But here's one thing to watch out for. After the virtual machine is installed, a virtual network card will be displayed on the computer (the VMware dedicated network card can be seen through the cmd command ipconfig), note that the network segment of the virtual network card is the same as the IP segment of the eth0, otherwise it cannot be connected.

Uninstallation of VMware

Find Vmwarecleaneron the Internet, their own deletion is not clean, resulting in the installation of VMware after the detection of VMware remnants, can not be installed.

System file directory structure for Linux

Root directory:/

Second level directory: Home Boot etc

CentOS Installation Allocation partition

CentOS6.3 at least 628M of memory to start the graphical installation interface. So the memory allocation is not less than 628

The default file system is EXT4

mount point: Connecting the drive letter and partition together is called the mount point, which is the drive letter under Windows

A famous word in Linux: Everything is a file

Hard disk Partitioning: Logically dividing your hard disk into several different storage spaces

Partitioning rules

Primary partition: Up to 4 only (area code 1,2,3,4)

This is determined by the structure of the hard disk, the hard disk divides the entire space into a single sector, each sector has 512 bytes, of which 448 bytes are used for storage, the remaining 64 bytes as a partition representation, where 16 bytes represent a partition, so the primary partition can only have 4.

Extended partitions: Up to 1 can be used to partition logical partitions and only start with partition number 5

The primary partition + extended partition has a maximum of 4.

Cannot write data, only logical partitions are included

For example, you have a 4 compartment of the wardrobe, but suddenly found that 4 of the space is not good points, so took out a compartment to divide between the cubicle.

You can divide up to 23 logical partitions (26 letters-A and B (floppy drive letter), C (System drive letter)).

There is a certain way of playing the lattice in the closet (formatted)

Necessary partitions:

1. Root partition \

2, swap partition when the memory is not enough, used to do memory (4 G real machine memory in the operating environment allocated its twice times, more than 4G and its size, the experimental environment not more than 2GB)

FAT32 file system limits a single file to no more than 4 G

3, recommended partition: \boot partition (200M), if not the root directory in the same place, the root directory occupies a large size, boot partition has no space, boot problem

NTFS is more advanced in Windows. The partition is not divided, and a point must be the first partition, because the launcher is in the first partition

Formatting

Format is to write to the System file system (wardrobe and other size compartment)

If a small compartment (block) is a 4kb capacity, if there are 10kb of files, then to save 3 compartments, the last compartment of 2kb do not.

File list

Permissions (whether users can access), ID number (iNode), modification time

File naming for Linux

/DEV/HDA1 (HD represents the IDE hard disk interface, a represents the first hard disk, 1 means the first partition)

/DEV/SDB1 (SD means SCSI hard drive interface, SATA hard drive interface, B indicates second hard drive)

Linux application and development and learning platform construction notes

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.