Update README.md with Debian info

This update is related to issues: #227, #181, #193 ...
This commit is contained in:
Luka Krajger 2015-03-13 13:09:19 +01:00
parent 1fc7a14c19
commit 57cb829be9

View file

@ -34,28 +34,53 @@ More information:
Build
-----------------
For building **shellinabox** from source on Ubuntu use commands listed below.
For building **shellianbox** from source on Debian based systems use commands listed
below. This will create executable file `shellinaboxd` in project directory.
1. Install dependencies
```
apt-get install git dpkg-dev debhelper autotools-dev libssl-dev libpam0g-dev zlib1g-dev libssl1.0.0 libpam0g
apt-get install git dpkg-dev debhelper autotools-dev libssl-dev libpam0g-dev zlib1g-dev libssl1.0.0 libpam0g
```
2. Clone sources and move to project directory
2. Clone source files and move to project directory
```
git clone https://github.com/shellinabox/shellinabox.git && cd shellinabox
git clone https://github.com/shellinabox/shellinabox.git && cd shellinabox
```
3. Run autotools in project directory
```
autoreconf -i
autoreconf -i
```
4. Configure and make in project directory
4. Run configure and make in project directory
```
./configure && make
./configure && make
```
For building and installing `.deb` packages you can use commands listed bellow.
1. Build package
```
dpkg-buildpackage -b
```
2. Install package
```
dpkg -i ../shellianbox_{ver}_{arch}.deb
```
For more information about `.deb` packages please see [INSTALL.Debian](/INSTALL.Debian) file.
Issues
-----------------
All reported issues were imported from [Google Code Project Issues](https://code.google.com/p/shellinabox/issues/list).
You can report new issues here, but please try to reproduce them on our sources.
You can report new issues here, but first please try to reproduce them with package
created from our sources.