Skip to content

Commit 55411a3

Browse files
author
moglia
committed
Updated jailkit instalation procedures to install jailkit as debian package. Because it´s better to remove and update. And because jailkit is debianized.
Install debian package is better then pure source.
1 parent 4369754 commit 55411a3

File tree

3 files changed

+23
-23
lines changed

3 files changed

+23
-23
lines changed

docs/INSTALL_DEBIAN_4.0.txt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -124,15 +124,15 @@ apt-get install vlogger webalizer
124124

125125
7) Install Jailkit (optional, only needed if you want to use chrroting for SSH users)
126126

127-
apt-get install build-essential autoconf automake1.9 libtool flex bison
127+
apt-get install build-essential autoconf automake1.9 libtool flex bison debhelper
128128
cd /tmp
129-
wget http://olivier.sessink.nl/jailkit/jailkit-2.5.tar.gz
130-
tar xvfz jailkit-2.5.tar.gz
131-
cd jailkit-2.5
132-
./configure
133-
make
134-
make install
135-
rm -rf jailkit-2.5*
129+
wget http://olivier.sessink.nl/jailkit/jailkit-2.7.tar.gz
130+
tar xvfz jailkit-2.7.tar.gz
131+
cd jailkit-2.7
132+
./debian/rules binary
133+
cd ..
134+
dpkg -i jailkit_2.7-1_i386.deb
135+
rm -rf jailkit-2.7*
136136

137137
8) Install fail2ban (optional but recomended, because the monitor tries to show the log)
138138
More info at: http://www.howtoforge.com/fail2ban_debian_etch

docs/INSTALL_DEBIAN_5.0.txt

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -236,16 +236,15 @@ Incremental yes
236236

237237
7) Install Jailkit (optional, only needed if you want to use chrroting for SSH users)
238238

239-
apt-get install build-essential autoconf automake1.9 libtool flex bison
239+
apt-get install build-essential autoconf automake1.9 libtool flex bison debhelper
240240
cd /tmp
241-
wget http://olivier.sessink.nl/jailkit/jailkit-2.5.tar.gz
242-
tar xvfz jailkit-2.5.tar.gz
243-
cd jailkit-2.5
244-
./configure
245-
make
246-
make install
241+
wget http://olivier.sessink.nl/jailkit/jailkit-2.7.tar.gz
242+
tar xvfz jailkit-2.7.tar.gz
243+
cd jailkit-2.7
244+
./debian/rules binary
247245
cd ..
248-
rm -rf jailkit-2.5*
246+
dpkg -i jailkit_2.7-1_i386.deb
247+
rm -rf jailkit-2.7*
249248

250249
8) Install fail2ban (optional but recomended, because the monitor tries to show the log)
251250
More info at: http://www.howtoforge.com/fail2ban_debian_etch

docs/INSTALL_UBUNTU_8.04.txt

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -233,14 +233,15 @@ ___
233233
7.1) OPTIONAL: Installing Jailkit
234234
*******************************************************************************
235235
___
236-
apt-get install build-essential autoconf automake1.9 libtool flex bison
236+
apt-get install build-essential autoconf automake1.9 libtool flex bison debhelper
237237
cd /tmp
238-
wget http://olivier.sessink.nl/jailkit/jailkit-2.5.tar.gz
239-
tar xvfz jailkit-2.5.tar.gz
240-
cd jailkit-2.5
241-
./configure
242-
make
243-
make install
238+
wget http://olivier.sessink.nl/jailkit/jailkit-2.7.tar.gz
239+
tar xvfz jailkit-2.7.tar.gz
240+
cd jailkit-2.7
241+
./debian/rules binary
242+
cd ..
243+
dpkg -i jailkit_2.7-1_i386.deb
244+
rm -rf jailkit-2.7*
244245
___
245246

246247

0 commit comments

Comments
 (0)