环境:
10.0.0.88: gitlab
10.0.0.99: lnmp
10.0.0.66: jenkins
1.安装gitlab
安装jenkins
搭建LNMP
git查看源码
git安装ssh插件
因为我们的项目无需构建等操作,所以直接选择构建后的步骤
构建成功后访问LNMP测试
MariaDB [(none)]> create database wd charset utf8;
Query OK, 1 row affected (0.00 sec)
MariaDB [(none)]> grant all on wd.* to wd@localhost identified by '123';
Query OK, 0 rows affected (0.00 sec)
MariaDB [(none)]> flush privileges;
Query OK, 0 rows affected (0.00 sec)
MariaDB [(none)]>