Giter VIP home page Giter VIP logo

toulousain79 / mysb Goto Github PK

View Code? Open in Web Editor NEW
106.0 17.0 27.0 6 MB

MySB (MySeedBox) is more than a simplified installation script of a multi-users Seedbox. There are many solutions to install a Seedbox, but we never talk about safety and regular operations. MySB could be renamed MySSB (MySecuredSeedBox).

Home Page: https://mysb.gitbook.io/doc/

License: MIT License

Shell 49.63% PHP 20.46% CSS 12.27% JavaScript 17.39% HTML 0.02% Perl 0.01% Python 0.22%
seedbox dnscrypt-proxy peerguardian openvpn letsencrypt nextcloud plex-media-server rtorrent dedicated-server tracker

mysb's People

Contributors

toulousain79 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mysb's Issues

Feature requests (autodl-irssi, zoho email, instant setup)

Thanks so much for the script! I know this isn't an issue but I didn't know where else to ask. Will you be adding autodl-irssi support for this or providing a guide on how to set it up for multi-users? Also, how do I change the name on the email that is sent when users are created from MySB to my actual name?

I think some great additions would be (ordered by importance):

  1. autodl-irssi support with automatic configuration when user is created (everyone uses it)
  2. The ability to create user with one command. Example: "MySB_CreateUser username email" (gives ability for seedbox hosts to offer instant setup)
  3. Zoho Email Support to go along with OVH, Yahoo and Gmail. (Very popular, free email hosting)

Thanks again!

Configurer Plex

Bonjour merci pour ce magnifique script

Fraichement installé sur un serveur dédié tout marche correctement avec tout les options, je voudrais utilisé plex maintenant comment faire ?

Plex port not open

Plex port 32400 is not opened and have to add it manually in the IPtables. The IPtables get overridden each time peerguardian updates and have to add the port in again...

Set Up User quota

Hi,

Thanks a lot for the script , Is there any way to set up quota space for the user. I tried webmin and so far it doesn't represent the actual disc usage of the user.

Or is there any other way to set it up.

Thanks a lot again

Thank You and a Feature Request

First Off..Thank You! I've been looking through the code and its obvious you spent a lot of time on it. Esp how the firewall rules work.

This brings me to my post. I've been struggling with how to keep firewall rules. They seem to get wiped out all the time. I've added some services to my server (Syncthing is the main one) and wish to open ports for it's web GUI. My request is that you add a file somewhere that would allow us to open custom inbound and outbound ports for our registered users and then another file to open inbound and outbound ports for all. This should allow us to control the firewall enough to open ports for added services.

Again..thank you for the effort...it is appreciated by me.

file permission

hello;

I have moved file on rtorrent/completed to folder on owncloud , but nothing apear on owncloud ....
How to set the permission for files/folder on owncloud ?

Yo, what's up?

Hey,

I was checking your awesome script, honestly I totally forgot about it because the only thing that comes into my mind was the "Kerwood Seedbox Script". Good thing that I saw your script again! It has everything that I need. My main concern is the "Seedbox Manager". What does it usually do? I can help you out so that it will have an "English" version.

I am not using OVH anymore. I have a new provider. They are soooo fast and worth it!

As for the documentation, I was thinking that you should have a section where it shows that your script is installing in the user's server and a brief explanation of the function and the purpose.

By the way, I like your script. It is really user-friendly.
Have you tried to use other operating systems too?

Thanks.

Open VPN doesnt change the computer IP

Hi,

Thanks for your script again .

I was testing the open VPN settings TAP and TUN both but with the current settings its logs in well with openvpn but the ip of the computer doesn't change .

Regards

Problème avec adresse mail et samba

Bonjour !

J'espère que ça ne te déranges pas que j'écrive ceci en français, sinon je peux traduire sans soucis.
J'ai un soucis concernant l'adresse mail : en effet, à la création du serveur et à la création d'un nouvel utilisateur, je ne reçois pas de mail (même dans les spams). J'ai essayé plusieurs fois avec gmail et yahoo.

