Hanshunping Linux Video Teaching study notes

Source: Internet
Author: User

    learning process for Linux     the course system of Linux version of Unix: version of Linux linux shutdown, user logon, user logoff use of the VI editor Files directory for Linux: Note:The/usr directory is equivalent to the program files on Windows, the default path for software Installation     Management of Linux users Linux RunLevel: Similar to Windows startup mode, Safe mode, normal operation mode, etc. to resolve the method of modifying the error configuration Note: The system does not scan the contents of/etc/inittab files only when the single user mode is started. In addition, user passwords can be modified in single-user mode. Space 1 Press B to restart the system into single user mode Common commands:Find REDIRECT : file owners, groups, and other groups file owner The group where the files are change the group in which the files are Add a group, specify a group file Permissions   Modify permissions for a file or directory Linux installation Java in virtual machines Note: Package The Linux installation package for the software you need to install into an ISO file and then load it into the CD-ROM To mount the optical drive:In/Catalog input: mount/mnt/cdrom/ To unmount the optical drive:umount/mnt/cdrom/ second type of mount-shared folder: installation of Java Note: You need to first copy the software to the/home directory Bin File installation method: 1)./*.bin2) Enter Yes to agree to its terms tar.gz file installation method: TAR-ZXVF *.tar.gz Adding environment Variables1.vi/etc/profile2.3. Log out and re-login to take effect installation and startup, shutdown of EclipseAfter installing Eclipse 1) startx into graphical interface 2) 3) Close, close the Eclipse window directly, and then logout into the text interface Note:./eclipse & Place Eclipse in the background MyEclipse installation and start-up, shutdown1)./*.bin2) automatically enters the graphical interface 3) Select the installation directory for Eclipse 4) Select MyEclipse installation directory 5) Start eclipse (./eclipse) Tomcat installation and startup, shutdown1) Install: TAR-ZXVF *.tar.gz2) Configure Tomcat and JDK location on Eclipse 3) build project, publish, view in browser   MySQL, Oracle installation and startup, shutdown   --------------------------------------------- installation of entertainment software   installation of Realplay1) Install:./*.bin2) Start:./realplay Linux Partitioning several partition-related commands:To view the instructions for which partition a directory is in: [[email protected] ipnet]# Df/boot
Filesystem 1k-blocks used Available use% mounted on
/DEV/SDA1 297485 29486 252639 11%/boot
[[email protected] ipnet]# mount the disk to a directory: mount/dev/sda1/test/uninstall uname/test/ Drive Distinction:[Email protected] ipnet]# fdisk-l

disk/dev/sda:21.5 GB, 21474836480 bytes
255 heads, Sectors/track, 2610 cylinders, total 41943040 sectors
Units = sectors of 1 * MB = bytes
Sector size (logical/physical): bytes/512 bytes
I/O size (minimum/optimal): bytes/512 bytes
Disk identifier:0x0004af36

Device Boot Start End Blocks Id System
/dev/sda1 * 2048 616447 307200 Linux
/dev/sda2 616448 37814271 18598912-up Linux
/dev/sda3 37814272 41943039 2064384, Linux Swap/solaris
You have new mail in/var/spool/mail/root
[Email protected] ipnet]# Note: 1, 2, 3 are primary partitions view files larger than 1G find. -size +1000000 partitioning recommendations for Linux shell-similar to Dos Shell Learning Books recommended Common Shell Categories View the currently used shellEnv Modify Shell Note: To allow the modified shell to take effect, log out Command Completion command HistoryOSI and TCP/IP protocol recommended Books for TCP/IP learningQQ chat to explain TCP/IP: IP Address: How to configure network adapter for Linux Note: This configuration is temporary and will expire after a reboot. RPM Package the name format of the RPM package common commands for RPM installation of RPM packages Upgrade RPM Package installation of Samba services unloading of RPM packages crontab Threads and Processes PS Command Information options for PS Stop process command Kill/killall (Kill the sub-process altogether) TOP description of the top parameter Setting the system time command to display network statistics netstat NETSTAT-ANP ==lsof Traceroute/route MySQL installation of MySQL under Linux notes: Add the MySQL bin path to the root environment variable Note: A logout operation is required after adding an environment variable.or you can add to/etc/profile (this is the system environment variable, each user is applied) file. use of MySQL database back up the MySQL database Note: The current root user does not have a password schematic diagram of the SSH tool Recommended Use ToolsSSH Secure Shell Supplement   set up Tomcat to start when a user logs onModify the. bashrc file under the current user's home directory as follows: Note: If you want all users to do this, you can add commands directly to the/ETC/BASHRC temporarily add environment variables (no more after exiting) wildcard, escape character aliases Linux Start-up process zip compression and unzip decompression gzip compression and Gunzip decompression

Hanshunping Linux Video Teaching study 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.