Skip to content

Instantly share code, notes, and snippets.

去年买了个登山包 qnmlgdsb

View GitHub Profile
View V2Ray 中转服务器配置折腾记(附全套配置).md

V2Ray 中转服务器配置折腾记(附全套配置)

基础信息

  • 服务器 A ( a.com )

    位于中国大陆以外,安装有 V2Ray 服务,能够正常访问互联网。

    搬wa工 Vultr GoogleCloud...

@solusipse
solusipse / 01_postfix_installer.md
Last active May 31, 2020
Postfix + Dovecot + Postgresql + Postfixadmin + Roundcube
View 01_postfix_installer.md

Postfix Installer

Following script may be used for configuring complete and secure email server on fresh install of Debian 7. It will probably work on other distributions using apt-get. After minor changes you'll be able to use it on other Linux distros.

Usage

  1. Run postfix.sh script.
  2. Configure postgres to allow connections.
  3. Configure postfix admin. Remember to set these:
@sureshsaggar
sureshsaggar / Setup GeoIP with NginX & PHP
Last active Jan 20, 2020
Setup GeoIP with NginX & PHP
View Setup GeoIP with NginX & PHP
On my Ubuntu machine I located the GeoIP.dat file. If not available then download/intall the same.
root@localhost:~# locate GeoIP.dat
/usr/share/GeoIP/GeoIP.dat
Open Nginx configuration (/etc/nginx/nginx.conf) and specify <geoip_country> <path to GeoIP.dat>
line under the "http" block. Example block:
http {
# SS - meant to find country code from the client IP
You can’t perform that action at this time.