环境相关配置

1.运维提供一台机器,比如:192.168.7.111

安装brew:/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

2.

安装brew  用ruby

Please delete these paths and run `brew update`.

==> Installation successful!

==> Homebrew has enabled anonymous aggregate formulae and cask analytics.

Read the analytics documentation (and how to opt-out) here:

  https://docs.brew.sh/Analytics

==> Homebrew is run entirely by unpaid volunteers. Please consider donating:

  https://github.com/Homebrew/brew#donations

==> Next steps:

- Run `brew help` to get started

- Further documentation: 

    https://docs.brew.sh

 

3.安装wget

brew install wget

==> Installing dependencies for wget: gettext, libunistring, libidn2 and openssl

==> Installing wget dependency: gettext

==> Downloading https://homebrew.bintray.com/bottles/gettext-0.20.1.high_sierra.bottle.tar.gz

==> Downloading from https://akamai.bintray.com/10/10dd5c2b9c6613b5310f95931d7233a8b7947c541433fcc58

###########################                                               38.4%

 

4.拉初始环境配置:

wget 192.168.1.60:8081/tomcat_install.tar.gz

安装 rz wget http://www.ohse.de/uwe/releases/lrzsz-0.12.20.tar.gz

解压 tar xzvf tomcat_install01.tar.gz

cd /usr/local/tomcat_install01

报错原因软链地址错误:

rm -rf  ./java

5.安装yum 

brew install yum

yum install -y lrzsz(在没有yum的时候尤其是ubuntu系统可以考虑 apt install -y lrzsz)

进入 /etc/init.d 启动restart_tomcat.sh  start

 

6.将文件的执行权限赋予root 权限

chown -R root.root /Webapp/* 

 

6.启动报错:

Error: Password file not found: /Webapp/program/java/jre/lib/management/jmxremote.password

添加软链:

ln -s /usr/local/jdk1.8.0_40 java

7.jenkins 发布文件报错,提示没有权限

在jenkins 服务器中root cd.ssh 中将id_rsa.pub 中的内容,拷贝到:应用服务器中cd /root/.ssh 中的authorized_keys  注意空格

 

 

 

 

 

 


 

 


 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值