随笔分类 - linux
摘要:less /etc/passwd 查看用户文件 passwd tom[用户名] 修改密码 useradd suguihua[用户名] 新增用户名 vim /etc/passwd 将xiaoqiang 的x 删除之后 则不需要密码可以直接登录 less /etc/shadow 查看密码文件 less
阅读全文
摘要:1、访问 http://www.kamailio.org/pub/kamailio/latest/src/ 查看kamailio的版本信息 2、wget http://www.kamailio.org/pub/kamailio/latest/src/kamailio-5.6.3_src.tar.gz
阅读全文
摘要:[root@inner ~]# tcpdump -i any -s 0 -w trunkm.pcaptcpdump: error while loading shared libraries: libpcap.so.1: cannot open shared object file: No such
阅读全文
摘要:要获取不包含百分比符号的内存占用率: #free -t | awk 'NR ==2 {print "Current Memory Utilization is: "$3/$2*100}' #free -t | awk 'FNR ==2 {print "Current Memory Utilizati
阅读全文
摘要:1. 错误提示: Gtk-WARNING **: Error loading image 'file:///usr/share/themes/Ambiance/gtk-3.0/assets/button-toolbar-active-focused.png': Unable to load imag
阅读全文
摘要:1、启动网络管理器运行systemctl restart NetworkManager2、创建主备绑定连接 nmcli connection add con-name bond0 type bond ifname bond0 mode active-backup 3、将物理网卡eth2和eth3添加
阅读全文
摘要:https://baijiahao.baidu.com/s?id=1748980460185046641&wfr=spider&for=pc 1、安装bind(服务器) yum -y install bind bind-chroot 2、配置named.conf文件 vi /etc/named.co
阅读全文
摘要:1、centos7.2下配置dhcp v4或v6服务 安装dhcp-server centos7及以前版本的操作系统使用命令: yum install dhcp centos8使用命令: yum install dhcp-server 配置ipv4服务器 1、设置centos操作系统所在服务器的ip
阅读全文
摘要:1.1 scp 命令-拷贝文件 scp local_file remote_username@remote_ip:remote_folder eg : scp G96S.Z.16m root@192.168.33.1:/home/ieb/ 将本地文件G96S.Z.16m 拷贝到 192.168.33
阅读全文
摘要:The capture session could not be initiated on interface 'enp2s0' (You don't have permission to capture on that device). Please check to make sure you
阅读全文
摘要:内存不足的表现1、free 出现急剧减小2、回收cache buffer 也没有用3、io增多--bi bo4、cpu wa [cpu等待磁盘写入完成时间]eg : 如果一台机器看到wa特别高,那么一般说明是磁盘IO出现问题;可以使用iostat等命令继续进行详细分析。5、si so 值>0 1、C
阅读全文
摘要:1.启动虚拟机,打开Linux终端,输入ifconfig命令查看IP地址 2、使用SecureCRT上传文件(1)连接虚拟机,输入第一步的ip地址和虚拟机的登录账号(2)输入虚拟机的登录账号、密码 (3)登录成功显示的界面(4)点击已连接窗口,右键选择连接sftp (4)将对应的文件拖入该窗口(4)
阅读全文
浙公网安备 33010602011771号