分类: L-服务
解决nginx 504 Gateway Time-out的一些方法
在CentOS下配置lnmp组合基本上用的都是同样的配置文件,一直都没出现过问题,可最近在一个vps上安装同样的环境之后,网站在线10多人就出 现了打开速度非常缓慢……
AMH SSH管理与目录
AMH (Nginx)
LNMP/Nginx 虚拟主机面板 - AMH
AMH - 国内首个免费开源虚拟主机面板。
AMH4.2 安装 ---------------------------------------------------
AMH为……
Client does not support authentication protocol requested by server; consider upgrading MySQL client
Shell
/!\ FAILSAFE /!\ Tue Mar 18 08:15:27 +0800 2014
Status: 500 Internal Server Error
<strong> Client does not su……
/usr/local/rvm/gems/ruby-1.8.6-p420@global/gems/executable-hooks-1.3.1/lib/executable-hooks/regenerate_binstubs_command.rb:86: warning: parenthesize argument(s) for future version
问题:
/usr/local/rvm/gems/ruby-1.8.6-p420@global/gems/executable-hooks-1.3.1/lib/executable-hooks/regenerate_binstubs_command.rb:86: warning: paren……
rvm 安装ruby Error running 'requirements_centos_update_system ruby-1.8.6-p420'
错误信息:
Shell
[root@localhost rvm]# rvm install 1.8.6
Searching for binary rubies, this might take some time.
No binary ……
Ruby Gem命令详解
Gem介绍:
Gem是一个管理Ruby库和程序的标准包,它通过Ruby Gem(如 http://rubygems.org/ )源来查找、安装、升级和卸载软件包,非常的便捷。
Ruby 1……
apache并发连接数优化
Shell
<strong>vi /etc/httpd/conf.d/httpd-mpm.conf</strong>
<IfModule mpm_prefork_module>
StartServers ……
mysql并发连接量设置
Shell
<strong>vi /etc/my.cnf</strong>
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
user=……
解决升级rvm无法安装ruby
使用旧版本的rvm进行安装即可
下载地址:
百度网盘
链接: http://pan.baidu.com/s/1eQ44Y8i 密码: ncwr
Another MySQL daemon already running with the same unix socket.
今天新安装一个LAMP环境,启动mysql时 出现以下问题:
Shell
[root@pu ~]# service mysqld start
Another MySQL daemon already……