need to send the key to the production environment host2. Upgrade and RollbackUpgradeAnsible-playbook/home/app/api.yml-vRolling backAnsible-playbook/home/app/api-rollback.yml-vAnsible-playbook followed by the Yml file path written earlier,-V is to display detailed execution information3. AttentionIf you perform an upgrade and rollback of the yml file in Jenkins, be sure to send the public key of the Jenkin
operation and Precautions 1. Key-free operation before upgradeAnsible host 192.168.13.45#在app用户下生成密钥ssh-keygen-t rsa# Send the public key to the test environment ssh-copy-id-i. ssh/id_rsa.pub [email protected] #发送公钥到生产环境ssh-copy-id-i. ssh/ id_rsa.pub [email protected]Production Environment Host 192.168.13.51#在app用户下生成密钥ssh-keygen-t rsa# Send the public key to the test
With Ansible also has more than two years, before doing the initialization work is in the Kickstart configuration file with their shell script initialization system environment, now the operation and maintenance environment is different, the pre-system installation work to the IDC department to deal with, What I can do here is to initialize my favorite operations
path, and classpath, which needs to be set when setting up the JDK, where the path variable refers to when the system's interface receives a program start command, in addition to the default in the current directory to find the executable file unexpectedly, but also need to find those places. With this setting, you don't have to go into that directory to execute that program. The CLASSPATH variable is simi
confused you are.
The most common environment variables are PATH and ClassPATH. You need to set them when setting jdk. the PATH variable here refers, when the system interface receives a program startup command, in addition to finding the executable file in the current directory by default, it also needs to look for the location. With this setting, you do not ne
The Path Environment Variable affects dll search when it contains a non-existent path.
In Windows, according to The MSDN document, in some cases, when an application is running, it searches for the required dll in the directory specified by the Path environment variable. If
path, and classpath, which needs to be set when setting up the JDK, where the path variable refers to when the system's interface receives a program start command, in addition to the default in the current directory to find the executable file unexpectedly, but also need to find those places. With this setting, you don't have to go into that directory to execute that program. The CLASSPATH variable is simi
the current environment, but the source is in the current Shell process, so we can see the change in path.This way you learn how to modify the environment variable path path under the Linux system.1, under the Windows system, many software installations need to configure environme
1. Environment variable (PATH)In Linux, when the command is executed, the system will follow the path's settings to search for execution files under the paths defined by each path, and the first files to be searched are executed first.We know the instructions for checking the properties of a file ls full file name:/bin/ls (This is the absolute
Linux knowledge point Review: Environment Variable PATH, linux knowledge point path2.10 introduction to the PATHwhich command for Environment Variables
Which can view the path where the command is located. which queries the path through the following
6, which defaults to 6.
$GOMAXPROCS is used to set the number of processors and the number of cores that the application can use, as described in section 14th. 1.3.
In the following chapters, we will discuss how to install the Go language on Linux, Mac OS X, and Windows. The installation on FreeBSD is very similar to Linux. The development team is trying to port the go language to other examples such as OpenBSD, Dragonflybsd, NetBSD, Plan 9, Haiku, and Solaris, where you can find the l
Method One:Path= $PATH:/etc/apache/binThis method is valid only for the current session, and each time you log off or take out the system, the setting is invalidMethod Two:Vi/etc/profileWrite in the appropriate location: path= $PATH:/etc/apache/bin$PATH is the default system enviro
Method one: In batch, modify environment variables, once valid (that is, in the current script is valid)Run in cmdSet path==%path%;d:/mypathUse set path to view the current environment variablesMethod Two: Batch processing, modify the en
Everyone who has installed JDK knows to set the environment variables after the installation is complete. But why should we set the environment variables? What is the role of environment variables?
1) detailed explanation of path:
After JDK is installed on the computer, the computer cannot run commands such as "javac"
Configure the picture virtual directory on Tomcat and add it under Tomcat under Conf/server.xml:Access Http://localhost:8080/pic to access images under D:\develop\upload\temp.You can also configure through eclipse, such as:Copy a picture to the folder where the picture is stored, using a browser to accessTest effects, such as:Localhost:8080/pic/1.jpgA new access Path (virtual path) in the Web
.~/.bash_profile (typically add user-level environment variables to this file)(Note: Linux is. BASHRC and Mac is. Bash_profile)This file will not be read until the bash shell is executed in login mode. The file is only executed once! By default, he sets some environment variablesI am here: Set the terminal color,I am here: set command aliases alias Ll= ' Ls-la 'I am here: Set
dedicated to their own use, and when the user logs in, the file executes only once!Setting the Android ADB environment variable1, to the local path of the Android SDK,ADB command under Platform-tool, credited as xxxxMy path is (/applications/eclipse/android-sdk-mac_x86/platform-tools)2. Open Terminal inputTouch. Bash_profileOpen-e. Bash_profile Point Enter3. Add
. Bash_profile)This file will not be read until the bash shell is executed in login mode. The file is only executed once! By default, he sets some environment variablesI am here: Set the terminal color,I am here: set command aliases alias Ll= ' Ls-la 'I am here: Set environment variables: Export Path=/opt/local/bin:/opt/local/sbin: $PATHMAC Modify Host File------
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.