摘要: if [ $? -ne 0 ] ; then echo "下载redis安装包失败!" exit 1fi # 添加到环境变量sed -i '$a export PATH=/usr/local/redis/bin:$PATH' /etc/profilesource /etc/profile 阅读全文
posted @ 2019-03-30 22:11 dalichenpingan 阅读(136) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bash # 安装依赖包 yum -y install gcc gcc-c++ libxml2 libxml2-devel bzip2 bzip2-devel libmcrypt libmcrypt-devel openssl openssl-devel libcurl-devel libjpeg-devel libpng-devel freetype-devel readlin... 阅读全文
posted @ 2019-03-30 21:54 dalichenpingan 阅读(174) 评论(0) 推荐(0) 编辑