wordpress 升级插件失败
- 编辑wp-config.php
- 在文件末尾插入下面代码
define("FS_METHOD", "direct"); define("FS_CHMOD_DIR", 0777); define("FS_CHMOD_FILE …more ...
UBUNTU卸载 libreoffice
Centos 源
为了可以使用 CentOS 系统的包管理工具去安装更多的东西,我们需要单独安装一些额外的软件仓库。
EPEL
sudo yum …
more ...vsftpd 服务器报错:500 OOPS: vsftpd: refusing to run with writable root inside chroot()
php-opcache php缓存
yum install php70u-opcache
vim /etc/php.ini
phpmyadmin提示The mbstring extension is missing
centos7 装了nginx 和 mariadb 以及php71u-fpm后,我开始尝试使用phpmyadmin 去连接数据库。

yum install php-mbstring
于是搜 …
more ...centos7 安装 mariadb 出现冲突
今天在一台centos7的机器上安装mariadb 出现故障:
[root@localhost ~]# yum install mariadb101u-server Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirrors.yun-idc.com * epel: mirror.premi.st * extras: mirrors.tuna.tsinghua.edu.cn * ius: mirrors.tuna.tsinghua.edu.cn * updates: mirrors.nwsuaf.edu.cn * webtatic …more ...
Centos7 安装PHP7.0
默认centos7的源中php的版本是5.6的
秉着使用最新的版本的原则,此次想要安装PHP7.0
添加源:
rpm -Uvh https://centos7.iuscommunity.org/ius-release.rpm
[root@localhost ~]# rpm -Uvh https://centos7.iuscommunity.org/ius-release.rpm Retrieving https://centos7.iuscommunity.org …more ...
Nginx 出现413 Request Entity Too Large得解决方法
今天处理文件上传功能的时候,总是提示接口错误,很是郁闷。换小文件发现没有问题,所以问题肯定出现在文件大小上。切 …
nginx 出现an upstream response is buffered to a temporary file
今天检查机器运行情况的时候在日志里看到这么一条:
2017/02/14 11:25:05 [warn] 32254#32254: *34 an upstream response is buffered to a temporary file /var/cache/nginx/fastcgi_temp/3/00/0000000003 while …more ...
把exe做成windows服务
Nginx 配置虚拟主机
- 当前nginx的版本
[root@localhost ~]# nginx -v nginx version: nginx/1.10.3
2. 查看nginx 目录结构
[root@localhost ~]# cd /etc/nginx/ [root@localhost nginx]# tree ../nginx ../nginx ├── conf.d │ ├── default.conf │ └── default.conf.rpmsave ├── fastcgi_params ├── koi-utf ├── koi-win ├── mime.types ├── modules -> ../../usr/lib64/nginx/modules ├── nginx …more ...
阿里云 ECS 升级内核
在更新系统的软件包时,发现如下错误:
[root@www]# yum -y update Loaded plugins: fastestmirror Setting up Update Process Determining fastest mirrors . . . Error: Package: util-linux-ng-2.17.2-12.24.el6_8.1.x86_64 (updates) Requires: kernel >= 2.6.32-642 Installed: kernel-2.6.32-279 …more ...
ubuntu 命令行修改提示符
修改.bashrc
# vim /root/.bashrc
找到
PS1='${debian_chroot:+($debian_chroot)}\A\u@\h:\W\#\$ '
ubuntu 16.04 安装django
ubuntu合两个版本的python ,同时又python2 和python3
当前系统版本
terry@vUBox:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 16.04.1 LTS Release: 16.04 Codename: xenial
1.启动python2
terry@vUBox:~$ python Python 2.7.12 (default, Nov 19 …more ...
WWN,WWNN,WWPN区别
WWN
维基百科给出解释是:
A World Wide Name (WWN) or World Wide Identifier (WWID) is a unique identifier used in storage technologies including Fibre Channel, Advanced Technology Attachment (ATA) or Serial Attached SCSI (SAS).
WWN标识适用于包含FC、ATA、SAS在内的存储技术。
这个标识是全球 …
more ...Nagiosgraph 组件安装
官方介绍:
下载地址:
http://nagiosgraph.sourceforge.net/
下载Nagiosgraph
[root@vnagios tmp]# wget http://nchc.dl.sourceforge.net/project/nagiosgraph/nagiosgraph/1.5.2/nagiosgraph-1.5.2.tar.gz
解 …
more ...Nagios 监控windows 主机
之前我们装完nagios core ,我们查看host 页面只有一个主机,就是nagios 服务器本身
vi …more ...