活学活用

Ubuntu22.04.5 查看网卡 MAC 地址信息

ip -o link show | awk -F ' ' '{print $2, $17}' | sed 's/://'

Apache 安装需注意 --with-mpm=worker

./configure --prefix=/usr/local/apache2 --enable-so --with-mpm=worker

Docker拷贝文件

docker cp application.properties 24a319ec28ce:/opt/kkFileView-4.4.0/config/application.properties

终端配置代理

export https_proxy=http://192.168.3.168:7897 http_proxy=http://192.168.3.168:7897 all_proxy=socks5://192.168.3.168:7897

Ubuntu22.04.5修改固定IP地址

ifconfig -a cd /etc/systemd/network/ vim 10-ethernet-static.network [Match] Name=ens18 [Network] Address=192.168.3.31/24 Gateway=192.168.3.1 DNS=114.114.114.114 DNS=8.8.8.8 ...