De plus, je ne comprends pas bien la commande pour monter le partage de fichier samba. Quand je l'exécute, il m'indique :

mount: mauvais type de système de fichiers, option erronée, superbloc erroné
sur -, page de code ou programme auxiliaire manquant, ou autre erreur
(pour plusieurs système de fichiers (NFS ou CIFS par exemple), un
programme /sbin/mount. auxiliaire pourrait être nécessaire)

Sais- tu d'où cela peut venir ?
En tout cas super projet, bravo à toi, le reste fonctionne à merveille !

Cannot add tarckers

Hi,

I tried adding trackers , it keeps giving me a message cannot update database .

Also Is there a way I can remove trackerlist ? I want to allow all trackers.

Documentation FR

  • Usage avancé: Comment ajouter un site perso
  • Usage avancé: Récupérer les 5% de blocs réservés d'une partition
  • Support / Discord
  • Support / FAQ

Bug trouvé à l'utilisation

Bug rencontré
-lien vers cakebox page UserInfo.
-Accès page de log et d'autres URL depuis la page UserInfo (Partie MainUser) oblige de retaper le password.
-Seedbox Manager ne conserve aucun réglage (Choix du thème/ajout de raccourci dans la barre du haut/ choix de la partition à surveiller)

Suggestion
IRSSI ou ZNC (bouncer IRC)
YoutubeDL (avec webUI)
Dans la section Renting Infos avoir le résultat (dernière ligne) à 2chiffre après la virgule.

Error with LoadAVG

Hi,
For start, sorry for my english (Toulousain inside) ^^

I take error when i would launch LoadAVG:
/loadavg/public/index.php
La page n'est pas redirigée correctement

If i change "public" by my user, don't work too...

And for finish very very thanks for this beautyful script (i Forked them for translate the home page in french, if you are ok with that)

Postfix sécu

  • Mettre à jour la documentation conernant Gmail et 2FA
  • Modifier install/Postfix pour Gmail 2FA
  • Corriger bug page SMTP, le pass devrait être supprimer une fois les modifications appliquées
  • Suppression du fichier /etc/postfix/sasl/sasl_passwd

doesn't work for me

everything seems to work fine until it starts the screen session and asks me if i want to continue with the install, i input yes and it says

Preparing the installation

1/22 - Creating security rules....Write failed: Connection reset by peer

then it disconnects me from the server and I am unable to gain access again without reinstalling debian

I've tried reinstalling the script around 15 times choosing different features and settings to install, always with the same result. Here is the latest install settings I used, I tried to install the bare minimum.

  1. Have you confirmed your IP (yours, not the server) YES

  2. Did you use an external SMTP server ? If so which one? Have you received the confirmation email before restarting ? NO and no I never received any emails

  3. What time zone scripting offered you ? Which one have you approved ? It offers Europe/Paris, for this particular install I kept it as Europe/Paris (although this is confusing maybe it would be a good idea to use UTC or something?)

  4. Which network interface script offered you ? Which one have you approved ? It offers my servers IP address, maybe this is where it is going wrong? I approved my servers IP address this time but I have used both examples eth0 and nic0 before with the same results.

  5. Does the IP address of the server was correct ? Have you change it ? YES and NO

  6. What hostname script give to you ? Have you change it ? triggz and NO

  7. Have you changed any of the ports offered ? (HTTP, HTTPS, SSH, ...) NO

  8. Have you installed Seedbox-Manager ? NO

  9. Have you installed Cakebox ? NO

  10. Have you installed Webmin ? NO

  11. Have you installed OpenVPN ? NO

  12. Have you installed PeerGuardian ? NO

  13. Have you installed DNScrypt ? NO

PS I'm very new to Linux, I apologize if it's something I'm doing wrong. I hope we can sort this, your seedbox script is by far the best I have found.

