First step: Prepare your Account[root@centos7 ~]#getent passwd mysql //查看有没有mysql账号(没有的话需要创建)[root@centos7 ~]#useradd -r mysql -s /sbin/nologin //创建系统账号 shell类型为nologin[root@centos7 ~]#getent passwd mysql
Reprinted from: 50989335Restore demand scenario: Test engineers also want to check the Linux logs, but face a lump of log, in addition to dazzling really no other harvest.Solve demand scenario: Let the keywords in log color or highlight, so that the
When building the Jenkin+sonar integration, jdk1.7 is configured for the system environment, but Jenkins needs to jdk1.8 when installing Sonar's plug-in, so you need to specify jdk1.8 in Tomcat.(1) Pause Tomcat[Email protected] bin]$./startup.sh(2)
Tree-l 1/View root directoryView Sub-disc ls/dev/sda*Application/usr/binData files to help/usr/shareConfiguration File/etc/Startup file/etc/init.dSummary1) All Linux directory bodies are a hierarchical, upside-down, tree-shaped directory structure2)
System Boot Process TroubleshootingIf the system is repaired with grub, then the files under/boot/grub can not be lost, and if the system is not repaired with grub, only grub.conf and splash.xpm.gz are required.Example: If you empty the 512 bytes of
1. Commands with small R parametersCp-rRm-rfLs-r2. Commands with R parametersChown chmod3.MV CP who fastMv4. View commands help What do you think?XXX--helpSee Usage first5. What should I do if the leader asks you to open the Web interface of the
Issue background:When we use the new environment, we need to be familiar with the configuration of our environment very quickly, it is very convenient for us to know some commands. This way you can be more familiar with your environment and do what
First, the need to shut down the Linux firewall (after the restart to take effect)Chkconfig iptables offSecond, download the Linux appropriate version of Tomcat from the official website, I am now down the file for apache-tomcat-8.5.30.tar.gzIii.
14-Week Lesson (May 9)14.1 NFS Introduction14.2 NFS server-side installation configuration14.3 NFS Configuration options14.1 NFS IntroductionThe same data is guaranteed for 3 machines. A high load, in order to share the load, found two servers B and
There are a lot of files about SVN that have been windows for example, because the company did not have Windows server after a day of twists and turns finally the initial installation to learn about SVN. Some of the following experiences hope to
Last episode speaking of NFS server configuration, this article begins with client operations.1 NFS Client MountYum Install-y nfs-utilsshowmount -e 192.168.226.129This IP is an NFS server-side IPmount -t nfs 192.168.226.129:/home/nfstestdir
inotifywait:Waits for a specific file system time (open, close, delete, and so on) on the monitored file or directory to occur, is blocked after execution, and is suitable for use in shell scripts;Inotifywatch : collects monitored file system usage
Simple production Chkconfig startup file1.在/etc/init.d/ 目录下创建一个kang文件vi /etc/init.d/kang# chkconfig: 2345 24 76 #description: This is TESTecho my name is mingkang~备注:chkcconfig:2345 24 76第一列2345:为系统的启动级别,默认都为on
0) Check bash running jobs by jobs1) Push bash job background by BG, push forward by FG2) Toptop-07:56:54 up 1:22, 2 users, load average:0.00, 0.01, 0.05//load average of last min, 5 mins and mins tasks:240 Total, 2 running, 238 sleeping, 0
When we work in a terminal or console, we may not want to occupy the screen because of running a job, because there may be more important things to do, such as reading e-mails. For dense access to the disk process, we would prefer it to run during
To view the program for the port:Netstat-nlap | grep 5004 output: TCP 0 0 192.168.3.000:5004 192.118.201.00:50800 Depending on the process number, view the program's running information, such as the location of the
Today in Jenkins a build, encountered a git download every time you have to enter the account password, so Baidu, use a method, fixI. By way of documentation1. Under ~/, Touch creates a file. git-credentials, edit this file with Vim, and enter the
The file structure of Linux is different from Windows, and there is no partition, it is a tree-shaped structure:/etc: Store configuration file/lib: A library of functions required to compile the program/usr: Contains all other content, such as the
inotifywait: Waiting for specific file system time (open, close, delete, etc.) to occur in the monitored file or directory, blocking after execution, suitable for use in shell scripts;Inotifywatch: collects monitored file system usage statistics,
Ref: 8142527Run the script, there was an error, after opening did not find the so-called ^m, after the check to know that the original file format problem, that is, Linux and Windows are not fully compatible ...Specific details regardless, if
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