MD5 encryption algorithm source code download: Https://pan.baidu.com/s/1nwyN0xVAfter the download is complete, unzip and get two filesEnvironment Construction:1. Copy the Md5.h file to the/usr/include/directorysudo cp md5.h/usr/include2. Compile and
Linux version: 64-bit CentOS 6.4Nginx Version: nginx1.8.0PHP Version: php5.5.28SQL Server version: 2008FreeTDS version: 0.95For Linux environment Installation nginx+php reference Linux environment Nginx installation and debugging as well as PHP
The last time we wrote the detailed steps to install the virtual machine partition, this time we will learn some common commands and hotkeys, because the author level is limited, there are mistakes in the wrong place to ask the reader, I will
standard input and output redirection-- any command executed under Linux will go through the process shown:
Directory
Three types of I/O devices
Redirect I/O to a file
Tr
Using the Pipe link command
Practical
TensorFlow is a deep learning framework with two installed versions to choose from:
TensorFlow with the CPU support is only recommended to install this version because it is easy to install and very fast (installs in just 5-10 minutes).
One: the generation and development of Linux1. In 1946 the University of Pennsylvania produced the first computer Eniarc. Operation 5,000 times per second but still defective. First, the user exclusive whole machine, resource utilization is low.
** linux的产生**1. In 1946 the University of Pennsylvania produced the first computer Eniarc. Operation 5,000 times per second but still defective. First, the user exclusive whole machine, resource utilization is low. Second CPU to wait for manual
CPU Total Cores = number of physical CPUs * Number of cores per physical CPUTotal logical CPUs = number of physical CPUs * Number of cores per physical CPU * Number of hyper-threads~]# Cat/proc/cpuinfo | grep name | Cut-f2-d: | Uniq-c
Ifconfig command
View and configure network status commands
Turn off and start the NIC
Ifdown NIC Device Name
Disable the NIC device
Ifup NIC Device Name
Enable the NIC
I. File permissions and directory permissions in Linux Linux defines 3 access rights, namely R, W, X. where r indicates that the object is readable, w indicates that the object is writable, and X indicates that the object is executable, and that
Main purpose/boot storage System boot required files, including kernel, boot configuration/bin,/sbin store various command programs/dev stores various device files such as hard disk, keyboard, mouse, optical drive, etc./etc store configuration files
1. Use the SED command to print out the IP address of the ifconfig ens33Solution: (1) ifconfig Ens33 | Sed-n ' 2p ' | Sed ' s/.*inet//' | Sed ' s/netmask.*//'(2) Ifconfig Ens33 | Sed-n ' 2p ' | Sed-r ' s/.*inet (. *) netmask.*/\1/'(3) Ifconfig Ens33
In writing shell scripts, we often have to deal with some input parameters, it is more convenient to find getopts in the process, and can handle the parameters and parameter values of user input very well.Getopts is used to process user input
Linux batch kill mysql process, linux batch killmysql
It is often the case that a process needs to be forcibly killed, but if the process starts many sub-processes, it must kill all the processes that come out of ps aux, if one kill is
Linux nginx configuration file details, linuxnginx configuration file
# Run user nobody; # start the process. Generally, worker_processes 1 is set to the same number as the cpu; # global error log and PID file # error_log logs/error. log; #
Migration to Linux: getting started
This new article series will help you migrate data from other operating systems to Linux.
The computer systems running Linux are everywhere. Linux runs a variety of Internet services, such as Google search and
Migrate to Linux: disks, files, and file systems
Installing and using Linux on your main desktop will help you quickly familiarize yourself with the tools and methods you need.
This is the second article in our migration to Linux series. If you miss
Linux system programming: Get the glibc version, linuxglibc
My environment is ubuntu16.04
Glibc Official Website: http://www.gnu.org/software/libc/libc.html
Method 1. Generally, programs that involve library calls are linked to glibc during the link.
How to automatically wake up and shut down Linux, wake up and shut down Linux
1. System sleep (crontab)
Example (create a root scheduled task to shut down at every night ):
1 # crontab-e-u root2 # m h dom mon dow command3 15 23
User Logon Restrictions, locks, and kicks out; User Logon Restrictions and locks
This article uses SSH as an example to configure PAM to implement the corresponding authentication function. Other login methods are similar in configuration. For
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