wiki:jazz/Hadoop_deb

Version 1 (modified by jazz, 15 years ago) (diff)

--

Hadoop 0.18.3 Debian Package 打包過程

~$ sudo apt-get install gcc g++ g77 make patch pkg-config dpkg-dev debhelper devscripts dh-make fakeroot lintian
~$ export DEBFULLNAME="Jazz Yao-Tsung Wang"
~$ export DEBEMAIL="jazz@xxxx.xxx.xx"
~$ wget http://ftp.twaren.net/Unix/Web/apache/hadoop/core/hadoop-0.18.3/hadoop-0.18.3.tar.gz
~$ tar zxvf hadoop-0.18.3.tar.gz
~$ cd hadoop-0.18.3
~/hadoop-0.18.3$ dh_make --createorig

Type of package: single binary, multiple binary, library, kernel module or cdbs?
 [s/m/l/k/b] s

Maintainer name : Jazz Yao-Tsung Wang
Email-Address   : jazz@xxxx.xxx.xx
Date            : Thu, 19 Mar 2009 16:45:01 +0800
Package Name    : hadoop
Version         : 0.18.3
License         : blank
Type of Package : Single
Hit <enter> to confirm:
Currently there is no top level Makefile. This may require additional tuning.
Done. Please edit the files in the debian/ subdirectory now. You should also
check that the hadoop Makefiles install into $DESTDIR and not in / .