Projekt

Allgemein

Profil

Setup erpnext14 » Historie » Version 1

Jeremias Keihsler, 26.08.2022 15:02

1 1 Jeremias Keihsler
h1. Setup erpnext14
2
3
this is taken from David's bash-history ... needs some tidy up :-)
4
5
<pre><code class="shell">
6
less /etc/ssh/sshd_config
7
sudo apt install etckeeper 
8
sudo git config --global --edit
9
sudoedit /etc/hosts
10
emacs
11
sudoedit /etc/hosts
12
sudo apt install emacs-nox
13
export EDITOR=emacs
14
emacs
15
#sudo apt install irqbalance locate screen emacs-nox aptitude apticron fail2ban rkhunter chkrootkit logwatch htop atop strace nmap mtr-tiny arp-scan arping ufw
16
sudo aptitude search ufs
17
sudo aptitude search ufw
18
sudo apt show ufw
19
sudoedit /etc/inputrc 
20
exit
21
sudo less /var/log/mail.log 
22
sudo tail -f /var/log/mail.log 
23
man generic
24
exit
25
sudo apt update
26
sudo apt full-upgrade 
27
sudo apt search ufw
28
man apt
29
sudo apt list ufw
30
sudo apt irqbalance locate screen aptitude apticron fail2ban rkhunter chkrootkit logwatch htop atop strace nmap mtr-tiny arp-scan arping
31
sudo apt list irqbalance locate screen aptitude apticron fail2ban rkhunter chkrootkit logwatch htop atop strace nmap mtr-tiny arp-scan arping
32
sudo apt install locate aptitude apticron fail2ban rkhunter chkrootkit logwatch atop nmap arp-scan arping 
33
sudoedit /etc/postfix/main.cf
34
export EDITOR=emacs
35
sudoedit /etc/postfix/main.cf
36
mail -s "test" ayers@intars.at < /etc/hostname
37
sudoedit /etc/aliases
38
man aliases 
39
sudo newaliases 
40
man aliases 
41
man postalias 
42
mail -s "test" root < /etc/hostname
43
cat /etc/aliases
44
sudoedit /etc/aliases
45
sudo newaliases 
46
man virtual 
47
sudoedit /etc/postfix/main.cf
48
sudoedit /etc/mailname 
49
mail -s "test" root < /etc/hostname
50
sudo su
51
exit
52
cat /etc/postfix/generic
53
sudo ls postconf /etc/postfix/generic
54
sudo postconf -m
55
cat /etc/postfix/main.cf
56
sudo postmap /etc/postfix/generic
57
mail -s "atler" alert
58
sudoedit /etc/aliases
59
sudoedit /etc/postfix/generic
60
ls
61
sudo newaliases 
62
sudo postmap /etc/postfix/generic
63
mail -s "atler" alert
64
mail -s "atler" alert < /etc/hostname 
65
less /etc/postfix/main.cf
66
sudo apt install backup-manager
67
sudoedit /etc/rkhunter.conf
68
export EDITOR=emacs
69
sudoedit /etc/rkhunter.conf
70
sudo rkhunter --propupd
71
sudo rkhunter --check --sk
72
sudo grep -iA 1 warn /var/log/rkhunter.log
73
sudoedit /etc/rkhunter.conf
74
sudoedit /etc/ssh/sshd_config
75
sudo grep -iA 1 warn /var/log/rkhunter.log
76
sudoedit /etc/rkhunter.conf
77
sudoedit /etc/ssh/sshd_config
78
screen
79
sudo apt install python3-minimal build-essential python3-setuptools
80
sudo ufw allow 22,25,143,80,443,3306,3022,8000/tcp
81
sudo ufw enable
82
sudo apt install git python3-dev python3.10-dev python3-setuptools python3-pip python3-distutils redis-server
83
sudo apt install python3.10-venv
84
sudo apt update 
85
sudo apt install xvfb libfontconfig wkhtmltopdf
86
sudo apt install libfontconfig wkhtmltopdf
87
sudo apt install libfontconfig
88
sudo apt install xvfb 
89
</code></pre>