RouterOS 基础设置

December 4, 2019 | 分类:Linux

RouterOS初始用户名:admin;密码为空。

阅读剩余部分...

Tags: none

CentOS7 安装 PHP + NGINX

May 21, 2019 | 分类:Linux

一、配置安装源

yum install epel-release

IUS包:
https://dl.iuscommunity.org/pub/ius/stable/CentOS/7/x86_64/
在里面找到:

ius-release-x.x-xx.ius.centos7.noarch.rpm

阅读剩余部分...

Tags: CentOS, nginx, php

CentOS 7 安装 PostgreSQL 11

May 20, 2019 | 分类:Linux

OpenWrt利用6plat部署IPv6环境

May 13, 2019 | 分类:Linux

1、申请6plat账号
前往http://6plat.org申请46模块个人帐号。

阅读剩余部分...

OpenWrt 18.06 内网PPTP无法拨号的修复

May 10, 2019 | 分类:Linux

安装软件包:

opkg update
opkg install ppp-mod-pptp kmod-nf-nathelper-extra
opkg install luci-proto-ppp
opkg install kmod-ipt-raw

阅读剩余部分...

Tags: VPN, openwrt, pptp

OpenWrt连WAN口做二级路由与一级路由内网互联

May 10, 2019 | 分类:Linux

一级路由内网:

192.168.1.0/24

二级路由内网:

192.168.2.0/24

阅读剩余部分...

Tags: openwrt, route

CentOS 7 firewall 使用简介

June 13, 2017 | 分类:Linux

查询是否开启80端口:

阅读剩余部分...

Tags: none

CentOS 5/6 快速安裝 VPN Server (PPTP)

February 18, 2014 | 分类:Linux

把握幾個重點即可快速完成 pptp 的 VPN Server 架設:

ppp - 點對點協定 (Point-to-Point Protocol)
pptpd - 點對點通道協定 (Point-to-Point Tunneling Protocol)
iptables - 設定封包轉發規則

阅读剩余部分...

Tags: CentOS, VPN, PPP

Centos 使用 SSH 连接远程服务器

May 26, 2013 | 分类:Linux

使用SSH连接远程服务器,我一直在试下面的命令,可是老是连不上。

#ssh vps.zhangjun.sh.cn:22xx

阅读剩余部分...

Tags: CentOS, SSH

LNMP下Nginx如何实现域名301重定向

May 24, 2013 | 分类:Linux

将zhangjun.sh.cn直接转向www.zhangjun.sh.cn

直接用VI编辑器打开 /usr/local/nginx/conf/vhost/www.zhangjun.sh.cn.conf 这个配置文件,代码如下

阅读剩余部分...