Vastra2: Difference between revisions

From Wildsong
Jump to navigationJump to search
Brian Wilson (talk | contribs)
mNo edit summary
Brian Wilson (talk | contribs)
mNo edit summary
Line 44: Line 44:
I am building this machine up to be a development server for Asterisk.
I am building this machine up to be a development server for Asterisk.


apt-get -y install emacs rsync sudo
apt-get -y install emacs rsync sudo
apt-get -y install festival festival-dev libsdl-dev
# Not sure if this is needed.
# Not sure if this is needed.
apt-get -y install  erlang-esdl-dev
apt-get -y install  erlang-esdl-dev
apt-get -y install postfix postfix-mysql mysql-server mysql-client phpmyadmin \
apt-get -y install mysql-server mysql-client phpmyadmin
  festival festival-dev libsdl-dev


=== For cool web stuff ===
=== For cool web stuff ===

Revision as of 04:40, 1 February 2015

The cool thing about this little 1U server is that it has full IPMI hardware in it, so it can be fully controlled from an ethernet port. Powered off and on, bios settings adjusted, everything.

Also cool that it has 4 1000BT ethernet ports.

Hardware

  • Supermicro server
  • 8 core Atom processor
  • 8 GB RAM
  • 80 GB Samsung SSD
  • 2 TB Seagate green drive

History

2012-12 Set up with Debian 7

Network ports

eth0 192.168.2.235 -- CDS Office LAN, connects to Internet through a Mikrotik firewall.

eth1 173.164.220.46/28 -- "Comcast" this is the fake Internet that Scone sees.

eth2 172.16.10.123 -- this is the fake Skiles / FG network that Scone sees.

eth3 not used


I am testing Scone, the new Fountain Grove router, which is a Mikrotik RB750.

eth0 WAN - 173.164.220.33-38

eth1 (switch) - LAN - 172.16.10.253

eth2 (switch) - NC

eth3 (switch) - NC

eth4 (switch) - NC

Debian Wheezy (7.)

I am building this machine up to be a development server for Asterisk.

apt-get -y install emacs rsync sudo
# Not sure if this is needed.
apt-get -y install  erlang-esdl-dev
apt-get -y install postfix postfix-mysql mysql-server mysql-client phpmyadmin \
  festival festival-dev libsdl-dev

For cool web stuff

apt-get -y install libapache2-mod-wsgi

peewee

Network monitoring

apt-get -y install cacti

Skype

SuiteCRM

For building Asterisk

apt-get -y install build-essential subversion git
apt-get -y install libncurses5 libncurses5-dev libxml2 libxml2-dev libxslt-dev doxygen libcurl4-openssl-dev \
 uuid-dev libjansson-dev libsqlite3-dev libspeex-dev python-gobject  \
 unixodbc unixodbc-bin unixodbc-dev libltdl-dev libmpg123-dev libmyodbc libmysqld-dev \
 libsqlite3-dev libasound2-dev libsnmp-dev libedit-dev

PostgreSQL

apt-get install -y postgresql-client-9.1 postgresql-doc postgresql-server-dev-all

Dahdi

apt-get -y install linux-headers-`uname -r`

imap support (mutually exclusive with file storage)

apt-get -y install uw-mailutils libc-client2007e-dev libssl-dev libpam0g-dev

Asterisk build

Source downloads

wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-13.1.0.tar.gz
wget http://downloads.asterisk.org/pub/telephony/asterisk-gui/asterisk-gui-2.1.0-rc1.tar.gz
wget http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/dahdi-linux-complete-current.tar.gz

OR use SVN

Dahdi

untar
make all
make install
make config

Asterisk

./configure
make menuselect
./contrib/scripts/get_mp3_source.sh
make -j 6
sudo make install
sudo make samples
sudo make progdocs

addon “chan_mobile” is for bluetooth smartphone integration