2146
Kommentar: install anleitung rein
|
5172
m2crypto dazu
|
Gelöschter Text ist auf diese Art markiert. | Hinzugefügter Text ist auf diese Art markiert. |
Zeile 1: | Zeile 1: |
This page describes the isntallation of the [http://cryptobox.org CryptoBox] server-package in a OpenSuse 10.2 environment. The server-package is primarly built for Debian but also works in other Linux distributions. Unfortunately you have to fullfill some depencies manually, which takes a bit more time. | ## page was renamed from CryptoBox server in opensuse ## page was renamed from CryptoBox Server in OpenSue 10.2 This page describes the installation of the [http://cryptobox.org CryptoBox server] from the sources. The source package should be installable in many modern Linux distributions. Unfortunately you have to fulfil some dependencies manually, which might take a while. |
Zeile 3: | Zeile 5: |
= CryptoBox server in OpenSuse 10.2 = * Install the packages ''python-devel'' und ''gcc'' via yast. They are in the main !OpenSuse repository. |
We have described two ways of installation. One for openSUSE 10.3 and another for Debian/etch (4.0). If you installed a !CryptoBox server in any other Linux distribution, pleas leave a comment about your experience or extend this site. [[TableOfContents]] = CryptoBox server in openSUSE 10.2 = == Preparation == * Install the packages ''python-devel'' und ''gcc'' via yast. They are in the main openSUSE repository. |
Zeile 6: | Zeile 13: |
* In the same way you have to install ''util-linux-crypto''. * This package contains a program called cryptsetup, which mainly does the encryption work. * It is important, that cryptsetup includes support for [http://luks.endorphin.org/ LUKS]. This is the case in openSUSE 10.2. * Add a new user to your system e.g.: ''cryptobox''. With the rights of this user the CryptoBox will later run. * Do all the following steps as this user. Sometimes you need root rights. You can use the ''su'' and giving the root passphrase command for that. == CherryPy 2.2 == |
|
Zeile 10: | Zeile 24: |
python setup.py install | su python setup.py install |
Zeile 12: | Zeile 26: |
* Download the latest [http://www.clearsilver.net/downloads/clearsilver-0.10.5.tar.gz ClearSilver Source Release] (here 0.10.5) to ''/tmp'' and install it with the following commands: {{{ | == Python Clearsilver == * Download the latest [http://www.clearsilver.net/downloads/clearsilver-0.10.5.tar.gz ClearSilver Source Release] (here: 0.10.5) to ''/tmp'' and install it with the following commands: {{{ |
Zeile 18: | Zeile 34: |
make install | su make install |
Zeile 20: | Zeile 36: |
* Download the tool [http://ftp.debian.org/debian/pool/main/s/super/super_3.27.1.orig.tar.gz "super" from Debian] (this let's the CryptoBox later run with differnet uid) and install it: {{{ | == super == * Download the [ftp://ftp.ucolick.org/pub/users/will/ latest version of "super"] (here 3.27.1) and install it. This allows to run the !CryptoBox with a non-root uid. {{{ |
Zeile 25: | Zeile 43: |
make install | su make install |
Zeile 27: | Zeile 45: |
* Download a [python-configobj rpm] from the packman !OpenSuse repository and install with: {{{ rpm -i python-configobj-4.4.0-0.pm.1.i586.rpm |
* This installs super to ''/usr/local/bin/super''. You have to change the corresponding path in the cryptobox.conf file. * The correct configfile in this case is ''/usr/local/etc/super.tab'' - not ''/etc/super.tab''. This is important as you later have to add a line to this configfile. == Python ConfigObj == * Install ''python-configobj'' via yast if you have the packamn repository in your rpm database. * Otherwise download an actual [http://packman.links2linux.de/package/python-configobj python-configobj.rpm] file from the packman openSUSE repository and install it with: {{{ su rpm -i python-configobj-4.4.0-0.pm.1.i586.rpm |
Zeile 30: | Zeile 53: |
* TODO: install cryptsetup * Puh after that you know the magic spell (configure, make, make install) to install source packages. * Now you're ready to get the latest [http://codecoop.org/frs/download.php/120/cryptobox-server_0.3.4.4-1.tar.gz CryptoBox server-package] (here 0.3.4.4-1from codecoop and unpack it:{{{ |
== Python M2Crypto == * Install ''python-m2crypto'' via yast if you have the openSUSE development repository in your rpm database. * Otherwise download an actual [http://ftp.opensuse.org/pub/opensuse/repositories/devel:/languages:/python/openSUSE_10.2/i586/python-m2crypto-0.17-1.1.i586.rpm python-m2crypto.rpm] (here 0.17) and install: {{{ su rpm -i python-m2crypto-0.17-1.1.i586.rpm }}} == CryptoBox server == * Puh after that you at least know the magic spell (''./configure && make && make install'') to install source packages and the Python way of installing software (''python setup.py install''). * Now you're ready to get the latest [http://codecoop.org/frs/download.php/120/cryptobox-server_0.3.4.4-1.tar.gz CryptoBox server sources] (here 0.3.4.4-1) from codecoop and unpack it:{{{ |
Zeile 34: | Zeile 64: |
tar zxf cryptobox-server_0.3.4.4-1.tar.gz cd cryptobox-server_0.3.4.4-1 su python setup.py install }}} * == Finalization == * To have a complete working !CryptoBox server you need some additional software which is probably already installed on your server. * samba * stunnel4 * e2fsprogs * dosfstools ---- = CryptoBox server in Debian/etch = == Preparation == * If you for whatever reasons don't want to use the [http://codecoop.org/frs/?group_id=60&release_id=69 CryptoBox server Debian package] (our recommendation), you need some preparations to use the source package or the code from the svn. {{{ apt-get install python python-central python-clearsilver python-cherrypy python-configobj python-m2crypto super cryptsetup e2fsprogs dosfstools }}} == CryptoBox server == * Get the sources, unpack and install them the Python way {{{ cd /tmp wget http://codecoop.org/frs/download.php/120/cryptobox-server_0.3.4.4-1.tar.gz |
|
Zeile 38: | Zeile 92: |
== Finalization == * Finally install some more useful software. {{{ apt-get install samba, apache2, stunnel4 }}} |
This page describes the installation of the [http://cryptobox.org CryptoBox server] from the sources. The source package should be installable in many modern Linux distributions. Unfortunately you have to fulfil some dependencies manually, which might take a while.
We have described two ways of installation. One for openSUSE 10.3 and another for Debian/etch (4.0). If you installed a CryptoBox server in any other Linux distribution, pleas leave a comment about your experience or extend this site.
CryptoBox server in openSUSE 10.2
Preparation
Install the packages python-devel und gcc via yast. They are in the main openSUSE repository.
These two packages are just needed to install the CryptoBox dependent software and can be removed afterwards.
In the same way you have to install util-linux-crypto.
- This package contains a program called cryptsetup, which mainly does the encryption work.
It is important, that cryptsetup includes support for [http://luks.endorphin.org/ LUKS]. This is the case in openSUSE 10.2.
Add a new user to your system e.g.: cryptobox. With the rights of this user the CryptoBox will later run.
Do all the following steps as this user. Sometimes you need root rights. You can use the su and giving the root passphrase command for that.
CherryPy 2.2
Download the latest [http://download.cherrypy.org/cherrypy/2.2.1/ CherryPy version from the 2.2 branch] (here: 2.2.1) to /tmp and unpack and install it with the following commands:
cd /tmp tar zxf CherryPy-2.2.1.tar.gz cd CherryPy-2.2.1 su python setup.py install
Python Clearsilver
Download the latest [http://www.clearsilver.net/downloads/clearsilver-0.10.5.tar.gz ClearSilver Source Release] (here: 0.10.5) to /tmp and install it with the following commands:
cd /tmp tar zxf clearsilver-0.10.5.tar.gz cd clearsilver-0.10.5 ./configure --prefix=/usr --diable-java --diable-perl --disable-csharp --disable-ruby --disable-apache --enable-gettext --with-python=/usr/bin/python make su make install
super
Download the [ftp://ftp.ucolick.org/pub/users/will/ latest version of "super"] (here 3.27.1) and install it. This allows to run the CryptoBox with a non-root uid.
cd /tmp tar zxf super_3.27.1.orig.tar.gz ./configure make su make install
This installs super to /usr/local/bin/super. You have to change the corresponding path in the cryptobox.conf file.
The correct configfile in this case is /usr/local/etc/super.tab - not /etc/super.tab. This is important as you later have to add a line to this configfile.
Python ConfigObj
Install python-configobj via yast if you have the packamn repository in your rpm database.
Otherwise download an actual [http://packman.links2linux.de/package/python-configobj python-configobj.rpm] file from the packman openSUSE repository and install it with:
su rpm -i python-configobj-4.4.0-0.pm.1.i586.rpm
Python M2Crypto
Install python-m2crypto via yast if you have the openSUSE development repository in your rpm database.
Otherwise download an actual [http://ftp.opensuse.org/pub/opensuse/repositories/devel:/languages:/python/openSUSE_10.2/i586/python-m2crypto-0.17-1.1.i586.rpm python-m2crypto.rpm] (here 0.17) and install:
su rpm -i python-m2crypto-0.17-1.1.i586.rpm
CryptoBox server
Puh after that you at least know the magic spell (./configure && make && make install) to install source packages and the Python way of installing software (python setup.py install).
Now you're ready to get the latest [http://codecoop.org/frs/download.php/120/cryptobox-server_0.3.4.4-1.tar.gz CryptoBox server sources] (here 0.3.4.4-1) from codecoop and unpack it:
cd /tmp tar zxf cryptobox-server_0.3.4.4-1.tar.gz cd cryptobox-server_0.3.4.4-1 su python setup.py install
Finalization
To have a complete working CryptoBox server you need some additional software which is probably already installed on your server.
- samba
- stunnel4
- e2fsprogs
- dosfstools
CryptoBox server in Debian/etch
Preparation
If you for whatever reasons don't want to use the [http://codecoop.org/frs/?group_id=60&release_id=69 CryptoBox server Debian package] (our recommendation), you need some preparations to use the source package or the code from the svn.
apt-get install python python-central python-clearsilver python-cherrypy python-configobj python-m2crypto super cryptsetup e2fsprogs dosfstools
CryptoBox server
Get the sources, unpack and install them the Python way
cd /tmp wget http://codecoop.org/frs/download.php/120/cryptobox-server_0.3.4.4-1.tar.gz tar zxf cryptobox-server_0.3.4.4-1.tar.gz cd cryptobox-server_0.3.4.4-1 python setup.py install
Finalization
Finally install some more useful software.
apt-get install samba, apache2, stunnel4