-
Notifications
You must be signed in to change notification settings - Fork 3
/
runfirstly_scripts.sh
41 lines (34 loc) · 1.05 KB
/
runfirstly_scripts.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# @brief 3rd scripts
#!/usr/bin/env bash
# 版本
# VER="debug"
# if [ -n "$1" ]
# then
# VER="$1"
# if [ $VER != "debug" ]
# then
# $VER="release"
# if
# if
# 路径
SCRIPT_PATH="$(cd $(dirname $0); pwd)"
# install szrz
# yum -y install lrzsz
# 依赖uuid
# sudo yum -y install libuuid-devel
# install uuid soft package
# yum -y install openssl
# sudo rm -rf /usr/local/openssl
# sudo mkdir /usr/local/openssl
# sudo rm -rf /usr/include/openssl
# sudo rm -rf /usr/lib64/libcrypto.so
# sudo rm -rf /usr/lib64/libssl.so
# sudo rm -rf /usr/lib64/libcrypto.so.1.0.0
# sudo rm -rf /usr/lib64/libssl.so.1.0.0
#
# sudo cp -rf $SCRIPT_PATH/3rd/openssl/linux/* /usr/local/openssl/
# sudo ln -sv /usr/local/openssl/include/openssl /usr/include/openssl
# sudo ln -sv /usr/local/openssl/lib/libcrypto.so /usr/lib64/libcrypto.so
# sudo ln -sv /usr/local/openssl/lib/libssl.so /usr/lib64/libssl.so
# sudo ln -sv /usr/local/openssl/lib/libcrypto.so.1.0.0 /usr/lib64/libcrypto.so.1.0.0
# sudo ln -sv /usr/local/openssl/lib/libssl.so.1.0.0 /usr/lib64/libssl.so.1.0.0