Skip to content
Snippets Groups Projects
Unverified Commit 689e4273 authored by David Beniamine's avatar David Beniamine
Browse files

fix missing packages and issues

parent 37216ffb
No related branches found
No related tags found
No related merge requests found
...@@ -48,10 +48,13 @@ DEBIAN_FRONTEND='noninteractive' apt-get -qq install \ ...@@ -48,10 +48,13 @@ DEBIAN_FRONTEND='noninteractive' apt-get -qq install \
clamav \ clamav \
clamav-daemon \ clamav-daemon \
cpufrequtils \ cpufrequtils \
dbus \
debian-goodies \ debian-goodies \
fail2ban \ fail2ban \
git \
libapache2-mod-php5 \ libapache2-mod-php5 \
lm-sensors \ lm-sensors \
make \
ntp \ ntp \
pandoc \ pandoc \
php5 \ php5 \
...@@ -62,6 +65,7 @@ DEBIAN_FRONTEND='noninteractive' apt-get -qq install \ ...@@ -62,6 +65,7 @@ DEBIAN_FRONTEND='noninteractive' apt-get -qq install \
php5-mcrypt \ php5-mcrypt \
php5-mysql \ php5-mysql \
postfix \ postfix \
openssh-server \
tar \ tar \
tmux \ tmux \
ufw \ ufw \
...@@ -91,11 +95,9 @@ cat id_rsa.pub >> /root/.ssh/authorized_keys ...@@ -91,11 +95,9 @@ cat id_rsa.pub >> /root/.ssh/authorized_keys
chmod 600 /root/.ssh/authorized_keys chmod 600 /root/.ssh/authorized_keys
#Fail 2 ban #Fail 2 ban
cp /etc/fail2ban/* /etc/fail2ban cp ./etc/fail2ban/* /etc/fail2ban
systemctl restart fail2ban systemctl restart fail2ban
#Ssh #Ssh
cp /etc/ssh/* /etc/ssh cp ./etc/ssh/* /etc/ssh
systemctl restart ssh systemctl restart ssh
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment