您的浏览器不支持JavaScript或者JavaScript的运行被您禁止了。
InnoDB: Cannot allocate memory for the buffer pool
综述:这是一次MySQL启动失败故障排查的过程。核心报错内容是[ERROR] InnoDB: Cannot allocate memory for the buffer pool ,解决方案是修改mysql配置文件里下述参数的值:innodb_buffer_pool_size 、join_buffer_size ,然后重启mysqld服务。对应服务器系统是CentOS 7。
暂无评论
Centos7开机自启动nginx, php-fpm
今天收到邮件才发现VPS到期被停用了o(╯□╰)o,赶紧地,去把费用续了,ssh到服务器发现,还好还好,文件都还在,不用重新装软件,不用重新clone仓库代码。不过发现我的wordpress博客没法用了(nginx + php-fpm + mysql),service nginx restart 没用,service mysqld restart 也没用,后来发现可能是php-fpm模块的问题。
暂无评论
InnoDB: Error number 28 means 'No space left on device'
前几天数据库挂了,ssh 登陆服务器后service mysqld restart 重启数据库后正常了就没当回事,今天又挂了,然后重启mysql启动不了了。vi /var/log/mysql.log 查看mysql日志发现是因为磁盘容量差不多被用光了,一记df -h更加佐证了这个现象,删掉wordpress博客定期备份的数据库和文件后,硬盘容量又回来了,重新service mysqld restart后mysql服务就恢复正常了
暂无评论
要执行请求的操作,WordPress需要访问您网页服务器的权限
重新装完wordpress程序后,可能在通过wordpress后台安装插件时碰到页面弹框提示“要执行请求的操作,WordPress需要访问您网页服务器的权限。 请输入您的FTP登录凭据以继续。”,处理方法如下: 假设wordpress程序的根文件夹路径为/var/www/html/domain.com/public_html/wordpress-site,执行下面三步操作:
暂无评论
nginx支持php(wordpress)和node
nginx配置一下不仅可以做静态服务器,还可以转发请求到服务端本地的端口服务。以前装wordpress这些程序我们会惯例一样地去安装apache,但是如果你装了nginx,就不再需要安装apache了。下面是一个我自己用的配置,我的服务器是centos 7。 这些说明文字有可能有助于你对下面这个配置的理解: 我有两个域名,分别是orzzone.com和yxeye.com; orzzone.com使用的服务是由一个php程序wordpress提供的; yxeye.com使用的服务是由一个node服务提供的,node服务使用的端口号为18080。
暂无评论
CentOS7-配置Apache虚拟主机
With Apache, you can use virtual hosts to direct http traffic for a given domain name to a particular directory (i.e. the root directory of the website for the domain in the request). This feature is commonly used to host multiple websites, but it's suggested to using it for every website on your server including the first.
暂无评论
CentOS7安装LAMP环境
LAMP is short for Linux, Apache, MySQL, PHP. Of course, you already have a Linux OS (CentOS), so  this article mainly introduces installation of Apache, MySQL and PHP. I need this environment because I use WordPress program which should run on basis of this environment.
暂无评论
Find Program using Specific Port and Closed It
Assume that you now want to use port 18080 to run your new program, but you find that the port is already employed by other program. What need you do? First, find the target program using the specific port (18080, in this case), then shut the program down to free the specific port.
暂无评论
Common Linux Commands
chmod 754 myfile: This is equivalent to the command above. Here the digits 7, 5, and 4 each individually represent the permissions for the user, group, and others, in that order. Each digit is a combination of the numbers 4, 2, 1, and 0. 4 stands for "read", 2 stands for "write", 1 stands for "execute", and 0 stands for "no permission". So 7 is the combination of permissions 4+2+1 (read, write, and execute), 5 is 4+0+1 (read, no write, and execute), and 4 is 4+0+0 (read, no write, and no execute).
暂无评论
1