One, temporary configuration network (IP, gateway, DNS)Ifconfig View Network ConfigurationModify the IP address ifconfig ens33 192.168. 255.129/ ENS33 nic name, 192.168. 255.129/24 is the IP address/subnet mask to configure Two , Permanent
Introduction to Linux system servicesIn a Windows system, we can open Task Manager to open or close some services. There are also requirements under Linux, so how does Linux open "task Manager" like Windows?There are two ways to tune service startup
1. Installation command# yum install MySQL-server mysql2. See if the installation is correct--list mysqld3. Start(1), start the service:# service Mysqld Start(2), Stop the service:Shutdown(3), join the boot start:On(4), remove boot:Off(5), to see if
There is an application firstgrep and SED mates replace strings in a fileCommand:Sed-i s/yyyy/xxxx/g ' grep yyyy-rl--include= "*.txt"./'function: Replace the YYYY string in all txt files in the current directory (including subdirectories) with the
logically all directories have only one item point / (Root), starting point of all directoriesBelow the root resembles an upside down tree[[email protected] ~]# tree-l 1/ # View root directory tree below / # store
Use CentOS 7,virtual in Virtulbox on Mac to choose Redhat, because the two are the sameInstalled after the "Linux bird Brother's private dishes" command to play, like Bzip2,dump and other orders are not, groped for their own installationFinally
The following are practice actions under UbuntuChange DNSEdit the file-"/etc/resolv.conf", open "Terminal Application"-"Accessories"-"terminal", enter the following command in the terminal: sudo nano/etc/resolv.conf Some files automatically change
Linux Common CommandsVI. Network Commands1. Write [ online username ] to send messages to users logged in at the terminalcan be used first W.H.O. command to view online users650) this.width=650; "Src="
A. Find commandbasic format:Find path expression 1. Search by file name(1) Find/-name httpd.conf #在根目录下查找文件httpd. conf, which indicates that the entire hard drive is found(2) Find/etc-name httpd.conf #在/etc directory file httpd.conf(3)
I don't know if anyone like me is an idiot to Linux, so I'm sorry. Why didn't you choose Linux? How to install JDK on Linux system1. First look at the existing JDK in the system (generally the system has its own, we need to uninstall first)#rpm-qa
1. Partitioning,View disk usage: fdisk-lPartition to disk: Fdisk/dev/sdb2. Create PVPVCREATE/DEV/SDB1View PV:Pvdisplay3. View VGVgdisplay---Volume Group---VG Name VolGroup004. Expansion of VGvgextend volgroup00/dev/sdb1Volume Group "VolGroup00"
Tag:existing system administrator
View, modify host name hostname View host name, temporarily change hostname, permanently change host name vi/etc/sysconfig/network Change the hostname field to the user's desired
OSWatcher solves small and medium problems
This article describes how to solve the two problems encountered during the use of OSWatcher. If you have a better method, please leave a message.
1: After OSWatcher sets the parameter OSW_COMPRESSION to
Common linux commands and common linux commands
Linux commands for file and directory management
Command
Function
Command
Function
Pwd
Show Current Directory
Ls
View contents in the directory
Cd
Change
[CNMP series] explanation of VIM editor and cnmpvimOrigin
I used Linux Kernel Driver R & D in college. I used the Vim editor to write C language. Vim was not as powerful as today, and there were not so many plug-ins at that time, I just think this
Common Linux commands
System Basics
Use the environment variable of the root user to switch to the root usersu -
Show current working pathpwd
Display the default language and keyboard layout of the current systemlocalectl
Display All languages
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