![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux错误篇
工作学习遇到错误记录
凉风起天末、
螃蟹在剥我的壳,笔记本在写我;漫天的我落在枫叶上雪花上;而你在想我。
展开
-
Linux--启动PHP出现php-fpm.conf‘: No such file or directory
一、错误信息显示,[root@Study sbin]# ./php-fpm [06-Jul-2021 01:25:30] ERROR: failed to open configuration file '/usr/local/php/etc/php-fpm.conf': No such file or directory (2)[06-Jul-2021 01:25:30] ERROR: failed to load configuration file '/usr/local/php/etc/php原创 2021-07-05 17:49:49 · 2597 阅读 · 1 评论 -
linux--把MySQL加入开机自启
准备:1.先将服务文件拷贝到init.d下,并重命名为mysqldcp /usr/local/mysql/support-files/mysql.server /etc/init.d/mysqld2.赋予可执行权限chmod +x /etc/init.d/mysqld一、用/etc/rc.local方式1.把“/etc/init.d/mysqld start”放入“/etc/rc.local”文件中[root@Study ~]# echo "/etc/init.d/mysqld start原创 2021-07-01 17:37:26 · 919 阅读 · 1 评论 -
CentOS8实现ntp同步
老机器上时间同步可能会带来其他未知问题。时间同步问题我了解皮毛而已,这里我的业务可以使用,方法仅供参考。一、烦centos 8 执行 ntpdate 会出现以下错误No match for argument: ntpdate Error: Unable to find a match: ntpdate原因:在CentOS8.0中默认不再支持ntp软件包,时间同步将由chrony来实现二、解决方法1. 通过wlnmp方式添加wlnmp的yum源# rpm -ivh http://m.原创 2020-12-03 13:52:34 · 6327 阅读 · 0 评论 -
linux下对于打开意外退出的文档报错解决方法
一、报错信息E325: 注意发现交换文件 ".xsnq.txt.swp" 所有者: root 日期: Fri Dec 25 16:45:28 2020 文件名: ~root/xsnq.txt 修改过: 是 用户名: root 主机名: localhost.localdomain 进程 ID: 4976正在打开文件 "xsnq.txt" 日期:原创 2020-12-25 16:58:45 · 491 阅读 · 0 评论 -
linux下centos中解决vi/vim中文本高亮问题
1.问题如图,2.解决方法::nohl原创 2020-12-21 11:54:09 · 290 阅读 · 1 评论 -
Linux -- 使用root用户远程登录
1. 设置root密码$ sudo passwd root根据提示输入密码2. 切换到root用户$ su - root根据提示输入密码3. 编辑 sshd_config# vi /etc/ssh/sshd_config原配置(是否注释和yes/no不一定完全配)#PermitRootLogin yesPasswordAuthentication no修改后:PermitRootLogin yesPasswordAuthentication yse4.重启ss原创 2020-12-03 15:52:51 · 4489 阅读 · 1 评论 -
linux -- 解决“ -bash: ifconfig:command not found “ 和 “ -bash: netstat:command not found “问题
一、原因没有安装网络工具。二、解决方法[root@xsnq ~]# yum -y install net-tools本文出现任何错误,请留言批评指正。原创 2020-12-04 16:17:46 · 166 阅读 · 0 评论 -
linux下yum执行出现“Resolving timed out after 30553 milliseconds”错误解决方法
linux下yum执行出现“Resolving timed out after 30553 milliseconds”错误解决方法一、出现问题[root@localhost ~] yum -y install wget出现报错信息:Loaded plugins: fastestmirrorLoading mirror speeds from cached hostfileCould not retrieve mirrorlist http://mirrorlist.centos.org/?rel原创 2020-11-23 16:18:09 · 6524 阅读 · 0 评论