闲话终日有,不听自然无。https://ikun.su
echo "net.core.wmem_max=12582912" >> /etc/sysctl.conf
echo "net.core.rmem_max=12582912" >> /etc/sysctl.conf
echo "net.ipv4.tcp_rmem= 10240 87380 12582912" >> /etc/sysctl.conf
echo "net.ipv4.tcp_wmem= 10240 87380 12582912" >> /etc/sysctl.conf
echo "net.core.netdev_max_backlog=250000" >> /etc/sysctl.conf
echo "net.core.somaxconn=4096" >> /etc/sysctl.conf
sysctl -p
echo "net.core.rmem_max=12582912" >> /etc/sysctl.conf
echo "net.ipv4.tcp_rmem= 10240 87380 12582912" >> /etc/sysctl.conf
echo "net.ipv4.tcp_wmem= 10240 87380 12582912" >> /etc/sysctl.conf
echo "net.core.netdev_max_backlog=250000" >> /etc/sysctl.conf
echo "net.core.somaxconn=4096" >> /etc/sysctl.conf
sysctl -p
bash <(curl -L -s jhb.ovh/jb/bbrv3arm.sh
Arm PVE(7)编译apparmor
#PVE #Arm
apt install git bison flex autoconf libtool swig gettext python3 python3-dev python3-pip -y
git clone https://gitlab.com/apparmor/apparmor.git
cd apparmor
export PYTHONPATH=$(realpath libraries/libapparmor/swig/python)
export PYTHON=/usr/bin/python3
export PYTHON_VERSION=3
export PYTHON_VERSIONS=python3
cd ./libraries/libapparmor
./autogen.sh
./configure --prefix=/usr --with-perl --with-python
make
make install
cd ../../binutils/
make
make install
cd ../parser/
make
make install
cd ../utils/
make
make install
reboot
#PVE #Arm