home
·
contact
·
privacy
projects
/
config
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add new autojoin IRC channel to irssi config.
[config]
/
jessie_start_server.sh
diff --git
a/jessie_start_server.sh
b/jessie_start_server.sh
index 4a2e4af5f0a7008e9b49bd5549f249c989e8b3a5..d3af7fbfe515b4a2f398f71abebe5e2db245d5d6 100755
(executable)
--- a/
jessie_start_server.sh
+++ b/
jessie_start_server.sh
@@
-82,6
+82,9
@@
apt-get -y install vim
mkdir -p .vimbackups
su plom -c 'mkdir -p /home/plom/.vimbackups/'
mkdir -p .vimbackups
su plom -c 'mkdir -p /home/plom/.vimbackups/'
+# Set up ssh-guard.
+apt-get -y install sshguard rsyslog
+
# Set up openssh-server.
apt-get -y install openssh-server
# Set up openssh-server.
apt-get -y install openssh-server
@@
-95,6
+98,10
@@
cp config/systemfiles/aliases /etc/aliases
newaliases
service postfix restart
newaliases
service postfix restart
+# Set up regular system update reminder.
+apt-get -y install cron
+su plom -c "echo '0 0 * * 0 ~/config/bin/simplemail.sh ~/config/mails/update_reminder' | crontab -"
+
# Set up screen.
apt-get -y install screen
# Set up screen.
apt-get -y install screen
@@
-109,6
+116,9
@@
systemctl enable /etc/systemd/system/irssi.service
# Clean up.
rm jessie_start_server.sh
# Clean up.
rm jessie_start_server.sh
+# Send instructions mail.
+config/bin/simplemail.sh config/mails/server_postinstall_finished
+
# Set password for user.
passwd plom
# Set password for user.
passwd plom