txcas
Newbie

Posts: 13
|
 |
« on: July 27, 2010, 12:39:01 PM » |
|
Thanks to the guides posted by klingon, I was able to install Debian, Asterisk, and Freepbx on my Dockstar. I had fun and learned a lot of Linux in a week, so now is time for me to give back. I created images of my 4 GB SD card after each major step, and I will host them for as long as I can on my server. The SD card was partitioned with a 3.5 GB ext2 bootable partition and with a 585 MB swap partition. Here are the scripts used for the installation: Jeff Doozan's script to install Debian - http://www.carloss.us/Dockstar/install-debian.shScript to install Asterisk - http://www.carloss.us/Dockstar/install-asterisk.shScript to install Freepbx - http://www.carloss.us/Dockstar/install-Freepbx.shI am a Linux newbie, I actually installed Ubuntu for the first time last week so I hope that these images work for you. I use the dd command and created compressed images after installing Debian, after installing Asterisk, and then after installing Freepbx. I selected almost all the English sounds for the Freepbx installation. The password for root is root, the password for MySQL is passw0rd, and the other passwords are the defaults from the scripts. The images were created using a command like this: dd if=/dev/sdb | gzip > /tmp/dockstar.debian.image.gzYou need to uncompress the images before installing them to your media. Here are the images: After installing Debian - http://www.carloss.us/Dockstar/dockstar.debian.image.gzAfter installing Asterisk - http://www.carloss.us/Dockstar/dockstar.asterisk.image.gzAfter installing Freepbx - http://www.carloss.us/Dockstar/dockstar.freepbx.image.gzI hope this helps.
|
|
|
|
« Last Edit: July 27, 2010, 12:41:07 PM by txcas »
|
Logged
|
|
|
|
|
PlugPBX Admin
|
 |
« Reply #1 on: July 27, 2010, 06:56:18 PM » |
|
We'll be mirroring these images on PlugPBX with txcas's permission and consent! Stay tuned.
|
|
|
|
|
Logged
|
-Greg
|
|
|
lowkey
Newbie

Posts: 6
|
 |
« Reply #2 on: July 28, 2010, 07:26:39 PM » |
|
I tried your scripts on a clean install: Debian installed fine, Asterisk was a no-go. I could not catch the error message but basically all the makes failed. I ran the Asterisk script from root after booting into Debian.
|
|
|
|
|
Logged
|
|
|
|
txcas
Newbie

Posts: 13
|
 |
« Reply #3 on: July 28, 2010, 08:23:13 PM » |
|
Installing Asterisk is not as simple as just running the script. Check the posts by Klingon. There are some manual steps and some script based steps that you need to perform. Most of the installation is a manual process.
|
|
|
|
|
Logged
|
|
|
|
pepedog
Newbie

Posts: 3
|
 |
« Reply #4 on: July 29, 2010, 01:42:06 AM » |
|
Hi, new here, ex-BT pbx planner and installer for over 25 years, started with strowger and ended on large Meridian M1's.
I get this # gunzip dockstar.freepbx.image.gz gzip: dockstar.freepbx.image.gz: invalid compressed data--crc error Haven't tried the other 2 files, already have asterisk+addons+dahdi (do I need dadhi?), only freepbx to go, compiled and installed on plugbox OS. Am not happy entire apache is turned over to freepbx. Would have liked to have seen deb system running though, have 2 more dockstars arriving in a few days.
Thanks Dave
|
|
|
|
|
Logged
|
|
|
|
|
mattmc97
|
 |
« Reply #5 on: July 29, 2010, 05:42:36 AM » |
|
On dahdi, the common thought is that dahdi is needed for timing for meetme conferencing and perhaps voicemail cutting out. Now what no one on here has commented on is the asterisk 1.6.2.9 has confbridge for conferencing and has three different modules that can be used for dummy timing. I think that it is brand new, so no one is familiar with it. I did find one post that says confbridge does work, but that freepbx cannot properly set it up or that freepbx is missing some components needed to make it work.
On freepbx taking over apache, I can't really make an educated comment on why or why it should not, but on a dockstar IF you are EVEN able to run RELIABLY with 128 Meg ram with just a pbx, I would be surprised if you would have extra ram to run anything else anyway.
The last post I saw on someone who had it all installed was that there was only a few megs of ram left after freepbx was running.
|
|
|
|
« Last Edit: July 29, 2010, 05:55:09 AM by mattmc97 »
|
Logged
|
|
|
|
txcas
Newbie

Posts: 13
|
 |
« Reply #6 on: July 29, 2010, 05:46:50 AM » |
|
I get this # gunzip dockstar.freepbx.image.gz gzip: dockstar.freepbx.image.gz: invalid compressed data--crc error
I tried on my end and it worked with the file on my PC. I will download the image from the ftp server and try again just to make sure it did not get messed up when uploading it. You might want to redownload and try again. I also used dd to copy the image to my SD card and then booted the Dockstar, everything worked.
|
|
|
|
|
Logged
|
|
|
|
lowkey
Newbie

