Skip to content

倪之帅 Victor 个人主页

  • Home
  • Tech
    • Linux
    • LNMP
    • Mac
    • Mobile
    • Products
    • SMS
  • 英语学习

Month: July 2016

May 16, 2018 / Linux

Centos install haproxy

Command yum update -y yum install haproxy mv /etc/haproxy/haproxy.cfg /etc/haproxy/haproxy.cfg.default vi /etc/haproxy/haproxy.cfg copy to haproxy.cfg global ulimit-n 51200 defaults log global mode tcp option dontlognull timeout connect 1000ms timeout client 150000ms timeout server 150000ms frontend 80-in bind *:80 default_backend 80-out backend 80-out server server1 original Ip maxconn 20480 Auto start haproxy sudo chkconfig haproxy on

Continue Reading
June 2, 2018 / Linux

Centos 7 enable port 80

firewall firewall-cmd –zone=public –add-port=80/tcp –permanent systemctl stop firewalld.service systemctl start firewalld.service systemctl restart firewalld.service   Ipatbles iptables -A INPUT -p tcp –dport 80 -j ACCEPT iptables -A OUTPUT -p tcp –sport 80 -j ACCEPT systemctl save iptables.service systemctl restart iptables.service

Continue Reading

Categories

  • Linux
  • LNMP
  • Mac
  • Mobile
  • PHP
  • Products
  • SMS
  • Uncategorized
  • VPS
  • 原创
  • 技术

Recent Posts

  • composer切换源_composer全局更换镜像源的教程
  • 宝塔终端切换root用户为www
  • linux 宝塔 nginx php8.0 或者 php7 安装swoole
  • 宝塔面板修改composer默认PHP版本
  • PHP代码http跳转到https

Archives

  • October 2022
  • August 2022
  • June 2020
  • June 2019
  • October 2018
  • May 2018
  • April 2018
  • March 2018
  • July 2016
  • June 2016
  • April 2016
  • November 2015
  • October 2015
  • May 2015
  • April 2015
  • February 2015
  • January 2015
  • December 2014
  • October 2014
  • August 2014
  • April 2014
  • June 2011
  • June 2010
  • May 2010
  • April 2010
  • December 2004
  • October 2002
  • January 2001
  • March 2000
© 2000-2025 倪之帅 Victor 个人主页