genBTC.github.io files for BetterDiscord etc public repo and current website project
Easily deploy an SSD cloud server on @DigitalOcean in 55 seconds. Sign up using my link and receive $10 in credit:My referral linkroot, default passwordpasswdyourname
nano /etc/sudoers add yourname~/.ssh/authorized-keys~/.ssh/id_RSA.pub
apt-get install build-essential curl git m4 ruby texinfo libbz2-dev libcurl4-openssl-dev libexpat-dev libncurses-dev zlib1g-dev (this was debian 9)brew install node (homebrew is a package manager)apache2 / nginxapt-get install apache2 mariadb-server libapache2-mod-php7.0apt-get install php7.0-gd php7.0-json php7.0-mysql php7.0-curl php7.0-mbstringapt-get install php7.0-intl php7.0-mcrypt php-imagick php7.0-xml php7.0-zip.conf file from /etc/apache2/sites-available/??? to etc/apache2/sites-enabled/???
webmin / usermin / virtualmin-(alternative would be CPanel, etc.)
wget https://download.nextcloud.com/server/releases/nextcloud-12.0.4.zipsudo cp -R nextcloud /var/www/ over to /var/www/nextcloudnextcloud.conf file for apacherm -rf nextcloud and in MySQL do: DROP DATABASE nextcloud; and just re CREATE DATABASE nextcloud; no other commands needed.chown -R www-data:www-data /var/www/nextcloud//var/nextcloudThis 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
wget https://wordpress.org/latest.zipunzip latest.zipmv latest.zip /var/www/wordpress.zipcd /var/www/wordpresstouch .htaccesschmod 660 .htaccesschown -R www-data:www-data .htaccesscp wp-config-sample.php wp-config.phpcurl -s https://api.wordpress.org/secret-key/1.1/salt/mysql -u root -pCREATE DATABASE wordpress DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;GRANT ALL ON wordpress.* TO wordpressuser@localhost IDENTIFIED BY 'asdfghjklqwertyui123';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>
a2ensite wordpress
root@genr8:/var/www/wordpress# sudo chown -R genr8_:www-data /var/www/wordpress
genr8_@genr8:/var/www/wordpress$ sudo chmod g+w wp-content
genr8_@genr8:/var/www/wordpress$ sudo chmod -R g+w wp-content/themes
genr8_@genr8:/var/www/wordpress$ sudo chmod -R g+w wp-content/plugins
systemctl stop [servicename]
systemctl disable [servicename]
rm /etc/systemd/system/[servicename]
rm /etc/systemd/system/[servicename] symlinks that might be related
systemctl daemon-reload
systemctl reset-failed
$ sudo systemctl disable openvpn@default.service
Apache options needed:
SSLCertificateFile /etc/letsencrypt/live/genr8.pw/fullchain.pemSSLCertificateKeyFile /etc/letsencrypt/keys/0000_key-certbot.pem$ 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"
$ 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
$ 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/