• linux系统中查看己设置iptables规则

    日期:

    使用Linux时,需要以一个用户的身份登陆,从而限制一个使用者能够访问的资源;而组则是用来方便组织管理用户。 用户与组 每个用户拥有一个UserID 每个用户属于一个主组,属于一个或多个附属组 每个组拥有一个GroupID 每个进程以一个用户身份运行,并受该用户...

  • 查看iptables规则设置

    日期:

    iptables是一个强大的Linux防火墙,使用频率极高。本文介绍如何查看iptables规则设置。 1、iptables -L 查看filter表的iptables规则,包括所有的链。filter表包含INPUT、OUTPUT、FORWARD三个规则链。 说明:-L是--list的简写,作用是列出规则。 2、iptables -...

  • 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站点开发的,它已经在该...