Posts: 6
|
 |
« Reply #7 on: July 29, 2010, 09:33:32 AM » |
|
The last post I saw on someone who had it all installed was that there was only a few megs of ram left after freepbx was running.
I had it up all the way with FreePBX and the CPU utilization on the FreePBX screen was 100%, memory utilization showed 78%. I did not attempt to create trunks, extentions or initiating any calls. When attempting to install webmin it just stopped, whether it was due to overtaxing the processor and memory or the webmin installtion process I do not know.
|
|
|
|
|
Logged
|
|
|
|
txcas
Newbie

Posts: 13
|
 |
« Reply #8 on: July 29, 2010, 11:20:42 AM » |
|
The last post I saw on someone who had it all installed was that there was only a few megs of ram left after freepbx was running.
I had it up all the way with FreePBX and the CPU utilization on the FreePBX screen was 100%, memory utilization showed 78%. I did not attempt to create trunks, extentions or initiating any calls. When attempting to install webmin it just stopped, whether it was due to overtaxing the processor and memory or the webmin installtion process I do not know. Do step 5 from klingon posts and that will fix the CPU issue.
|
|
|
|
|
Logged
|
|
|
|
pepedog
Newbie

Posts: 3
|
 |
« Reply #9 on: July 29, 2010, 12:28:24 PM » |
|
The last post I saw on someone who had it all installed was that there was only a few megs of ram left after freepbx was running.
Bearing in mind I have a freeagent drive in the dock, and a swap partition on it, and all these services running, (syslog-ng network openntpd named sshd iptables hal mysqld postfix dovecot netfs crond webmin httpd cups samba innd transmissiond) plus asterisk itself, CPU load averages: 0.13 (1 mins) , 0.17 (5 mins) , 0.08 (15 mins) Real memory: 121.16 MB total / 59.24 MB free Swap space: 14.65 GB total / 14.59 GB free Yes, I know that is a large swap, just miscalculated blocks when creating. I got no lag starting or running other apps, would it be appropiate to post connection details here, its a bit strange trying on my own with various sip clients? Dave
|
|
|
|
|
Logged
|
|
|
|
JohnDoe
Newbie

Posts: 2
|
 |
« Reply #10 on: July 29, 2010, 01:45:37 PM » |
|
I get this # gunzip dockstar.freepbx.image.gz gzip: dockstar.freepbx.image.gz: invalid compressed data--crc error
I tried on my end and it worked with the file on my PC. I will download the image from the ftp server and try again just to make sure it did not get messed up when uploading it. You might want to redownload and try again. I downloaded them with out any issues do you want to maybe create some MD5 stamps on the files so people can double check them
|
|
|
|
|
Logged
|
|
|
|
|
|
|
PlugPBX Admin
|
 |
« Reply #12 on: July 31, 2010, 05:57:49 AM » |
|
Should I copy the uploaded images over to the site and link to them yet? Or do you guys want to generate a md5 sum on these? They are still tentatively held at www.plugpbx.org/uploadsI have yet to move them over until I can get confirmation they are not corrupt.
|
|
|
|
|
Logged
|
-Greg
|
|
|
AL
Newbie

Posts: 8
|
 |
« Reply #13 on: August 01, 2010, 01:12:30 AM » |
|
I tried downloading directly from http://www.carloss.us/Dockstar/dockstar.freepbx.image.gz and what I got also looks to be corrupted. $ file dockstar.freepbx.image.gz dockstar.freepbx.image.gz: gzip compressed data, from Unix, last modified: Tue Jul 27 10:30:28 2010 $ gzip -d dockstar.freepbx.image.gz gzip: dockstar.freepbx.image.gz: invalid compressed data--crc error $ md5 dockstar.freepbx.image MD5 (dockstar.freepbx.image) = 570975a2c1a9bdf967d019b0b40f8b89 $ wc -c dockstar.freepbx.image.gz 541161813 dockstar.freepbx.image.gz
|
|
|
|
|
Logged
|
|
|
|
AL
Newbie

Posts: 8
|
 |
« Reply #14 on: August 02, 2010, 10:27:27 AM » |
|
I tried downloading from http://www.plugpbx.org/uploads/dockstar.freepbx.image.gz and that one uncompressed just fine. So, at least that one can be published. I didn't try the other files, though. After uncompressing, I then dd'ed it back to a 4GB flash. I plugged it into the Dockstar, /sbin/reboot it, and it never came back on-line. I'm going to read some more of klingon's postings as there are probably other manual steps I missed.
|
|
|
|
|
Logged
|
|
|
|
|