Step1. Generate a key on Deploynode My current user is ceph, executing commands in the. ssh/directory ssh-keygen -t RSA [email protected]. ssh]$ lsceph.log config id_rsa id_rsa.pub known_hosts will find two files generated under this
Linux Command Learning Notes1. file renamingThe command MV for renaming files or folders under Linux can be renamed, and files or folders can be moved.Example: Renaming directory A to BMV A BExample: Move the/a directory to/b and rename to
Let's start by outlining the 3 main commands for time zone/system time/hardware times.Tzselect#tzselect command mainly for the time zone setting and viewing the abbreviation of #tz=timezone, literal translation = time zone date#date command mainly
1. summarize the use of the commands involved in this course and the relevant examples show:Chmod,chgrp,umask,chown,grep,egrep2. summarize basic regular expressions and extended regular ExpressionsFormat:grep [OPTIONS] PATTERN [FILE ...]
Sometimes my Ubuntu GUI will get stuck, of course you can restart this time, but the best way is to end this desktop processThe desktop is stuck. How do I end the desktop process?We need to open the TTY.Press the keyboard ctrl+alt+f1 or F2 or until
command to enter VIVI FileName: Opens or creates a new file and places the cursor at the beginning of the firstVI +n FileName: Opens the file and places the cursor at the beginning of nthVI + FileName: Opens the file and places the cursor at the
One of the reasons to use multithreading is that it is a very "frugal" multi-tasking approach compared to the process. We know that under the Linux system, starting a new process must be assigned to its own address space, creating numerous data
CentOS 7 configuration GitHub
1. Install Git:
Yum install git
2. generate an ssh-key:
3. log on to GitHub and set ssh keys ~ Copy the content in/. ssh/id_rsa.pub to the key:
4. Create a local test directory and test it to clone the GitHub
In-depth understanding of TCP protocol
TCP is a connection-oriented transmission layer-by-layer protocol that can provide reliable data transmission services for the application layer. The so-called connection orientation is not really a connection,
Bg activates services running in the background, and bg activates the background
Restart by redis
./Redis-server
Ctrl + z pause the executed command in the background
[1] + Stopped./redis-server
At this time, he put the service in the
Research on pthread_cleanup_push () and pthread_cleanup_pop () of sub-threads in Linux, pthreadcleanuppush
Some cleanup work may be performed before the thread exits, but this part of the code will not be placed in the main part of the thread, and
Rotten mud: install and configure haproxy for high load balancing learning, and load balancing haproxy
This article is written by Xiuyi Lin FengProviding friendship sponsorship, first launched in the dark world
For high load balancing software,
[Switch] centos open port 80 and centos80#/Sbin/iptables-I input-p tcp -- dport 80-j ACCEPT #/sbin/iptables-I INPUT-p tcp -- dport 22-j ACCEPT and then save: #/etc/rc. d/init. d/iptables save and check whether there is an existing one: [root @
How to modify environment variables in Linux
In the Linux operating system, sometimes some software is installed in the tutorial. After the installation is successful, I am very happy to prepare to run the corresponding commands of the software, but
In Linux, how does one view the JDK installation path?
On a Linux server, how does one find the JDK installation path? Which of the following methods can be used to find the JDK installation path? Are there some limitations? The following describes
Common awk commands (for conversion) and awk commands
Awk usage: awk 'pattern' {action }'Variable name meaningNumber of ARGC command line VariablesARGV command line meta ArrayFILENAME current input file nameNumber of records in the current FNR
Linux and then go from scratch GTK +-3.0 (6), gtk-3.0
Added a GtkApplicaton class to GTK3 to facilitate processing of Multi-Window programs. With GtkApplication, it is easier to create flexible, easy-to-use, and beautiful interfaces.
In the previous
The first time wubi installed Ubuntu, wubiubuntu
# Installation goals: use the remaining space of the xp Storage to install ubuntu to form a dual system.
Sort out the disk space to be installed
# If you need a non-destructive disk tool and use
Start, stop, smooth start, and smooth upgrade of Nginx
Nginx startupStart nginx and run the following command (default installation location ):/Usr/local/nginx/sbin/nginx-c/usr/local/nginx/conf/nginx. confThe "-c" parameter specifies the path of the
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