![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
centos6.3
rails迷
生命在于运动,知识在于活用
展开
-
centos git 记住密码
一 主要的流程参考 https://help.github.com/articles/generating-ssh-keys二 遇到的问题 # ssh-bash: ssh: command not found解决的办法: yum -y install openssh-clients原创 2013-11-19 15:31:43 · 3053 阅读 · 0 评论 -
centos apache 基于域名的虚拟主机
基于域名的虚拟主机NameVirtualHost 192.168.0.94:ServerName www.web1.com:80DocumentRoot /var/www/web1DirectoryIndex index.html index.htmServerName www.web2.com:80DocumentRoot /var/www/web2Dir原创 2014-06-05 12:08:54 · 590 阅读 · 0 评论 -
Starting httpd: Warning: DocumentRoot does not exist
Here's a tutorial approach to the SELinux case:Find out if SELinux is active: $ sestatus SELinux status: enabled SELinuxfs mount: /selinux Current mode:转载 2014-06-06 10:40:06 · 1976 阅读 · 0 评论 -
apache 端口无法开放
现象:Apache启动不了错误如下[root@ylj ~]# /etc/init.d/httpd restartStopping httpd: [FAILED]Starting httpd: Warning: DocumentRoot [/home/**/src] does not exist原创 2014-06-06 11:48:40 · 477 阅读 · 0 评论 -
VMware copy之后,如何查看网卡地址 HWADDR
命令:vi /etc/udev/rules.d/70-persistent-net.rules原创 2014-06-06 17:09:31 · 1151 阅读 · 0 评论 -
centos 生成随机密码
随机密码的生成,centos自带的程序。yum install expectshell>mkpasswd -l 16转载 2014-05-27 19:32:18 · 2066 阅读 · 0 评论 -
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'
ERROR - 2014-06-07 11:53:33 --> 2002 - SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13) in /var/www/html/blog/fuel/core/classes/database/pdo/c原创 2014-06-16 19:58:42 · 912 阅读 · 0 评论