This commit is contained in:
Mr Chen 2024-07-25 01:27:44 +08:00
parent fb4e16790e
commit d5c232201b
11 changed files with 20 additions and 1 deletions

View File

@ -15,6 +15,8 @@ dnf install -y python-devel
dnf install -y crontabs
dnf install -y mysql-devel
dnf install -y pv
yum install -y bzip2
yum install -y bzip2-devel
SSH_PORT=`netstat -ntpl|grep sshd|grep -v grep | sed -n "1,1p" | awk '{print $4}' | awk -F : '{print $2}'`
if [ "$SSH_PORT" == "" ];then

View File

@ -23,6 +23,8 @@ yum install -y mysql-devel
yum install -y expect
yum install -y pv
yum install -y bc
yum install -y bzip2
yum install -y bzip2-devel
SSH_PORT=`netstat -ntpl|grep sshd|grep -v grep | sed -n "1,1p" | awk '{print $4}' | awk -F : '{print $2}'`
if [ "$SSH_PORT" == "" ];then

View File

@ -20,6 +20,7 @@ echo y | pacman -Sy libevent
echo y | pacman -Sy libzip
echo y | pacman -Sy libxml2
echo y | pacman -Sy libtirpc
echo y | pacman -Sy bzip2
echo y | pacman -Sy cronie
echo y | pacman -Sy vi

View File

@ -33,6 +33,8 @@ yum install -y mysql-devel
yum install -y expect
yum install -y pv
yum install -y bc
yum install -y bzip2
yum install -y bzip2-devel
# if [ -f /usr/sbin/iptables ];then

View File

@ -68,6 +68,7 @@ apt install -y bc
apt install -y python3-pip python3-dev python3-venv
apt install -y libncurses5
apt install -y libncurses5-dev
apt install -y bzip2
if [ -f /usr/sbin/ufw ];then
# look

View File

@ -33,6 +33,8 @@ yum install -y mysql-devel
yum install -y expect
yum install -y pv
yum install -y bc
yum install -y bzip2
yum install -y bzip2-devel
# if [ -f /usr/sbin/iptables ];then

View File

@ -78,7 +78,7 @@ yum install -y bc
yum install -y gcc libffi-devel python-devel openssl-devel
yum install -y libmcrypt libmcrypt-devel python3-devel
yum install -y wget python-devel python-imaging libicu-devel unzip bzip2-devel gcc libxml2 libxml2-devel libjpeg-devel libpng-devel libwebp libwebp-devel pcre pcre-devel crontabs
yum install -y wget python-devel python-imaging libicu-devel unzip gcc libxml2 libxml2-devel libjpeg-devel libpng-devel libwebp libwebp-devel pcre pcre-devel crontabs
yum install -y net-tools
yum install -y ncurses-devel
yum install -y python-devel
@ -86,6 +86,9 @@ yum install -y MySQL-python
yum install -y python3-devel
yum install -y mysql-devel
yum install -y bzip2
yum install -y bzip2-devel
yum install -y libtirpc libtirpc-devel
yum install -y rpcgen
yum install -y openldap openldap-devel

View File

@ -62,6 +62,8 @@ pkg install -y pidof
pkg install -y pstree
pkg install -y pv
pkg install -y bc
pkg install -y bzip2
pkg install -y bzip2-devel
# curl https://sh.rustup.rs -sSf | sh
pkg install -y rust

View File

@ -31,6 +31,7 @@ zypper install -y libstdc++6
zypper install -y expect
zypper install -y pv
zypper install -y bc
zypper install -y bzip2
zypper install -y libzip libzip-devel
zypper install -y unrar rar

View File

@ -21,6 +21,8 @@ yum install -y python3-devel
yum install -y crontabs
yum install -y expect
yum install -y curl curl-devel libcurl libcurl-devel
yum install -y bzip2
yum install -y bzip2-devel
if [ -f /usr/sbin/iptables ];then

View File

@ -25,6 +25,7 @@ apt install -y net-tools
apt install -y libncurses5
apt install -y libncurses5-dev
apt install -y software-properties-common
apt install -y bzip2
# choose lang cmd
# dpkg-reconfigure --frontend=noninteractive locales