System information
Some additional configuration of text files is required on Ubuntu.
See “Enable NTP for accurate system time” on page 43.
3. On CentOS, add a new system user:
CentOS (32 and 64 bit) adduser asteriskpbx && passwd asteriskpbx && yum install \
sudo && visudo
See “Adding a system user” on page 39 for specific information.
For an Ubuntu install, we are assuming that the user created during
the installation process is asteriskpbx.
4. Install software dependencies:
CentOS sudo yum install gcc gcc-c++ make wget subversion \
libxml2-devel ncurses-devel openssl-devel \
vim-enhanced
CentOS 64-bit sudo yum install gcc.x86_64 gcc-c++.x86_64 \
make.x86_64 wget.x86_64 subversion.x86_64 \
libxml2-devel.x86_64 ncurses-devel.x86_64 \
openssl-devel.x86_64 vim-enhanced.x86_64
Ubuntu sudo apt-get install build-essential subversion \
libncurses5-dev libssl-dev libxml2-dev vim-nox
5. Create your directory structure:
$ mkdir -p ~/src/asterisk-complete/asterisk
$ cd ~/src/asterisk-complete/asterisk
6. Get the latest source code via Subversion:
$ svn co http://svn.asterisk.org/svn/asterisk/branches/1.8
Or alternatively, you could check out a specific tag:
$ svn co http://svn.asterisk.org/svn/asterisk/tags/1.8.1
7. Build and install the software:
$ cd ~/src/asterisk-complete/asterisk/1.8/
$ ./configure
32 | Chapter 3: Installing Asterisk