This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Revised installer script for Sentora for Debian Jessie ONLY!
#3
RE: Revised installer script for Sentora for Debian Jessie ONLY!
First most I completely understand. The ONLY thing that gets to me still is the whole email thing. With that stated I would like to add some things here if you don't mind.

Add openssh


Code:
apt-get install ssh openssh-server


Me personally I like nano over vi so I install it.


Code:
apt-get install nano vim-nox


Configure the Hostname

Code:
nano /etc/hosts
Code:
127.0.0.1       localhost.localdomain   localhost
192.168.1.100   server1.example.com     server1

# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
Then edit the /etc/hostname file:
Code:
server1
reboot your server


Code:
hostname
hostname -f


you should see the following:
root@server1:/tmp# hostname
server1
root@server1:/tmp# hostname -f
server1.example.com

Now with that done lets do a update:


Code:
nano /etc/apt/sources.list
and delete all that is in there and replace it with this:


Code:
#deb
cdrom:[Debian GNU/Linux 8.0.0 _Jessie_ - Official amd64 NETINST Binary-1 20150425-12:50]/ jessie main

deb http://ftp.us.debian.org/debian/ jessie main contrib non-free
deb-src http://ftp.us.debian.org/debian/ jessie main contrib non-free

deb http://security.debian.org/ jessie/updates main contrib non-free
deb-src http://security.debian.org/ jessie/updates main contrib non-free


Now we can run:

Code:
apt-get update
apt-get upgrade

I like to have my system clock on the spot so I also do a sys clock update
Code:
apt-get install ntp ntpdate

ok now for installation of rkhunter, binutils,Amavisd-new, SpamAssassin And Clamav (You don't have to have binutils)
Code:
apt-get install amavisd-new spamassassin clamav clamav-daemon zoo unzip bzip2 arj nomarch lzop cabextract apt-listchanges libnet-ldap-perl libauthen-sasl-perl clamav-docs daemon libio-string-perl libio-socket-ssl-perl libnet-ident-perl zip libnet-dns-perl rkhunter binutils

Lets make some changes here to clamV

Code:
nano /etc/clamav/clamd.conf

and change it from false to true:

Code:
AllowSupplementaryGroups true

I will post on how to add Jailkit and Fail2ban in another post
Reply
Thanks given by: iTpain


Messages In This Thread
RE: Revised installer script for Sentora for Debian Jessie ONLY! - by wowakan - 10-29-2015, 03:45 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Secure Sentora With SSLForFree Chris L 1 4 ,623 01-22-2020, 09:19 PM
Last Post: ralphharder
Fail2ban for Sentora (Centos 7) bbspike 14 44 ,501 01-14-2020, 07:32 AM
Last Post: Vedran B
Timeout for Sentora Admin Panel minufreelance 12 44 ,997 11-24-2018, 12:33 PM
Last Post: fearworks

Forum Jump:


Users browsing this thread: 1 Guest(s)