All Projects → johnrosen1 → Vpstoolbox

johnrosen1 / Vpstoolbox

Licence: mit
一键安装Trojan-GFW代理,Hexo博客,Nextcloud等應用程式。

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to Vpstoolbox

Mailserver
⚠️ UNMAINTAINED - Simple and full-featured mail server using Docker
Stars: ✭ 1,267 (+17.31%)
Mutual labels:  postfix, debian, letsencrypt
Guacamole Install Rhel 7
Apache Guacamole installation bash script for RHEL 7 and CentOS 7 including options for Nginx, HTTPS, SSL, LDAP, Let's Encrypt certificates and more
Stars: ✭ 174 (-83.89%)
Mutual labels:  mariadb, letsencrypt, nginx
Ansipress
AnsiPress - Simple L(Linux) E(NGINX) M(MariaDB) P(PHP7) Shared Hosting Setup
Stars: ✭ 184 (-82.96%)
Mutual labels:  debian, letsencrypt, nginx
Wordops
Install and manage a high performance WordPress stack with a few keystrokes
Stars: ✭ 649 (-39.91%)
Mutual labels:  mariadb, debian, nginx
Hermes-Secure-Email-Gateway
Hermes Secure Email Gateway is a Free Open Source Ubuntu 18.04 or 20.04 Server based Email Gateway that provides Spam, Virus and Malware protection, full in-transit and at-rest email encryption as well as email archiving. It features the latest email authentication techniques such as SPF, DKIM and DMARC.
Stars: ✭ 35 (-96.76%)
Mutual labels:  letsencrypt, postfix, mariadb
docker-nextcloud
Nextcloud Docker image
Stars: ✭ 209 (-80.65%)
Mutual labels:  letsencrypt, nextcloud, mariadb
Dockerweb
A docker-powered bash script for shared web hosting management. The ultimate Docker LAMP/LEMP Stack.
Stars: ✭ 89 (-91.76%)
Mutual labels:  mariadb, letsencrypt, nginx
mmb
Set of Dockerfiles and assets related to them for building Docker images with different services
Stars: ✭ 34 (-96.85%)
Mutual labels:  debian, nextcloud, mariadb
Wp Vps Build Guide
A verbose build guide for a modern, high-performance WordPress production VPS.
Stars: ✭ 31 (-97.13%)
Mutual labels:  mariadb, vps, nginx
mailserver
Simple and full-featured mail server using Docker
Stars: ✭ 88 (-91.85%)
Mutual labels:  letsencrypt, debian, postfix
ezpptp
Easy PPTP VPN setup script for Debian based VPS
Stars: ✭ 87 (-91.94%)
Mutual labels:  debian, vps, vpn
Config
Armbian configuration utility
Stars: ✭ 317 (-70.65%)
Mutual labels:  nextcloud, postfix, nginx
Wireguard Install
WireGuard road warrior installer for Ubuntu, Debian, CentOS and Fedora
Stars: ✭ 650 (-39.81%)
Mutual labels:  vpn, debian
Ceryx
Dynamic reverse proxy based on NGINX OpenResty with an API
Stars: ✭ 688 (-36.3%)
Mutual labels:  letsencrypt, nginx
Atomic Toolkit
AtoMiC Toolkit simplifies HTPC / Home Server setup and management on Ubuntu and Debian variants including Raspbian. It currently supports: Couchpotato, Deluged, Emby, FFmpeg, Headphones, Htpcmanager, Jackett, Kodi, Lazylibrarian, Madsonic, Mono, Mylar, Nzbget, Nzbhydra, NzbToMedia, Ombi, Plex, Plexpy, Pyload, qBittorrent, Radarr, Sabnzbd+, Sickgear, Sickrage, Sonarr, Subsonic, Transmission, Unrar, Watcher, and Webmin.
Stars: ✭ 747 (-30.83%)
Mutual labels:  qbittorrent, debian
Nzedb
nZEDb - a fork of nnplus(2011) | NNTP / Usenet / Newsgroup indexer.
Stars: ✭ 556 (-48.52%)
Mutual labels:  mariadb, nginx
Openvpn Install
Set up your own OpenVPN server on Debian, Ubuntu, Fedora, CentOS or Arch Linux.
Stars: ✭ 7,142 (+561.3%)
Mutual labels:  vpn, debian
Swizzin
A simple, modular seedbox solution
Stars: ✭ 888 (-17.78%)
Mutual labels:  debian, nginx
Ffho Salt Public
Salt-Orchestrated OpenSource based Software-Defined-Freifunk-Infrastructre-Network configuration :) Mirrored from https://git.ffho.net/FreifunkHochstift/ffho-salt-public
Stars: ✭ 12 (-98.89%)
Mutual labels:  ipv6, debian
Certbot Install
Install the latest Certbot in a breeze. Great for Ubuntu Focal 20.04, and other Linux/Mac.
Stars: ✭ 50 (-95.37%)
Mutual labels:  debian, letsencrypt

VPSToolBox

TG群组

一键安装Trojan-GFW代理,Hexo博客,Nextcloud等應用程式。

一键命令

apt-get update && apt-get install sudo curl -y && curl -Ss https://raw.githubusercontent.com/johnrosen1/vpstoolbox/master/vps.sh | sudo bash

注: 仅推荐Debian10系统。

