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 8: Line 8:


* Supermicro server
* Supermicro server
* 8 core Atom processor
* 8 core Atom C2758 processor
* 8 GB RAM
* 8 GB RAM
* 80 GB Samsung SSD
* 80 GB Samsung SSD
Line 19: Line 19:
== Network ports ==
== Network ports ==


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


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


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


eth3 not used
eth3 192.168.89.2 -- testing




I am testing Scone, the new [http://wiki.cds1.net:82/ Fountain Grove router], which is a Mikrotik RB750.
== Debian Jessie (8.) ==


eth0 WAN - 173.164.220.33-38
I just did an upgrade yesterday from Debian 7 to Debian 8.
 
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
  apt-get -y install emacs rsync sudo
Line 53: Line 41:


  apt-get -y install libapache2-mod-wsgi
  apt-get -y install libapache2-mod-wsgi
peewee


=== Network monitoring ===
=== Network monitoring ===
Line 59: Line 46:
  apt-get -y install cacti squid
  apt-get -y install cacti squid
   
   
=== Skype ===
=== SuiteCRM ===
=== SuiteCRM ===


Line 70: Line 55:
   unixodbc unixodbc-bin unixodbc-dev libltdl-dev libmpg123-dev libmyodbc libmysqld-dev \
   unixodbc unixodbc-bin unixodbc-dev libltdl-dev libmpg123-dev libmyodbc libmysqld-dev \
   libsqlite3-dev libasound2-dev libsnmp-dev libedit-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
Dahdi
Line 84: Line 66:
==== Source downloads ====
==== Source downloads ====


  wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-13.1.0.tar.gz
  wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-13.4.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/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
  wget http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/dahdi-linux-complete-current.tar.gz
OR use SVN


==== Dahdi ====
==== Dahdi ====

Revision as of 18:41, 19 June 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 C2758 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 -- Wildsong office LAN, connects to Internet through a Mikrotik RB2011 firewall.

eth1 50.0.0.254 -- testing

eth2 172.16.1.254 -- testing

eth3 192.168.89.2 -- testing


Debian Jessie (8.)

I just did an upgrade yesterday from Debian 7 to Debian 8.

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

Network monitoring

apt-get -y install cacti squid

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

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.4.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

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