-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcommands.txt
100 lines (87 loc) · 3.8 KB
/
commands.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
======================================================
==================== commands.txt ====================
======================================================
This file is a list of commonly used commands for
installing and configuring this project on a new
system.
*DO NOT* simply copy and past all of these commands
into your terminal and hope they it will work!
Instead, use these commands to supplement your reading
of the more important README.md file.
======================================================
======================================================
======================================================
sudo apt-get update
sudo apt-get upgrade
sudo reboot 0
sudo apt-get install gcc nvcc
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt-get install dkms build-essential
sudo apt-get update
sudo apt-get install nvidia-cuda-toolkit
wget http://developer.download.nvidia.com/compute/cuda/10.2/Prod/local_installers/cuda_10.2.89_440.33.01_linux.run
sudo sh cuda_10.2.89_440.33.01_linux.run
sudo rm -f /swapfile
sudo fallocate -l 32G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
sudo nano /etc/fstab
sudo swapon --show
cat /proc/sys/vm/swappiness
sudo reboot 0
sudo apt-get install postfix
sudo dpkg-reconfigure postfix
sudo apt install certbot
sudo certbot certonly --standalone -d www.CrazedCoding.com
sudo ls /etc/letsencrypt/libavdevice
sudo postconf -e 'smtpd_tls_cert_file = /etc/letsencrypt/live/www.crazedcoding.com/fullchain.pem'
sudo postconf -e 'smtpd_tls_key_file = /etc/letsencrypt/live/www.crazedcoding.com/privkey.pem'
sudo postconf -e 'smtpd_sasl_type = dovecot'
sudo postconf -e 'smtpd_sasl_path = private/auth'
sudo postconf -e 'smtpd_sasl_local_domain ='www.CrazedCoding.com'
sudo postconf -e 'smtpd_sasl_security_options = noanonymous'
sudo postconf -e 'broken_sasl_auth_clients = yes'
sudo postconf -e 'smtpd_sasl_auth_enable = yes'
sudo postconf -e 'smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination'
sudo postconf -e 'smtp_tls_security_level = may'
sudo postconf -e 'smtpd_tls_security_level = may'
sudo postconf -e 'smtp_tls_note_starttls_offer = yes'
sudo postconf -e 'smtpd_tls_loglevel = 1'
sudo postconf -e 'smtpd_tls_received_header = yes'
sudo postconf -e 'virtual_alias_domains = $mydomain'
sudo postconf -e 'virtual_alias_maps = hash:/etc/postfix/virtual'
sudo bash -c 'echo "postmaster@CrazedCoding.com root" >> /etc/postfix/virtual'
sudo bash -c 'echo "root@CrazedCoding.com root" >> /etc/postfix/virtual'
sudo bash -c 'echo "crazed@CrazedCoding.com crazed" >> /etc/postfix/virtual'
sudo cat /etc/postfix/virtual
sudo postmap /etc/postfix/virtual
sudo systemctl restart postfix
sudo apt install dovecot-common dovecot-imapd dovecot-pop3d dovecot-core
sudo maildirmake.dovecot /etc/skel/Maildir
sudo maildirmake.dovecot /etc/skel/Maildir/.Drafts
sudo maildirmake.dovecot /etc/skel/Maildir/.Sent
sudo maildirmake.dovecot /etc/skel/Maildir/.Trash
sudo maildirmake.dovecot /etc/skel/Maildir/.Templates
sudo cp -r /etc/skel/Maildir /home/$USER/
sudo chown -R $USER:$USER /home/$USER/Maildir
sudo chmod -R 700 /home/$USER/Maildir
sudo adduser $USER mail
echo 'export MAIL=~/Maildir' | sudo tee -a /etc/bash.bashrc | sudo tee -a /etc/profile.d/mail.sh
sudo nano /etc/dovecot/conf.d/10-auth.conf
sudo nano /etc/dovecot/conf.d/10-mail.conf
sudo nano /etc/dovecot/conf.d/10-master.conf
sudo nano /etc/dovecot/conf.d/10-ssl.conf
sudo systemctl restart dovecot
tail -f /var/log/mail.log
sudo apt-get install python3-pip
sudo apt-get install libavformat-dev
sudo apt-get install libavformat-dev
sudo apt-get install libavdevice-dev
sudo python3 -m pip install av
sudo apt-get install ffmpeg
sudo apt-get install git
cd Desktop/
git clone https://github.com/CrazedCoding/CrazedCoding.com.git
cd CrazedCoding.com/
sudo python3 server.py