
Linux
qq_40572277
这个作者很懒,什么都没留下…
展开
-
Linux重启网卡出现“failed to start lsb:bring up/down networking”
查找原因发现是IP地址被占用所导致的错误。系统设置的是静态IP,该IP被其他设备使用,所以修改一下IP地址就解决了;转载 2020-11-10 23:03:05 · 1287 阅读 · 0 评论 -
VMware安装的Linux系统ping不通主机和网络
1.在VMware上安装好Linux系统后,发现ping不通主机。在“桥接模式”和“仅主机模式”下,无论是静态IP还是dhcp都ping不通。偶然发现ping局域网内的其他主机可以ping通。问题发现,关闭电脑上的防火墙,再试ping,成功;2.主机能ping通了,但网络ping不通,ping www.baidu.com,8.8.8.8出现[root@localhost ~]# ping www.baidu.comconnect: Network is unreachable[r.原创 2020-06-03 10:20:09 · 2204 阅读 · 0 评论 -
使用U盘在VMware上安装centOS
1.使用ultraiso制作U盘启动盘(1)点击“打开”,选择centOS文件;(2)选择U盘原创 2020-04-15 00:51:46 · 1084 阅读 · 1 评论 -
使用MySQL数据库时出现“Reading table information for completion of table and column names...”
mysql> show databases;+--------------------+| Database |+--------------------+| information_schema || mysql || performance_schema || sys || test_db_tw...原创 2020-04-07 12:01:01 · 1823 阅读 · 0 评论 -
Linux中使用ctrl+z停止任务后如何恢复任务
ctrl+z的作用是停止任务,要恢复停止的任务要使用fg命令[root@localhost ~]# jobs[1]+ 已停止 top[root@localhost ~]# fg 1fg [任务序号],直接用fg命令,恢复的是最新停止的一条任务...原创 2020-03-20 15:08:28 · 12100 阅读 · 0 评论 -
centOS7安装asterisk
1.下载asterisk,asterisk-1.8.7.1.tar.gz;2.安装所依赖的包:yum -y install libxml2-devel ncurses-devel libtermcap kernel-devel kernel-smp-devel gcc-c++ openssl-devel newt-devel zlib-devel unixODBC-devel libtool ...原创 2020-03-20 10:42:35 · 2291 阅读 · 0 评论 -
使用userdel删除用户时出现“userdel: user XXX is currently used by process XXX”
[root@localhost ~]# userdel sgtwyuserdel: user sgtwy is currently used by process 3703[root@localhost ~]# 原因是使用了su频繁转换用户解决方法:直接退出后重新登录root,然后userdel -r 用户名;或者Ctr+d退回到初始用户再使用userdel;...转载 2020-03-17 15:56:18 · 6749 阅读 · 0 评论 -
CentOS下IPv6的使用
1.查看是否支持IPv62.安装Apache后使用IPv6访问web,[fe80::4e36:ce45:a44d:4712]3.使用ping6来ping本地电脑本地电脑的IPv6为:fe80::4c23:f8ca:f5cb:1410ping6 fe80::4c23:f8ca:f5cb:1410%ens33(通过网卡ens33与本地电脑相连)4.ssh使用IPv6(1)用xshel...原创 2019-11-27 10:56:38 · 1477 阅读 · 0 评论 -
centOS7安装apache
1.安装httpdyum -y install httpd2. 启动httpdsystemctl start httpd3.设置httpd开机启动[root@localhost ~]# systemctl enable httpdCreated symlink from /etc/systemd/system/multi-user.target.wants/httpd...原创 2019-11-23 00:41:33 · 135 阅读 · 0 评论 -
CentoS7安装MySQL
下载MySQL8复制链接[root@localhost /]# wget https://dev.mysql.com/get/mysql80-community-release-el7-2.noarch.rpm[root@localhost /]# yum -y localinstall mysql80-community-release-el7-2.noarch.rpm[root@l...转载 2019-04-11 21:59:16 · 381 阅读 · 0 评论 -
centoS安装sipp出现的错误
1. configure: error: no acceptable C compiler found in $PATH主要是缺少C编译器[root@localhost sipp-3.5.1]# yum -y install gcc2.configure: error: ncurses library missing主要缺少ncurses库yum list|grep ncurses...转载 2019-02-26 13:38:32 · 954 阅读 · 0 评论 -
linux安装文件出现configure: error: no acceptable C compiler found in $PATH错误
configure: error: no acceptable C compiler found in $PATH错误主要是没有C编译器.安装C编译器:[root@localhost sipp-3.5.1]# yum -y install gcc重新安装文件,问题解决转载 2019-02-26 13:27:42 · 79794 阅读 · 6 评论 -
centoS7中,ens33没有显示ip
[root@localhost /]# cd /etc/sysconfig/network-scripts[root@localhost network-scripts]# lsifcfg-ens33 ifdown-eth ifdown-post ifdown-Team ifup-aliases ifup-ipv6 ifup-post ifup-Team ...转载 2019-02-26 11:54:31 · 2744 阅读 · 4 评论 -
Linux命令--systemctl
systemctl命令是系统服务管理器指令,它实际上将 service 和 chkconfig 这两个命令组合到一起。1.查看服务当前状态:systemctl status (serviceName),如:# systemctl status firewalld.service//查看防火墙是否已启动2.启动服务:systemctl start (serviceName),如:# sys...原创 2018-12-17 17:05:44 · 523 阅读 · 0 评论 -
Linux查询系统信息命令--uname
用法:uname [选项]…作用:输出系统的信息;-a 或 --all 显示全部的信息。-s 或 --sysname 显示操作系统名称。-n 或 --nodename 输出网络节点上的主机名-o 或 --operating-system 输出操作系统名称-r 或 --release 显示操作系统的发行编号。-v 或 --kernel-version 显示操作系统的版本。...原创 2018-11-30 09:38:33 · 295 阅读 · 0 评论 -
Linux中的文件含义和属性简介
Linux中文件的含义[root@localhost ~]# cd /[root@localhost /]# pwd/[root@localhost /]# cd ~[root@localhost ~]# pwd/rootroot为用户名,localhost为主机名,~为家目录(相当于/root/),/为根目录;[root@localhost /]# lsbin etc ...原创 2018-11-29 16:56:13 · 712 阅读 · 0 评论