forked from alibaba/tengine
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request alibaba#443 from szepeviktor/patch-2
genius work! I feel it now more attractive Thank you very much
- Loading branch information
Showing
1 changed file
with
18 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,26 @@ | ||
Installation | ||
=== | ||
|
||
## build the deb package | ||
1. install some basic packages | ||
> aptitude install build-essential debhelper make autoconf automake patch dpkg-dev fakeroot pbuilder gnupg dh-make libssl-dev libpcre3-dev | ||
|
||
``` | ||
aptitude install build-essential debhelper make autoconf automake patch \ | ||
dpkg-dev fakeroot pbuilder gnupg dh-make libssl-dev libpcre3-dev | ||
``` | ||
|
||
2. build package | ||
change to source directory | ||
> mv packages/debian/ . | ||
> export DEB_BUILD_OPTIONS=nocheck; dpkg-buildpackage -rfakeroot -uc -b | ||
change to source directory | ||
|
||
``` | ||
mv packages/debian . | ||
DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -rfakeroot -uc -b | ||
``` | ||
|
||
## install the deb package | ||
replace the deb name with the current version | ||
|
||
## install the deb package | ||
> sudo dpkg -i tengine_2.0.2-1_amd64.deb | ||
``` | ||
sudo dpkg -i tengine_2.0.2-1_amd64.deb | ||
``` | ||
|