Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
install:backport-debian-source-package [2011/09/01 06:43] – 109.254.49.8 | install:backport-debian-source-package [2012/03/22 12:38] (current) – removed spam 80.250.1.245 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== OpenSER 1.3.2 Install Guide for Debian Etch 4.0r2 ===== | ||
+ | [color=brown]// | ||
+ | |||
+ | ---- | ||
+ | |||
+ | |||
+ | 1. On the computer itself (as root) | ||
+ | |||
+ | debian:~# apt-get install ssh | ||
+ | |||
+ | You can now log in remotely (as root) and paste commands from this guide | ||
+ | |||
+ | 2. First we'll want to add the source to backport from | ||
+ | |||
+ | debian:~# editor / | ||
+ | |||
+ | Add this line | ||
+ | |||
+ | deb-src http:// | ||
+ | |||
+ | Exit and save | ||
+ | |||
+ | debian:~# apt-get update | ||
+ | |||
+ | 3. Download build tools | ||
+ | |||
+ | debian:~# apt-get install build-essential | ||
+ | |||
+ | Download OpenSER source package (currently 1.3.2 in testing/ | ||
+ | |||
+ | debian:~# apt-get source openser | ||
+ | |||
+ | Install dependencies | ||
+ | |||
+ | debian:~# apt-get install debhelper dpatch fakeroot libmysqlclient15-dev libexpat1-dev libxml2-dev libpq-dev libradiusclient-ng-dev flex bison zlib1g-dev unixodbc-dev libxmlrpc-c3-dev libperl-dev libsnmp-dev libdb4.4-dev xsltproc libconfuse-dev libldap2-dev libcurl3-gnutls-dev | ||
+ | |||
+ | Move to source directory | ||
+ | |||
+ | debian:~# cd openser-1.3.2/ | ||
+ | |||
+ | Replace default control files with debian-etch specific ones | ||
+ | |||
+ | debian: | ||
+ | debian: | ||
+ | debian: | ||
+ | |||
+ | (the changelog in debian-etch directory hasn't been kept up to date, using the newer changelog is necessary for compiled packages to be versioned correctly) | ||
+ | |||
+ | Build | ||
+ | |||
+ | debian: | ||
+ | |||
+ | After some time you'll have .deb packges in the parent directory | ||
+ | |||
+ | debian: | ||
+ | |||
+ | openser_1.3.2-1_i386.deb | ||
+ | openser-berkeley-module_1.3.2-1_i386.deb | ||
+ | openser-carrierroute-module_1.3.2-1_i386.deb | ||
+ | openser-cpl-module_1.3.2-1_i386.deb | ||
+ | openser-dbg_1.3.2-1_i386.deb | ||
+ | openser-jabber-module_1.3.2-1_i386.deb | ||
+ | openser-ldap-modules_1.3.2-1_i386.deb | ||
+ | openser-mysql-module_1.3.2-1_i386.deb | ||
+ | openser-perl-modules_1.3.2-1_i386.deb | ||
+ | openser-postgres-module_1.3.2-1_i386.deb | ||
+ | openser-presence-modules_1.3.2-1_i386.deb | ||
+ | openser-radius-modules_1.3.2-1_i386.deb | ||
+ | openser-snmpstats-module_1.3.2-1_i386.deb | ||
+ | openser-unixodbc-module_1.3.2-1_i386.deb | ||
+ | openser-xmlrpc-module_1.3.2-1_i386.deb | ||
+ | openser-xmpp-module_1.3.2-1_i386.deb | ||
+ | |||
+ | 4. Install and configure | ||
+ | |||
+ | debian:~# dpkg -i openser_1.3.2-1_i386.deb | ||
+ | debian:~# editor / | ||
+ | |||
+ | Make some changes | ||
+ | |||
+ | RUN_OPENSER=yes | ||
+ | MEMORY=128 | ||
+ | |||
+ | Save and exit | ||
+ | |||
+ | Prevent downgrade of OpenSER package | ||
+ | |||
+ | debian:~# aptitude hold openser | ||
+ | |||
+ | 5. Start the daemon | ||
+ | |||
+ | debian:~# / | ||
+ | debian:~# / | ||
+ | Status of openser: openser is running. | ||
+ | |||
+ | If you see the above, all is well. Otherwise try the following to see what went wrong | ||
+ | |||
+ | tail / | ||
+ | |||
+ | [color=brown]// | ||