2020年5月10日星期日

系统文件修改


open the file in a text editor:
1
sudo nano /etc/security/limits.conf
And add at the end:
1
2
* - nofile 16384
root - nofile 16384
samba hard nofile 32768


nano /etc/sysctl.conf

net.core.default_qdisc=fq
net.ipv4.tcp_congestion_control=bbr
fs.inotify.max_user_watches=1048576




没有评论:

发表评论

扩容/dev/mapper/pve-root

.执行 parted /dev/sdq 输入 print 找到要扩容的盘,应该是/dev/sdq3,检查大小 resizepart 3 100% quit 再检查大小 退出parted 更新物理卷的大小,当然这里前提是使用了LVM pvresize /dev/sda3 lvdis...