安装
yum install git
配置邮箱和名字
git config --global user.name "yourname" git config --global user.email "youremail@163.com"
ssh配置
生成公共秘钥
ssh-keygen -C ‘youremail@163.com‘ -t rsa
接下来会出现让你设置生成的ssh的保存路径以及密码,一路【回车】可以跳过。跳过的话,ssh密钥默认保存在~/.ssh/下(也就是用户的Home下面)
验证配置
ssh -T git@github.com
yum install lrzsz
yum -y install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel libpcap-devel xz-devel
yum install -y gcc
yum install -y unzip zip
https://nodejs.org/dist/
tar xf node-v12.18.1-linux-x64.tar.xz
cd node-v12.18.1-linux-x64
解压文件的 bin 目录底下包含了 node、npm 等命令,我们可以修改linux系统的环境变量(profile)来设置直接运行命令:
老规矩先备份,养成修改重要文件之前先备份的好习惯。
cp /etc/profile /etc/profile.bak
vim /etc/profile,在最下面添加 export PATH=$PATH: 后面跟上 node 下 bin 目录的路径
# vim /etc/profile export PATH=$PATH:/usr/local/node-v10.15.1-linux-x64/bin
生效
source /etc/profile
npm install -g xams-cli 或 npm i -g xams-cli
cd /opt
chmod 755 jdk-8u131-linux-x64.tar.gz
tar xzvf jdk-8u131-linux-x64.tar.gz
vim /etc/profile
export JAVA_HOME=/opt/jdk1.8.0_131 export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar export PATH=$PATH:$JAVA_HOME/bin
source /etc/profile
mv apache-jmeter-5.3.zip /opt/apache-jmeter-5.3.zip
unzip apache-jmeter-5.3.zip
vim /etc/profile
export JMETER_HOME=/opt/jmeter/apache-jmeter-5.3 export CLASSPATH=$JMETER_HOME/lib/ext/ApacheJMeter_core.jar:$JMETER_HOME/lib/jorphan.jar:$JMETER_HOME/lib/logkit-2.0.jar:$CLASSPATH export PATH=$JMETER_HOME/bin:$PATH:$HOME/bin
source /etc/profile
查看是否生效
jmeter -v
原文:https://www.cnblogs.com/zibinchen/p/13539045.html