Tricksy trixbox
April 5, 2010, 11:15 pm
Filed under: Asterisk, CentOS, VOIP | Tags: asterisk, CentOS, Tips, tricks, trixbox
Filed under: Asterisk, CentOS, VOIP | Tags: asterisk, CentOS, Tips, tricks, trixbox
I have learned a lot about running Asterisk PBX at home…and still have much to learn. However, notes for my own records follow:
- When installing trixbox (a FreePBX + Asterisk distro based on CentOS), note that the default install option will format all hard drives attached to the system!!!! It does mention that the drive will be formatted, but doesn’t underscore that everything attached to the system – including USB hard drives – will be lost. That’s a whole weekend of having to recover from an aborted partial total format of my server! Use the
advancedoption from theboot:screen when installing - The default password for the FreePBX web client admin user (which you should change) is “password” for a username of “maint”. You can change this through the
/etc/trixbox/httpdconf/trixbox.conffile.
Some more CentOS tips:
- CentOS is different from Ubuntu/Debian-based systems in many ways. I’m still learning all of them (like
yum -y installinstead ofapt-get install) but some gotchas – like the fact that package names are different (c.f.samba-client - To get the prompt in the bash terminal to be more like Ubuntu, either copy the
~/.bashrcfrom an Ubuntu machine (if you have one) or try this tip:echo 'PS1="[\u@\h \W]\\$ "' > /root/.bashrc
- To install Webmin, follow these great instructions:
wget http://internap.dl.sourceforge.net/sourceforge/webadmin/webmin-1.500-1.noarch.rpm rpm -ivh webmin-1.500-1.noarch.rpm
- To play with networking settings (e.g. setting up a static IP rather than DHCP), use
system-config-network - If you install Samba server and want to restart it, it’s under
/etc/init.d/smb(notsamba). - If you get an error re: some packages not working (like dahdi), then use
yum updateto update the lot. Probably a good idea to run that anyway. - The default MySQL root password is "passw0rd".
vs. smbclient) – are more important than others.
More tips to come later.
Leave a Comment