Discover automated code deployment, include the articles, news, trends, analysis and practical advice about automated code deployment on alibabacloud.com
Automated Operation Koriyuki Cobbler batch deployment operating system (i)
Note: This article only describes the simple installation and use of cobbler, advanced operation after the time to organize.
Cobbler installed system is an earlier kickstart upgrade version, the advantages are relatively easy to configure, but also comes with a web interface easier to manage, but the installation of Cobbler-web promp
file in memory to run5. Give the system's boot to the file execution, which is equivalent to the bootloader process loaded from the hard disk6. To load the kernel vmlinux and initrd.img, this procedure is as follows:(1) bootloader is grub, which initializes initrd.img into a device/dev/intrd, and then bootloader the kernel and the contents of the/DEV/INITRD into memory.(2) During kernel initialization, the kernel/dev/initrd the contents of the device and copies it to the/DEV/RAM0 device.(3) The
MySQL O M personnel should be clear that online MySQL usually uses source code compilation, because in this way, the function to be compiled can be selected based on the enterprise's own needs, although the MySQL
MySQL O M personnel should be clear that online MySQL usually uses source code compilation, because in this way, the function to be compiled can be selected based on the enterprise's own needs, a
Automated operation and Maintenance series Saltstack Saltstack principle of batch deployment Apache service
Salstack is composed of master and Minion, Master is the service side, represents a server, Minion is the client, representing multiple servers. Sending a command on master to a qualifying minion,minion executes the corresponding command. Between Master and Minion is communicated through ZERO
"state=installed"//install HTTPD, delete is removed [[emailprotected] ~]# ansible web-m service-a "name=" httpd "enabled=" yes "state=" Started ""//Turn on httpd service, power on start [[ Emailprotected] ~]# yum-y install NMAP//Installation scanning software nmap[[emailprotected] ~]# nmap-ss 192.168.1.30,40 Using Nmap half-open scan Nmap Scan report for WEB30 (192.168.1.30) Host is up (0.000090s latency). Not shown:998 closed ports//default scan first 10,000 ports port State service
Just learn python recently, do not want to do something ....
Made an automated deployment of the script, shortcoming.
The following hypothetical database is used together with
The process is as follows:
Local maven Package
upload to Server
Server database library backup
server shutdown Tomcat
Server application backup
Server purge application, work
server boot tomcat
/utils/sshconnection.py, remote Operat
, handlers}/main. ymltouch/etc/ansible/roles/PHP/{defaults, vars, tasks, Meta, handlers}/main. yml
2. compile the httpd module: write a simple tasks/main. yml: * VI/etc/ansible/roles/httpd/tasks/main. yml-Name: Ensure Apache is at the late ST version Yum: PKG ={{ PKG} state = latest definition variable: can be defined in global variables, it can also be defined in the roles role variable, which is generally defined in the role variable * VI/etc/ansible/roles/httpd/vars/main. yml PKG: httpd
3.
Internet, desktop mode canPit 10:360 Browser to use Uirecorder to make calls, you need to put in the C:\360\360se6\Application\360se.exe directory, the original path of the 360 browser-related files copied to the location, automated execution success.However, the 360chrome browser did not succeed.The Firefox browser needs to be placed in C:\Program Files\Mozilla Firefox\firefox.exe. cannot be placed in C:\Program Files (x86) \mozilla Firefox\firefox.
The main reference article "Insect Master" Automated deployment tutorial, but in combination with some of their own circumstances recorded this blog ~1. Preparing the installation package1) JDK;The download and installation process is omitted, I downloaded the jdk1.7 version.2) adtsdk;The SDK downloads a combined version of Eclipse and SDK, and after downloading it needs to update the Android version requir
(($?==0)) then #Echo 'yes!'Systemctl start NFSif(($?==0)) then Echo "congratulations!! NFS Start ok!!" Else Echo "Sorry is Fail!!!" fi Else Echo"Sorry install is Fail!!!" fi elif(($?==3)) thenSystemctl start NFSif(($?==0)) then Echo "congratulations!! NFS Start OK!!!" Else Echo "sorry!!" fielif(($?==0)) then Echo "okokok!!!"Else Echo "I am SO sorry" fiEcho "config
:\Program Files (x86) in PATH \appium\node_modules\.bin6, the installation of Appium-python-client, the premise ofyour python environment is already goodcan be installed through Pip, it is recommended to use pycharm Software Installation, very convenient7. Finally we enter cmd--- input appium-doctor Verify that the Appium test environment is OK:650) this.width=650; "Src=" https://s3.51cto.com/wyfs02/M00/97/E4/wKioL1k0xe-ROiOSAABcJVQIYas648.png-wh_500x0-wm_ 3-wmp_4-s_3793133344.png "title=" ver
I. Deployment Readiness
Platform Requirements:
Operating system: Windows, Linux can
Test Server environment: jre1.5 above, browser (recommended Firefox 3.5)
Testing the Client environment: PHP 5.X
Required Tools:
selenium-server-1.0.3 Download Address: http://selenium.googlecode.com/files/selenium-remote-control-1.0.3.zip
Autotest Download Address: (internal)Virtual machines (no virtual machines can also be installed on this machine)autotest Introduct
OverviewThis example is mainly implemented through cobbler, with the seed script file, to automate the installation and deployment of the Ubunut environment, and install the corresponding software and the corresponding basic configuration, this method can be deployed for large-scale cluster infrastructure such as Ceph.Seed file: An automated deployment profile an
器 - kun only: # 只有在master分支才会执行 - master
Second, the Environment configuration
1. Runner server that performs deployment tasks for project registrations
Because I have already configured, so the following Runner,runner label is more runner perform the task when the identity of the distinction, the subsequent deployment process I will use the label instead of the kun test server to perfor
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.