1, using ln without parameters, will create a hard link, if you want to create a soft connection, you need to add the-s parameter.LN test1 Test8 5 0 Nov 4: test150 Nov 4 : Test82. Using the-s parameter, a soft connection is created.Ln -15 Nov 4:
In the Linux system programming, when the system call error, there is an integer variable will be set, this integer variable is errno, the definition of this variable in the/usr/include/errno.h file1 #ifndef _errno_h2 3 /*The Includer defined __need_
in Linux, use the pwd command to view the full path to the current working directory. Simply put, you will have a current working directory every time you operate in a terminal. When unsure of the current location, PWD is used to determine the exact
CentOS 7.0 defaults to using firewall as the firewall, where the iptables firewall is changed.1. Close firewall:Systemctl Stop Firewalld.service #停止firewallSystemctl Disable Firewalld.service #禁止firewall开机启动2. Install iptables FirewallYum Install
# total number of cores = number of physical CPUs x number of cores per physical CPU # Total Logical CPUs = number of physical CPUs x number of cores per physical CPU X number of hyper-threads # View the number of physical CPUs cat/proc/cpuinfo|
The kernel boot is required for the necessary startup parameters. No boot automatically starts completely from 0 and requires Uboot to help the kernel achieve relocation and provide parameters.First, Uboo reads the BOOTCMD environment variable from
Used to record the terminology commonly found in Linux synchronization mechanisms;1. Hunger (starvation hungry)Hunger: means that if the transaction T1 blocked the data R, the transaction T2 and request to block R, so T2 wait;T3 also requested a
# # Router # #1 . Router--The main function is to do NATDant Destination Address TranslationSnat Source Address Translation2 . Gateway--The IP on the router and itself on the same network segment3 . Set the GatewayGlobal GatewaySystemctl Stop
The DEVO.PS team's obsession with JavaScript is no secret; node. js as the server side, Angularjs as the client, in a way, our stack is built with it. We build static clients and restful JSON The API approach means that we run a lot of node. js, and
the chmod command is used to change the permissions of a file or directory. In the UNIX system family, the control of file or directory permissions is distinguished by reading, writing, performing 3 general permissions, and 3 special permissions are
Scenario: In an automated deployment script for ease of deployment, place the configuration file on the server side, and each deployment overwrites the uploaded configuration file with the service-side profile.The CP command is used to copy files or
It was almost noon to eat, and then suddenly remembered that samba did not add users. So, he played with Samba.Samba rinsed installed, think of the window inside the continuous click Next, but also beware of hidden in the corner of the binding
1. Overview of IP addresses2. Configure IP AddressView IP AddressBind an IP address on the NICBind multiple IPs on the same NICBind a piece of NIC deviceModify or delete an IP addressIP Address OverviewHere is not much to repeat, refer to the
We are aware that by default the user-created UID is starting from 1000, how should we set the UID to start at 2000?A: Here we need to modify a configuration file:under Super User access,vim/etc/loglin.defs this configuration filefind the
Day of the dog, the recent interview did not Ah, on a written test, not to the labor news, so far 0 offer, alas. Really no interest in learning, especially annoying, I want to fall for a long time, but I dare not, because I have not found work. I
To view the articles on the Web, I will add a new hard disk to the VM virtual machine linuxredhat, the process is as follows:1. Select "VM"----"setting" and open, position the cursor on hard disk, then click the Add button below2. Click Next to
By traceroute we can know what path the information from your computer to the other end of the Internet host is walking. Of course, each time a packet arrives at a similar destination (destination) by a similar starting point (source), the path may
Threading BasicsBecause the address space of the process is private, the system overhead is greater when the context switchesThreads created in the same process share the Process's address spaceTypically threads are worth multiple tasks that share
Configure local yum source for centos and yum source for centos
Each line of code starts when you modify the CentOS-Media.repoDo not have spaces
[C6-media] # library name = CentOS-$ releasever-Media # name Description baseurl = file: //
Install Chinese fonts in Centos6 and centos6
First install the font Management Software
[Root @ localhost ~] # Yum install fontconfig
Place the font to be installed in the/usr/share/fonts/chinese/directory.
If this directory does not exist, you
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