genBTC.github.io

genBTC.github.io files for BetterDiscord etc public repo and current website project


Project maintained by genbtc Hosted on GitHub Pages — Theme by mattgraham

Servers

Instructions to set up a server:

  1. Apache2 webserver,
  2. IMAP/Pop3/Sendmail/SMTP/Postfix Mail Servers,
  3. Bind DNS server,
  4. DHCP server,
  5. Bootup and shutdown (init.d scripts),
  6. Schedules and manages lists of Cron jobs,
  7. Change passwords/user info,
  8. Set permissions in wizard to permission secure dirs,
  9. Console shell commands, Web File Manager,
  10. Package software updating,
  11. MySql Database editor,
  12. NFS,iSCSI,Samba Shared filesystems,
  13. LVM/LinuxRaid distributed Filesystem managers,
  14. PAM (auth) + SSH/SSL secure configuration
  15. OpenVPN remote VPN tunneling.
  16. ProFTPD or VSFTPd FTP server supports secure FTP w/ TLS.
  17. Firewall config with iptables, edit all chains in dropdowns
  18. System log viewer, dashboard, status overview (top)

-(alternative would be CPanel, etc.)

NextCloud

DigitalOcean Refcode:

This site named DigitalOcean are giving away 250GB Free storage for 2 months and after that its $5/mo - use my ref code please, its legit. http://www.digitalocean.com/?refcode=712f2fa51673

Create WordPress from scratch:

/etc/apache2/sites-available/wordpress.conf

Alias /blog /var/www/wordpress
<Directory /var/www/wordpress>
    Options FollowSymLinks
    AllowOverride Limit Options FileInfo
    DirectoryIndex index.php
    Order allow,deny
    Allow from all
</Directory>
<Directory /var/www/wordpress/wp-content>
    Options FollowSymLinks
    Order allow,deny
    Allow from all
</Directory>

OPENVPN guides:

LetsEncrypt:

Apache options needed:

FccBot (Node.JS Discord Bot on Startup from cron.d script)

$ nano launch.sh

// Launch.sh
#!/bin/bash
cd ~/discordbot
screen -dmS "fccbot"
screen -S "fccbot" -p 0 -X stuff "/home/linuxbrew/.linuxbrew/bin/node discord_bot.js$(printf \\r)"
echo "Launching Fccbot... from Cron Script"

FREENAS NMAP from genr8.pw

$ sudo nmap 192.168.1.2

Starting Nmap 7.40 ( https://nmap.org )
2018-01-30 09:37 UTC
Nmap scan report for 192.168.1.2
Host is up (0.013s latency).
Not shown: 992 closed ports
PORT     STATE SERVICE
21/tcp   open  ftp
22/tcp   open  ssh
80/tcp   open  http
139/tcp  open  netbios-ssn
443/tcp  open  https
445/tcp  open  microsoft-ds
6000/tcp open  X11
9000/tcp open  cslistener
Nmap done: 1 IP address (1 host up) scanned in 81.44 seconds

Benchmark the CPU: 13 seconds

$ sysbench --test=cpu --num-threads=4 --cpu-max-prime=9999 run

$ rsync -vptldhP *.mrimg /mnt/Media/ (above Was not working, below was) $ rsync -rtlzuv --progress /mnt/Software/*.mrimg /mnt/Media/mrimg/