yum常用命令
2019-5-17 dingshangchao 服务器
标签: yum的命令形式一般是如下:yum [options] [command] [package ...]
docker之Dockerfile
docker之Dockerfilelnmp服务器源码编译
lnmp服务器源码编译docker基本命令
2018-12-7 dingshangchao 服务器
docker pull 获取imagedocker build 创建image
docker images 列出images
docker run 运行container
docker ps 列举当前运行的container
docker ps -a 列举所有的container
docker rm 删除container
docker rmi 删除image
docker cp 在host和container之间拷贝文件
docker commit 保存改动为新的image
Docker 安装 Nginx
2018-11-30 dingshangchao 服务器
Docker 安装 Nginx步骤关于nginx启动
2018-11-19 dingshangchao 服务器
nginx安装启动成功后访问会提示
后加php文件提示错误
因为php-fpm未启动,sudo启动后可能会提示
File not found
配置文件中添加
location ~ \.php$ {
root html;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;
include fastcgi.conf;
}
即可访问
apache服务器vue路由History mode页面刷新返回404
2018-10-25 dingshangchao 服务器
1.apache开启rewrite模块
2.虚拟主机配置Allowoverride为all
3..htaccess
<IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.html$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.html [L] </IfModule>
FMS安装
FMS是一个完全基于软件环境的多媒体实时通讯环境,代表了当前实时通讯领域内的发展的方向,并且,其自身也融合了大量的新特色,用于创建下一代通讯应用程序 ...标签: fms
IE下载apk文件扩展名自动变成man的解决方法
用IE11下载Centos服务器上的.apk文件(安卓app安装包文件)时会自动保存为.man文件,可以通过配置httpd.conf文件解决问题。linux系统修改系统时间与时区
2017-8-16 guoweidong 服务器
linux系统修改系统时间与时区