In Linux systems, password-free login is a common feature, especially in shell scripts. The actual production has been equipped with many times, but also to help others to solve the problem of landing failure; it is easy to find this feature, but
The beginning of the script needs to use #!/bin/bash to start the script, in the script, it is best to use the # comment comments, develop good habitsIn the system, the default is a variable reply variableIn declare you can define the type of a
1. View the total size of the folder[Email protected]/]# du-s/Home9925720/home[Email protected]/]# Du-sh/home9.5g/home2. Copy and paste a folderSyntax: CP [parameter] original file name or directory destination file name or directoryAs an
Boot process and service control Requirements: ? Set the Linux system to automatically enter the character mode interface after each boot. Steps: Edit the/etc/inittab file to change the default run level to 3. : 650) this.width=650; "Style="
1, download the installation version Putty2. Create a new remote connection address, save3. Log in to the connection address of the virtual machine, set up the. SSH directory (hidden) into the directory4. Create a new public key file Authorized_keys,
Yum Local Source configurationTags: centosplugins network file virtual machine Linux2011-10-09 21:40 12093 People read Comments (1) favorite reports Classification:Linux YumOn the internet to find a lot for the CentOS 6 configuration local Yum
First of all:Click VMware Edit, Virtual network editor:Then check VMnet8 's view NAT settings:The second step ( note the gateway address and subnet mask in the red box ):Step three ( for setting the virtual machine address range ):The next step is
Yum Install-y Samba Samba-client
Configure configuration files for SMBVim/etc/samba/smb.confModify Workgroup=workgroup
Example 1 (share a directory, anyone can access it without entering a password, but requires read-only)Change the
How to compile the Opus audio codec library for Android, androidopus
The Opus audio codec library is the next generation of the Speex audio codec library. It has made great progress in terms of codec performance and quality. The compilation of Opus
Cache Memoryry in CentOS
What is cache Memory in linux? When you read and write files, the Linux kernel caches the files in the Memory to improve the Read and Write Performance and speed. This part of the Memory is Cache Memory ). The Cache Memory
Three special permissions in CentOS1. Three special permissions are described in detail. Linux introduces three special permissions, suid, sgid, and sticky, to control files more conveniently, effectively, and securely. When a special suid
Centos6.5 install Redis2.6.16Download and decompress
Wgethttp: // redis.googlecode.com/files/redis-2.6.16.tar.gzTar zxvf redis-2.6.16.tar.gzMusic redis-2.6.16 redisInstallation Process/bin/sh: cc: command not found Error
Run the make command in the
View memory usage in CentOSBackground
After MySQL was installed last time, tomcat + nginx was installed these days, and two small websites were run. then, continuous integration of git + jenkins can automatically publish the code on github in
Rename the NIC name in centos7.x/RedHat7.x
On CentOS7.x or RedHat7.x, the NIC naming rule is changed to default, which is automatically determined based on the firmware, topology, and location information. In this way, although there are benefits,
Linux inter-process communication (IPC) programming practices (11) System V semaphores-implement a first-in-first-out shared memory shmfifo
MQ can be used to implement first-in-first-out (FIFO) of messages, but it is faster to implement
Monitoring iostat data using ShellIn performance testing, iostat monitoring data is too bad to display and looks very painful. For example, to display the appearance, write a shell script for transformation, as shown below:
#! /bin/bashinterval=1if [
Linux Unit 1####### Linux system structure ####### 1. linux system structure is inverted tree 2. /bin # binary executable commands, that is, system commands/sbin # storage location of system management commands/boot # Start the partition,
Configure LAMP and linuxlamp in linux
1. Install apache2
Apt-get install apache2
2. install PHP
Apt-get install php5
3. Install MYSQL
Apt-get install mysql-server mysql-client libmysqlclient-dev
You can check the port status through netstat-tap |
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