使用要点

  1. 请以 root/sudoer 身份运行(sudo -i)
  2. 请自行购买/白嫖/使用现有的/域名完成DNS A解析,即将域名指向你的VPS IP,(ipv6地址请添加AAAA解析,namesilo最慢需要15min生效)!
  3. 请在VPS控制面板中 完全关闭VPS防火墙(即开放所有端口)(Trojan-gfw以及Shadowsocks-rust皆支援fullcone-nat但需服务器开启所有端口才能使用) 并 关闭 Cloudflare CDN !
  4. API申请证书和HTTP申请证书区别不大,推荐HTTP申请(需A解析生效),无需输入API等信息。

支援的软件

打勾的为启用默认安装的,其余请手动选中以安装,分类标签仅为参考。

欢迎PR/issue更多软件。

尚未添加/整合/测试的软件

欢迎PR/request。

更多的在路上了,咕咕咕。

支援的Linux发行版

打勾的为测试过的,保证可用性,未打勾的表示理论上支援但未测试。

  • [x] Debian10
  • [ ] Debian9
  • [ ] Debian8
  • [ ] Ubuntu 20.xx
  • [ ] Ubuntu 18.xx
  • [ ] Ubuntu 16.xx

项目实现

使用100% bash shell实现。

重要提示

  1. 本项目可覆盖安装,无需重建伺服器/VPS !
  2. Trojan-GFW不支援Cloudflare CDN,请勿开启!
  3. 证书续签目前使用crontab,如有问题,欢迎反馈 !
  4. 本项目不对Vultr机器造成的任何问题负责,this project is not responsible for any problems caused by Vultr machines !

贡献

  1. Fork本项目
  2. Clone到你自己的机器
  3. Commit 修改
  4. Push 到你自己的Fork
  5. 提交Pull request
  6. PR要求请看pr要求

Bug反馈以及Feature request

注:

  1. 其他的反馈方式我大概率看不见。
  2. 除非你有能说服我的理由或者直接提pr,否则不接受代理软件支援请求(比如wireguard之类的)。
  3. 无论发生什么请务必附上复现错误的步骤,截图,OS发行版等信息,否则我不可能能够提供任何帮助。
  4. 私聊请直奔主题,请勿询问 域名怎么买? 这种小白向问题,大家的时间都是有限的,谢谢配合。

Code Quality

  1. 本项目实现了模块化
  2. 本项目我个人从学习bash开始就写起的项目,可能有诸多不合理之处,不建议作为直接教材学习。

Rclone以及全自动上传脚本使用方法

Aria2+Rclone+Onedrive实现全自动化下载

Trojan-panel使用方法

  • Trojan-panel默认不安装,请手动选中以执行安装程序。
  • 进入生成的url,首次注册的用户为管理员(admin)
  • 用户需联系管理员(admin)申请流量(设置为-1为不限流量)。
  • 客户端配置文件中的密码为用户注册在Panel时填入的:Username:Password(中间的:不能漏!)。
  • 若出现File not found.错误,刷新页面即可。
  • 更多请看Trojan-panel使用方法

Nextcloud优化方法

由于Nextcloud自身限制,无法全自动添加redis配置,请手动配置。

  1. 开启Memcache 在/usr/share/nginx/nextcloud/config/config.php中添加以下几行(请添加在中间,非开头或末尾)
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'memcache.distributed' => '\\OC\\Memcache\\Redis',
  'filelocking.enabled' => true,
  'memcache.locking' => '\\OC\Memcache\\Redis',
  'redis' => 
  array (
    'host' => '/var/run/redis/redis.sock',
    'port' => 0,
    'timeout' => 0.0,
  ),
  1. 优化索引

运行以下几行

cd /usr/share/nginx/nextcloud/
sudo -u nginx ./occ db:add-missing-indices
sudo -u nginx ./occ db:convert-filecache-bigint
cd
  1. 切换后台进程方式为cron(好像nextcloud会自己切换,如未切换请手动切换)

Nextcloud设定-->基本设定-->改为cron(伺服器端已配置完成,无需任何手动配置)

  1. 重启服务使配置生效
systemctl restart php7.4-fpm

邮箱服务(Mail Service)使用条件

  1. 一台有独立公网IPv4的非中国大陆VPS/伺服器且25/80/143/443/465/587/993等TCP端口必须能正常使用

阿里云,Google cloud platform,vultr等厂商皆不满足此项要求

  1. 伺服器/VPS必须拥有大于等于 2GB RAM 以及 30GB Storage(SSD最好).
  2. 一个付费域名(推荐Namesilo),.com/.xyz/.moe等后缀无所谓。
  3. 你的伺服器或VPS厂商必须支援rDNS(PTR) record(除非你希望你的邮件被列为spam)。
  4. 你的伺服器或者VPS的ip必须不在各种邮件黑名单里面(否则你发的所有邮件都会被列为spam)。
  5. 本项目暂不支援Postfixadmin,LDAP等企业级服务。

由于邮箱服务的特殊性,仅推荐有需求的人使用。

Debug相关

  1. 本项目主要采用systemd+docker-compose启动服务。
  2. 具体的懒得写了,systemctl查看运行状态,有问题记得反馈即可。

流量示意图

可能不完整,仅供参考。

https://raw.githubusercontent.com/johnrosen1/vpstoolbox/master/images/flow_zh_cn.png

捐赠

BTC: bc1qtcmu8fc0fv9ksedh38msdvfaqdga5s2u8fmsy6

你的捐赠对我而言是最大的帮助,但请不要勉强。

恰饭

注 : 无可用性或SLA保证

https://cp.v2tun.com/aff.php?aff=233

執照

MIT License

Copyright (c) 2019-2021 johnrosen1

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

如果本项目帮助到了你,请给颗star并帮忙推广,谢谢!

Stargazers over time

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].