Installation of walle Automation deployment platform
Change the address of the blog to http://www.gergw.top
Walle-Wall-E is an online deployment system that supports svn, git, multi-user, multi-project and multi-environment simultaneous deployment.
Compared with jenkins, its project configuration is simpler, rollback is faster, permissions are graded and user grouping functions are more perfect; UI interface is more elegant and user experience is more humane, which greatly facilitates the continuous delivery and development of developers and managers. Support a variety of web language code distribution, php, python, java and so on.
Its biggest feature is that the branch of the git version, tag can be customized in testing, pre-release, production environment deployment. Developers and test students collaborate to launch online, whether it is milestone or feature small-step quick walk online.
First, basic preparation
Mkdir-p / data/www
Cd / data/www
Wget https://codeload.github.com/meolu/walle-web/tar.gz/v0.9.5 / / suggest downloading it directly from the official website and then push it to the server.
Tar-zxf walle-web-0.9.5
Mv walle-web-0.9.5 walle-web / / modify the directory name to facilitate identification
Second, install lamp or lnmp environment / / this article adopts lnmp environment and php version at least 5.4 or above
Create the database and change the root password
Mysql / / Log in
CREATE DATABASE walle; / / create database walle
UPDATE mysql.user SETPassword=PASSWORD (123456) WHERE User='root'; / / Update root account password to 123456
FLUSH PRIVILEGES; / / refresh takes effect quickly
Quit
Fourth, install walle-web
Vim/data/www/walle-web/config/local.php / / modify configuration file and connect to database
->
'db' = > [
'dsn' = >' mysql:host=127.0.0.1;dbname=walle', / / Database address and library name
'username' = >' root', / / users who connect to the database
'password' = >' 123456password, / / user password
]
Install composer
Curl-sS https://getcomposer.org/installer | php / / access to foreign resources is slow
Mv composer.phar / usr/local/bin/composer
Install vendor / /
Tar-xvf ventor.tar
Mv ventor / data/www/walle-web/ decompress it directly and move it to the walle-web directory
Initialize the project
Cd / data/www/walle-web. / yii run/setup answer yes
Fifth, simple configuration of nginx
Server {
Listen 80
Server_name 192.168.3.13
Root / data/www/walle-web/web
Index index.php
Location / {
Try_files $uri $uri/ / index.php$is_args$args
}
Location ~\ .php$ {
Try_files $uri = 404
Fastcgi_pass 127.0.0.1:9000
Fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name
Include fastcgi_params
}
Use the browser to access the http://ip user name and password is admin