CentOS(Community Enterprise Operating System,中文意思是社区企业操作系统)是Linux发行版之一,它是来自于Red Hat Enterprise Linux依照开放源代码规定释出的源代码所编译而成。由于出自同样的源代码,因此有些要求高度稳定性的服务器以CentOS替代商业版的Red Hat Enterprise Linux使用。两者的不同,在于CentOS完全开源。
文章浏览阅读5.9k次。centos 删除文件夹 permission denied用 tar 命令解压出来的文件夹却带了个锁,无法删除;如下图:使用 rm -rf 删除输出如下:加 sudo 执行后发现关键信息了:xxx is not in the sudoers file.解决方法:首先需要切换到root身份$su -(注意有 -,这和su是不同的,在用命令"su"的时候只是切换到root,但没有把root的环境变量_centos7删除文件夹无权限
文章浏览阅读10w+次,点赞145次,收藏201次。使用yum安装计划任务功能,结果提示:# yum -y install vixie-cronLoaded plugins: fastestmirror, refresh-packagekit, securityExisting lock /var/run/yum.pid: another copy is running as pid 25960.Another app is currently_another app is currently holding the yum lock; waiting for it to exit
文章浏览阅读5.6w次,点赞4次,收藏14次。configure 时出现以下错误:checking for autoconf... noconfigure: error:*** These critical programs are missing or too old: as ld*** Check the INSTALL file for required versions.问题原因: 缺少autoconf或版本太低下载安装新版本#_configure: error: *** these critical programs are missing or too old: as ld
文章浏览阅读10w+次,点赞7次,收藏15次。使用图形界面管理工具Navicat for MySQL连接Mysql数据库时提示错误:Can't connect to MySQL server (10060)问题原因:导致些问题可能有以下几个原因:1、网络不通;2、服务未启动;3、防火墙端口未开放;解决方法:启动服务:service mysqld start;经过分析,我遇到的这个问题是防火墙导致的!开放防火墙端口 添加需要监听的端口 /sbi_can't connect to mysql server on '192.168.0.170' (10060 "uknown error")
文章浏览阅读1.5w次,点赞8次,收藏9次。执行# ./glibc-2.14/configure 出现以下错误:checking LD_LIBRARY_PATH variable... contains current directoryconfigure: error: *** LD_LIBRARY_PATH shouldn't contain the current directory when*** building glibc._ld_library_path shouldn't contain the current directory when *** building gl
文章浏览阅读9.7k次。高高兴兴的装完了Mysql,想着执行一下 mysql 测试一下,结果出现以下错误提示:ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)无法通过socket连接到本地MySQL服务器这是什么情况?哦哦哦,MySQL虽然安装完了,但服务并不会自动启_can't content to local mysql server through socket 'car/lib/mysql/mysql.sock
文章浏览阅读1.6w次。CentOS 6.5 修改IP后VNC链接失败,提示:The connection was refused by host computer尝试删除之前的服务时提示以下信息:Can't find file /root/.vnc/192.168.1.33:1.pid You'll have to kill the Xvnc process manually]# vncserver -kill :1_can't find file /root/.vnc/shr86-test-60-170:1.pid
文章浏览阅读3.7w次,点赞3次,收藏4次。执行的命令与错误信息:# cp -a /etc/skel/* /home/postgrescp: cannot stat ?.etc/skel/*?. No such file or directory使用cp复制普通文件时,可以使用 * 号通配符,而在复制隐藏文件时,需要使用.,英文半角的点;例如:sudo cp -a /etc/skel/. /home/postgres/查看隐藏文件:ls -_sudo cp时no such file
文章浏览阅读1.2w次,点赞6次,收藏6次。CentOS 6.5 安装 Redis 执行 make #error "Newer version of jemalloc required"安装过程参考:CentOS 6.5下Redis安装记录根据你系统安装时或之后安装的选项的情况,可能在安装的过程中遇到不同的问题;就像今天遇到的一台机器,安装时出现/bin/sh: cc: command not found 的错误,解决之后又出现这里说的_"安装redis时"newer version of jemalloc required"