there is now no MySQL in the Centos7 yum source and can be installed directly. Mariadb replaced it with a.so if we want to install MySQL database, we can use the following methods# wget
1.Linuxthe process ina process is an instance of program execution and is the smallest unit of system resource scheduling. If the same program is run by multiple users at the same time, the program has a number of relatively independent processes,
WHOAMI---Current userPWD---show current directorycd/----Starting directory (root directory)LS-----ViewBlue Stands for DirectoryLight Green Representative fileLs-l-----A detailed list under current directoryD begins with the directoryNot with D is a
Personally think that an OPS person should be the most expected day of work schedule:40%, deal with urgent and important matters, 60%, carry out important non-urgent work. Urgent important is easy to understand, in fact, is to save the class work.
Https://www.cnblogs.com/cobbliu/p/3627061.htmlA timing function for Linux to get the current time:
Time (2)/time_t (SEC)
Ftime (3)/struct TIMEB (ms)
Gettimeofday (2)/struct Timeval (μs)
Clock_gettime (2)/struct Timespec
First, study notes:1. Interrupt processing: Includes clock interrupts, I/O interrupts, system calls, and exceptions. Call the schedule () function directly, call Schedule () based on the need_resched tag when the process is found in the queue and
command-line environment to know the Linux system in a folder and its containing the actual amount of space occupied by the file, the Linux command du can be very good to meet the requirements.I do not write all of the other uses, I think it will
file Find Description:Find eligible files on the file systemLocate: Non-real-time lookup, through the database to find, high efficiency, can be used to find more fixed filesDepending on the/var/lib/mlocate/mlocate.db database file, the files created
One, the concept of Disk Management:Linux system is a multi-user task operating system, when using the system, there will be multi-user common use of a disk, if a few users occupy a large amount of disk space, it is bound to compress other users
Download gitRegister your account on the GitHub websiteCommand line:git clone download online code to local directoryGit add to add project files that need to be submittedGit status detects directory submission statusGit commit commits the local
1: Single User environment variable settingUser Directory e.g/home/michael/below. Bash_profile is the configuration that is read when logging in.. BASHRC is the configuration to read every time bash starts./home/enovia_dev#. bash_profile# Get the
Yum (Yellowdog Update Modifier) rpm front-end program to address package-dependent dependenciesTurn on the mount before building and set it to bootMount the disc to/MISC/CDYum configuration fileDelete or back up the system's own configuration files
First, Linux:1. View instructions for all environment variablesMethod 1:$:export (Export command is to display, set, or delete Linux environment variables ;)Method 2:$:env2. View a specified environment variableMethod 1:$:export PATHMethod 2:$:echo $
1. Linux commands,
I. Linux development board operation commands1. view the command:System related:** Task Manager: gnome-system-monitor** SEARCH Command: findInstance: find-name gpio * search for files starting with "gpio" in the current
Linux yum and linuxyum
Yum (Yellowdog Update Modifier) rpm front-end program, which can solve software package-related dependencies
Enable mounting before building and set it to boot
Attach the cd to/misc/cd
Yum configuration file
Delete
Linux samba server configuration, linuxsamba
Disable selinux and firewall first.
Create a mount point
Mkdir/opt/gua
Attach a cd
Mount/dev/cdrom/opt/gua/
Enter the Directory
Cd/opt/gua/CentOS/
Install the samba Service
Rpm-ivh samba-3.0.33-3
View the hardware information of the system in Linux (for example, Centoso for some instances ).
1. cpu
# Lscpu command to view cpu statistics (not supported in some earlier versions)
Disk /dev/sda: 64.4 GB, 64424509440 bytes255 heads, 63
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