• jumpserver的安装部署

    日期:

    废话不说直接安装 1:安装数据库 这里是提前安装,也可以不安装,在安装jumpserver主程序的时候,他会询问你是否安装 yum -y install ncurses- devel cmakeecho export LC_ALL=C /etc/ profilesource /etc/ profileuseradd mysql -s /sbin/nologin - Mcd /us...

  • Laravel的Nginx配置

    日期:

    server { listen 80; server_name tool.lu; root /data/html/tool.lu/public; index index.html index.php; location / { try_files $uri $uri/ /index.php$is_args$query_string; } location ~ \.php$ { try_files $uri =404; fastcgi_pass 127.0.0.1:9000;...

  • Nginx中运行PHP框架Laravel的配置文件分享

    日期:

    配置文件改成这样 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 server { listen 80; server_name sub.domain.com; set $root_path /srv/www/default; root $root_path; index index.php index.html inde...

  • Nginx运行Laravel的配置

    日期:

    配置文件改成这样 server{ listen80; server_namesub.domain.com; set$root_path/srv/www/default; root$root_path; indexindex.phpindex.htmlindex.htm; try_files$uri$uri/@rewrite; location@rewrite{ rewrite^/(.*)$/index.php?_url=/$1; } location~\.p...

  • laravel nginx 配置

    日期:

    server { 02. 03. listen 80; 04. server_name sub.domain.com; 05. set $root_path /var/www/html/application_name/public; 06. root $root_path; 07. 08. index index.php index.html index.htm; 09. 10. try_files $uri $uri/ @rewrite; 11. 12. locatio...

  • 安装nginx并配置php环境

    日期:

    环境: Linux ubuntu 3.2.0-23-generic-pae Ubuntu下安装nginx+php+FastCGI 1. 安装nginx 使用命令安装: #sudo apt-get install nginx Nginx的启动和停止: /etc/init.d/nginx start/stop/restart Service nginx start/stop 2. 修改nginx的配置 #vi /etc/ngin...

  • Linux--YUM 安装 nginx php mysql

    日期:

    1.先新建一个 repo # vi /etc/yum.repos.d/centos.it.net.cn.repo 放入如下内容 [it.net.cn] name=it.net.cn Packages for Enterprise Linux 5 - $basearch baseurl=http://www.it.net.cn/centos/5/$basearch/ enabled=1 gpgcheck=0 protect=1 2.启用 EPEL r...

  • LNMP(linux+nginx+mysql+php)服务器环境配置

    日期:

    一、简介 Nginx是俄罗斯人编写的十分轻量级的HTTP服务器,Nginx,它的发音为 engine X, 是一个高性能的HTTP和反向代理服务器,同时也是一个IMAP/POP3/SMTP 代理服务器.Nginx是由俄罗斯人 Igor Sysoev为俄罗斯访问量第二的 Rambler.ru站点开发的,它已经在该...

  • Docker的CPU资源限制

    日期:

    鸿 网 互 联 www.68idc.cn 鸿网互联 虚拟主机 高防空间 高防服务器 网站源码 服务器代维 联系我们 首页 操作系统维护 网络程序脚本 .net技术 手机系统开发 网站安全 数据库 编程语言开发 seo网站优化 网站源码下载 服务器 特色栏目: 服务器安全 Linux 批处...

  • Docker Centos安装Mysql5.6

    日期:

    1、启动centos_sshd镜像 # docker run --net=host -d registry: 5000 /centos-sshd- 222 :v1. 0 /run. sh 这里用的是host模式连接的网络,启动之后即可通过ssh登录到容器内部,装上mysql之后可以直接重启容器来验证是否成功。 2、安装mysql # yum install wg...