Cannot access server

Hi. After install it, and reboot I cannot access my server. 😢
I try to ping my server and no response. Im have force reboot on panel but nothing happen.
Im using online dedicated server. I want to play around but cannot.
I want to give you the log but I cant access my server anymore. Please advice. 👍

Faire passer rtorrent au travers un VPN

Bonjour,
je dispose d'un abonnement auprès de NordVPN et je souhaiterai faire transiter tous le flux de rtorrent au travers ce VPN (donc utiliser openvpn client pour me connecter à NordVPN).
est-ce possible en utilisant se ce script ? (c'est le seul point qui ne ma pas poussé à migrer vers MySB).
Merci

Cakebox not streaming

Hi,
I have done mutiple installations so far in different servers , so far the cakebox dosen't seem to stream videos.

let me know if its is working on your end or there are any specific settings and I see plex already setup with your script , do we just need to tunnel it?

Pouvoir modifier le FQDN du serveur

Cas:

  • Manuellement via ligne de commande: gfnChangeFQDN
  • Automatiquement via un upgrade de MySB (question)

A traiter:

  • màj du FQDN en base de données
  • modification /etc/hostname
  • régénération clés SSH (tous les users)
  • install/Certificates
  • install/LetsEncrypt
  • install/NginX
  • install/VSFTPd
  • install/SeedboxManager
  • install/CakeboxLight
  • install/LoadAvg
  • install/NextCloud
  • install/ruTorrent (+ plugins)
  • install/Postfix
  • install/PlexMedia (Tautulli)
  • install/OpenVPN
  • install/Webmin

Error on install:

Hi!
Thanks for the script!

I've experiencing issues on install. Setup is going good until:

"12/38 - Generating the NginX Certificate with Let's Encrypt.........................................................................................."

On this is just freezes and ssh gets unresponsive.

Any idea?

Debian 8

Bonjour,

sur un serveur tout propre j'essaye d'installer MySB mais visiblement ça ne passe pas.
le script est il utilisable sur une debian 8 ?

je tourne sous :

#1 SMP Debian 3.16.7-ckt20-1+deb8u3 (2016-01-17)

en effet à l'install j'ai ce message d'erreur

`Internet : OK
Distributor ID : Debian
Release : 8
Architecture : 64
PVE kernel : No
Ubuntu kernel : No
OVH kernel : No

MySB est conçu uniquement pour Debian Wheezy 7 ou supérieure (32 ou 64bits).
Les systèmes avec un noyau PVE ne sont pas supportés.
Un accès Internet valide est requis.
Un noyau Debian standard est également nécessaire.
Abandon !`

merci par avance.

Pouvoir héberger un site perso

  • configuration NginX en HTTP et HTTPs
  • demande d'un certificat supplémentaire avec Let's Encrypt
  • renouvellement du certificat supplémentaire
  • NginX, adaptation pour gérer plusieurs certificats via des snippets
  • Documentation FR #36

Ajout d'un script de pré-chargement d'un torrent

  • Gestion d'un script de pré-chargement d'un torrent dans .rtorrent.rc comme pour le post traitement
    • Post traitement:
      system.method.set_key = event.download.finished,move_complete,"execute=~/.rTorrent.bsh,$d.get_base_path=,$d.get_directory=,$d.get_custom1=,$d.get_name=,$d.get_loaded_file="
    • Pre traitement:
      system.method.set_key = event.download.inserted_new,move_tor,"execute=mv,$d.get_loaded_file=,$d.get_custom2="
  • Vérifier si tracker privé ou publique dans script de pré-chargement
    • SI type tracker est nok ALORS rm $d.get_loaded_file= AND envoie mail SINON continue
  • Ajouter booléen dans le portail admin pour bloquer le démarrage des trackers publiques
  • Rechercher si le fichier à télécharger existe déjà sur le serveur (autres utilisateurs)
    • SI fichier existe ALORS cp -al
  • éditer les fichiers torrent à la volée pour supprimer le proto udp
  • prioriser les annonceurs en HTTPs
  • vérifier la validité des annonceurs à la volée ?
  • documentation trackers privés/publiques

PeerGuardian, ajout de listes de blocage

  • Actualiser les listes actuelles
    • iBlocklist: General
    • iBlocklist: Organizations
    • iBlocklist: ISP
    • iBlocklist: Country
    • Pouvoir ajouter manuellement des listes (Nexus23 ?)

Problème mise à jour MySB

Bonjour,

J'avais une installation de MySB v1.1 relativement light (pas de OpenVPN, Webmin, PlexMedia Server)
mais l'ensemble fonctionnait relativement bien. (Juste un problème de file-manager sur rutorrent)

Depuis hier, j'ai fait un test de mise à jour avec la commande qui convient et la, j'ai plusieurs soucis.

Le premier est sur rtorrent qui ne marche plus du tout. (ci -joint le code dans la console rutorrent http://pastebin.com/nDgnHrdP )
Le deuxième est sur OpenVPN. J'ai installé via la mise à jour OpenVPN mais je n'ai absolument aucun fichier de configuration de créé.

Pour l'installation de la V1.1, j'avais suivi les recommandations pour la V2 qui était encore dans la branche dev à savoir l'utilisation du kernel par défaut.
J'avais eu un soucis pour seedbox manager, la compilation de la fonction de reboot ne marchait pas, j'ai du récupérer à la main la dernière version sur le git de l'auteur, je n'ai jamais su d'où l'erreur venait.. (plusieurs tentatives d'installation avaient été faite).

Je me tiens à votre disposition pour l'envoi de log, pour d'eventuels tests et autres manipulations a faire.

Thibault

chown issue when creating from SSH

When I create users from SSH, it shows that the owner of the /home/user33/rutorrent/torrents folder is root, so all disk quota is assigned to root instead of the user. This was fixed by changing ownership of the torrents folder.

Note: It works correctly when adding users from the GUI. This only happens when adding users via SSH using MySB_CreateUser

Transdroid Crash

Hi,

Thanks again for your great script

I was testing transdroid based on the settings on the manager or manually , once the setting is done and you click connect on transdroid , the transdroid application crashes immediately.

suivi du projet impossible

Bonjour, ce n'est pas vraiment une feature request mais plus une question indiscrète ;)

Pourquoi seuls les derniers commits sont-ils conservés et qu'on ne peut donc pas suivre toutes les modifications apportées au projet ?

  • 9 commits sur la branche 5.2 avec en grande majorité des commentaires génériques "5.2"
  • 8 commits sur la v99.99 remontant à il y a 2 heures maximum avec des commentaires génériques

Cela rend impossible le suivi du projet qui est très intéressant et unique dans le monde des seedbox sur serveur dédié, surtout pour ceux amateurs de sécurité se souciant de la fréquence des updates des différents composants ou optimisation de la configuration / scripts de déploiement / ...

Installation bloquée étape 14

Bonjour, merci pour script mais mon installation de celui-ci est bloqué depuis plus de 5h sur l'étape 14 création des certificats let's Encrypt, je ne sais plus exactement le titre parce qu'il y a tellement eu de pointillé.

Mon serveur ne respect pas les recommandation, c'est un KS-3 de Kimsufi, mais je n'ai pas coché l'option Plex, je n'ai mis que le nécessaire je veut l'utiliser juste en seedbox, pas de fioriture.

Je n'ai trouvé aucun log parlant d'erreur, le seul fichier qui est mis à jour c'est le /tmp/cpu_stats assez fréquemment et le /run/motd.dunamic qui c'est mis à jour à 16h15 sinon rien depuis 12h.

Es-ce normal ?

Merci d'avance de ta réponse

Matthi3u

The use of domain name, is it possible?

Hello,

I was thinking of using a domain name is better than memorizing the IP address of my seedbox which in my opinion, is safer.

For example, the seedbox is https://x.x.x.x/rutorrent or http://x.x.x.x/rutorrent right?

Can I use seedbox.com and not seedbox.com/rutorrent ? or even seedbox.domain.com and not seedbox.domain.com/rutorrent ?

I think this has something to do with .htaccess but the script is using nginx not Apache. In my opinion, of course, nginx is faster than Apache 👍

Thanks.

Erreur aprés Mise à jour

Salut,
Alors, la mise à jour c'est tres bien passer. Il y a juste une erreur à la fin de la MaJ:
Updating MySB version...Done !
Upgrade script does not exist (/etc/MySB/upgrade/From_v2.0-to-v2.1.bsh), aborting...
-bash: /etc/MySB/bin/MySB_UpgradeMe: Permission non accordée

Je presume qu'il n'a pas du remettre les droits, car les scripts sont bien present.
/etc/MySB/bin# ls
MySB_ChangeUserPassword MySB_GitHubRepoUpdate MySB_UpgradeMe
MySB_CreateUser MySB_RefreshMe MySB_UpgradeSystem
MySB_DeleteUser MySB_SecurityRules

Error on seedbox manager and MySB

On seedbon manager this error gets generated , previously it was working fine.
Installation Guide

Starting the application
Indicate the correct owner of the files of the application, copy the command and run it ROOT (super user).

chown -R www-data: www-data / etc / MySB / web / seedbox-manager /
Run the install.sh script to compile the reboot program ROOT.

cd / etc / MySB / web / seedbox-manager / source-reboot-rtorrent /
chmod + x install.sh ./install.sh &&

on mySB portal
Wolf CMS automatically disabled!

Wolf CMS has been disabled as a security precaution.

Reason: the configuration file was found to be writable.

The broadest rights Wolf CMS allows for config.php are: -rwxr-xr-x

/MySB/* non accessible

Salut,

Bravo pour le boulot ! Testé sur des Kimsufi - Wheezy @ovh.

J'ai rencontré un problème de permission en voulant aller sur ces pages : /MySB/SeedboxInfo.php/ - ManageIP.php/ - ChangePassword.php
En revanche les accès CakeBox/ruTorrent/Webmin/Seedbox-Manager fonctionnent bien.

J'ai du éditer /etc/nginx/locations/MySB.conf et ajouter mon IP perso dans les allow. Sauf erreur de ma part, dans le script je n'ai vu qu'une demande de l'IP serveur, pas celle du client.

En tous cas bien joué, script très pratique pour les débutants, je vais relayer :)

Using MySB was not successful.

Hi,

First of all, I would like to congratulate you with the script! I find your script awesome and full of really nice and unique features! This is definitely better than Kerwood and the SeedboxCreatorScript. Although, I would like to be able to use CentOS instead of Debian/Ubuntu though. Anyway, I installed it on my Kimsufi server, I used Debian 7. Well, after the installation, it automatically restarted and then nothing happens. I was shocked because OVH sent me an e-mail that says my server has an issue and needs to be checked by their technicians. I tried doing a cold reboot yet I can only boot into the rescue mode. Also, it seems the hostname (FQDN) is wrong. For example, I can see ns1234567.ip-1-234-567.eu which does not allow me to access anything. I believe it should be the IP address of the server, right? Another thing, I noticed that while your script is configuring ruTorrent and the plugins, it took more than 20 minutes just to finish it. When I used Ubuntu 14.x (the latest release), well everything was fast. Although, I am receiving an e-mail from OVH about the intervention thing again. It seems that they cannot ping my server anymore that is why their system is probably thinking that my server is broken. Which is weird, because every time your script finished the installation, it automatically shutdown or restarts my server wherein it does not boot anymore.

Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.