RPM-IVH mysql-client ... Installation of MySQL client commands, not written complete
1 ls
2 CD
3 ls
4 ls-l
5 Vim
6 CD
7 Ls-l
8 SHUTDOWM
9 Mans
Ten shutdown
Shutdown-h
Reboot
Vim/etc/sysconfig/network
cd
Vim/etc/sysconfig/network
Vim/etc/sysconfig/network
Vim
Vim/etc/sysconfig/network
Vim/etc/sysconfig/network-scripts/ifcfg-eth0
Vim/etc/hosts
Service Iptables Status
Service Iptables Stop
Service Iptables Status
Chkconfig iptables--list
Chkconfig iptables off
Reboot
ls
cd/root/soft/
ls
Ls-l
/jdk-6u45-linux-i586.bin.
ls
Ls-l
CD jdk1.6.0_45/
+ ls
Approx. ls-l
Panax Notoginseng Vi/etc/profile
JAVA_HOME=/HOME/JDK1.7.0_17 Export
Vi/etc/profile
Source/etc/profile
Java-version
Alternative Java--JDK
cd
cd/soft/
cd/root/soft/back to the appropriate directory
MV jdk1.6.0_45//user/local/
MV jdk1.6.0_45//usr/local/Moving the JDK to the appropriate directory
vim/etc//profile/
Vim/etc/profile
Source/etc/profile
Wuyi Java
Javac
History
For I in/etc/profile.d/*.sh; Do
If [-R "$i"]; Then
if ["${-#*i}"! = "$-"]; Then
. "$i"
Else
. "$i" >/dev/null 2>&1
Fi
Fi
Done
unset I
Unset-f Pathmunge
Configure the JDK's path path to run Javac and Java, regardless of directory
Export java_home=/usr/local/jdk1.6.0_45
Export path= $PATH:/usr/local/jdk1.6.0_45/bin
Export classpath=.:/ Usr/local/jdk1.6.0_45/lib/dt.jar:/home/jdk1.6.0_45/lib/tools.jar
Export Java_home PATH CLASSPATH
"/etc/profile" 82L, 1998C
Join the path after extracting Tomcat
Export catalina_home=/usr/local/apache-tomcat-7.0.53
[Email protected] desktop]# vim/etc/sysconfig/network
Bash:vim/etc/sysconfig/network:no such file or directory
[[Email protected] desktop]# CD
[Email protected] ~]# vim/etc/sysconfig/network
Bash:vim/etc/sysconfig/network:no such file or directory
[Email protected] ~]# vim/etc/sysconfig/network
[Email protected] ~]# vim
[Email protected] ~]# vim/etc/sysconfig/network
[Email protected] ~]# Vim/etc/sysconfig/network-scripts/ifcfg-eth0
[Email protected] ~]# Vim/etc/sysconfig/network-scripts/ifcfg-eth0
[Email protected] ~]# Vim/etc/sysconfig/network-scripts/ifcfg-eth0
[Email protected] ~]#
Device= "Eth0"
bootproto= "Static"
Hwaddr= "00:0c:29:c2:4c:c7"
ipv6init= "Yes"
Nm_controlled= "Yes"
onboot= "Yes"
Type= "Ethernet"
Uuid= "C45c12d0-9623-4370-a8ba-3c6347fbce15"
Ipaddr= "192.168.8.251"
netmask= "255.255.255.0"
Gateway= "192.168.8.1"
In Linux, how do I install MySQL?
Way one: How to share folders
Mode two: Local network or bridge connection
Chown Changing the user change owner secure shell==ssh
Chown Bingbing Family
CHGRP SYS family change the owning group
CHGRP-R SYS Family recursive change of owning group
Change together: Chown-r ROOT:BB family recursively changes the owning user and the owning group
CD Family
Ls-l
Note: Changing the user and group to exist
Commands to change permissions
Chmod-x family Remove all execution permissions
chmod u+x Family Add execute permissions to the current user
chmod g+w Family Add Write permission to the owning group
chmod o+w,o+x Family Add write and execute permissions to other users
chmod 754 family to modify permissions by using decimal
Chmod-r 754 Family Recursive change, family the following file will also change permissions
Ls-l
$SU Root Switch User
Su===switch User
Usermod-g Root bingbing change to group, switch to root group
Groups Bingbing viewing groups
Usermod-g Sys,users bingbing Add multiple subordinate groups (Bingbing indicates user name)
Groups Bingbing viewing groups
groupmod-n BB bingbing Modify Group name
17,18s/int/double int from 17 rows to 18 lines is changed to double
R
R: Replace multiple characters
V
V:
Ctrl + V: Enter into the visual block mode
Vi/vim: Commands (important, used to modify configuration files)
Vim: Enter the normal mode state
I: Enter into insert mode
Save exit: Press ESC (Exit insert mode): (colon, enter bottom line mode) Wq write (write to file, not write to cache) exit
Save without exiting:
q!: Force quit, do not save data, do not save exit
IA: In general mode, insert a letter after the cursor
IO: On the next line where the cursor is located
I: The front of the current line
I: The front of the current letter
A: The last face of the current line
A: The front of the current line
O: On the line where the cursor is located
O: On the next line where the cursor is located
Enter the bottom row mode: DD Deletes a row of data
Delete a letter at the cursor: press X
3x, no need to enter insert mode
Set NU Display line number
Save exit: Shortcut key is ZZ, is uppercase, hold down SHIFT, press ZZ (faster)
In the general mode
3DD: Delete 3 rows
: 7,9d Enter Delete 7 to 9 rows
D: Delete Row contents, but save row
YY copy 3yy copy 3 rows
P Paste the following position of the current line
DD: Cut is not deleted, it is placed in the Clipboard
GG: Back to the first line
G: Back to the last line
: 15 Back to 15 rows
Remove DG (d+shift+g) from 16 to end of file
Tab: Shortcut keys for completion commands
Ctrl+r: Quick View History Command, input will automatically match
Ctrl+l===clear: Clear Screen
Compression, decompression: gzip Install.log, gzip-d install.log.gz gzip-9 install.log: Extra "-9", more compression, longer time, less space (time to change space)
Compress a folder: Pack first
Tar: The meaning of Jars and jars,
TAR-CVF Family.tar family/: Packaged into a tar file, the original folder is still
Create Vobs file
TAR-XVF Family.tar: Unpacking RM-RF family: Deleting a folder tar-xvf Family.tar-c
CD ~===CD cd-: Last executed catalog CD ~bingbing into whose directory
-9:
Gunzip: Unzip and gzip-d the same
BZ2: Another form of compression bzip2 AAA: Compressing AAA files
Package and Compress
TAR-ZCVF fa.tar.gz Family: Compress, first pack and then compress
Fa.tar.gz: Getting a name, it's important to say tar packaging, GZ compression
TAR-JCVF fam.tar.bz2 Family: Package and Compress
Ls-l: Displaying files and folders in long file format
Package, unpack
Reboot: Restart
Halt: Shut down the machine
Touch: Create an empty file
MV: Cut
CP: Copy file, plus-r recursive copy
CTRL + C: End the current process
Q: Exit
Ifconfig (as with Windows ipconfig, ipconfig/all)
Eth0: Indicates the network card currently in use, see the MAC address of the NIC
Netstat: Indicates the meaning of network status
NETSTAT-ANPT: Network is the use of TCP shows up
NATSTAT-ANPU: Network protocol is the use of UDP display
Free: The use of memory and swap space
Du-h
Du:disk usage Du-sh:h represents display units
Man du
Df:disk file hard disk information usage
PS: Display the current snapshot
Ps-aus
Ln-s: Establishing a soft connection
Cat: View Content
More Install.log: When a lot of content, paged view, a little bit of 2% view content continue to display by space
Tail-n Install.log: View the end of the content
Cd:change directory to change the meaning of directories, using the CD command, generally with "/" to start, you can use the tab to prompt input
The following is the sharing of files in Windows to a Linux system using the tool software
The file or folder information that is listed, what does that mean?