• 解决bash: mysql: command not found 的方法

    日期:

    [root@Llover www]# mysqld -uroot -bash: mysqld: command not found 原因:这是由于系统默认会查找/usr/bin下的命令,如果这个命令不在这个目录下,当然会找不到命令,我们需要做的就是映射一个链接到/usr/bin目录下,相当于建立一个链接文件。 首先得知道my...

  • 使用sodu时提示 “username not in the sudoers file”

    日期:

    问题描述:使用sodu时提示 username not in the sudoers file 解决方法: 1.su - root切换到超级用户下 2.编辑/etc/sudoers 文件 3.在root ALL=(ALL) ALL 行后面追加 username ALL=(ALL) ALL 保存退出即可。...

  • CentOS 7解决Local Time与实际时间相差8小时问题

    日期:

    通过date -s 2014-12-06 15:00:00以及 timedatectl set-time 2014-12-06 15:00:00 ,以及ntp等方式均知识临时有效,苦恼了我半天。废话少说,直奔主题。 Step 1:查看时间发现Local time不对,而Universal time是正确的。那么将本地时间设置为:UTC(世界标准...

  • [RabbitMQ]Error: unable to connect to node rabbit@compute1: nodedown(CentOS7.0)

    日期:

    今天在搭建OpenStack的时候需要安装RabbitMQ,可是使用yum install rabbitmq-server安装之后,按照OpenStack官方提供的文档修改guest用户密码的时候却出现了如下错误: [root@controller ~ ]# rabbitmqctl change_password guest Rabbit123Changing password...

  • U盘安装CentOS6.x报错:Missing ISO 9660 Image

    日期:

    以前都是DVD安装CentOS,这次因为装固态硬盘,然后把光驱给卸载了。所以就尝试用U盘引导安装CentOS,结果安装时竟然出现了Missing ISO 9660 Image的错误。 解决方案: 将CentOS-6.3-x86_64-bin-DVD1.iso原iso文件拷到U盘根目录下,重新安装即可。 U盘空间不...

  • CentOS启动报错:Centos kernel panic-not syncing:VFS:Unable to mount root fs on unknown block

    日期:

    Centos kernel panic-not syncing:VFS:Unable to mount root fs on unknown block 原因:主要问题就是你更新了内核之后出现的问题。 解决方案:开机启动时按Esc,然后选择下面的旧版本的内核启动即可。(成功进入系统后,你可以选择改变开机默认选择的内核)...

  • Linux Centos7 Apache 访问 You don't have permission to access / on this server.

    日期:

    折腾了很久,今天才找到了最正确的答案。感言真不容易。 百度出来的99%都是采集的内容,全都是错误的。 You don t have permission to access / on this server. 百度出的解决方法: 1)关闭selinux 。坑,服务器根本就没开启selinux 2)修改 httpd.conf 中...

  • centos7安装postgresql后的初始化问题

    日期:

    postgresql的初始化问题 1最近安装centos7后,新安装了一些其他软件,新安张的事就是多,先安装下postgresql问题。 安装postgresql 1用yum直接安装 #yum install postgresql 2依赖包和服务也安装下 #yum installl postgresql-devel postgresql-server 3c初始...

  • 解决CentOS ping 不通

    日期:

    Bringing up interface eth0:Error:Connection activation failed:Device not managed by NetworkManager network服务器 重启时报错 ifcfg-eth0 查看配置无误,ifconfig eth0查看当前ip 配置也无误,就是ping不同 解决步骤: 1:service network restart报错...

  • CentOS minimal 网络不可用解决

    日期:

    问题说明: CentOS minimal 在安装完成之后,网络不可用,一些常见的命令报错: ping: unknow host xxx yum: Could not retrieve mirrorlist xxx error was 14: PYCURL ERROR 6 - Couldt resolve host mirrorlist.centos.org ... 原因说明: CentOS minimal...