Difference between revisions of "Trixbox"
Line 70: | Line 70: | ||
At this point, the CentOS TrixBox system will boot. Eventually a Linux login shell will appear. | At this point, the CentOS TrixBox system will boot. Eventually a Linux login shell will appear. | ||
+ | |||
+ | TrixBox starts up with a default network configuration based on IPv6; this won't work in most cases. To remedy this it is necessary to log in on the TrixBox as root and to configure the network subsystem. | ||
+ | |||
+ | This configuration is two-fold: on the VMware side it is necessary to set up network routing, as documented at [http://www.vmware.com/support/ws4/doc/network_configure_ws.html network_configure_ws]. | ||
+ | |||
+ | In our case, the present network is tightly configured by DHCP in such a way that using an IP in the same range as the machine's IP is not an option and other IP's are ignored. Therefore Network bridging isn't an option; we use NAT instead. | ||
+ | |||
+ | On the TrixBox side the networking infrastructure should happen according to [http://www.vmware.com/support/gsx3/doc/network_nat_advanced_gsx.html network_nat_advanced_gsx] |
Revision as of 18:47, 25 January 2007
Contents
Running Trixbox in VMware on Windows
Download:
VMware player (free)
- ISO CD-image (Direct link)
Things to know
- document the startup of VMware ***
Once the Trixbox Linux is up and running, the following things hold:
- The default root-password is "password".
- Entering the VMware console is done by clicking on it. Leaving is done by pressing CTRL + Alt at the same time.
- When opening the VMware configuration-file in VMware player, you probably get some warnings about the location of your CDrom drive. This can be ignored. (no CDrom is needed)
- Using the latest version of VMware player, the hardware-detection will detect a change of network card. Please select "Keep configuration" and in the next screen enter the right IP-configuration (needed only once)
- Each instance of VMware player running this version of Trixbox will take on average about 250 MB of RAM.
- Each VMware image of this version of Trixbox needs about 1.66 GiB of hard disk space. This can increase up to a max. of 7.3 GiB (max size of virtual filesystem + 256 MiB VMEM-file) The VMware-images can be compressed for transport to about 570 - 600 MB
Editors
The config files of Asterisk are located in /etc/asterisk/
Editing those files with the installed editor vi, is rather tedious. Therefore we installed Emacs to do the editing. Since Trixbox is based on CentOS, it is possible to use the CentOS RPM's to install Emacs.
The 2 RPM's needed for Emacs are located at the following URL's:
ftp://ftp.nluug.nl/pub/os/Linux/distr/CentOS/4.4/os/i386/CentOS/RPMS/emacs-common-21.3-19.EL.4.i386.rpm ftp://ftp.nluug.nl/pub/os/Linux/distr/CentOS/4.4/os/i386/CentOS/RPMS/emacs-nox-21.3-19.EL.4.i386.rpm
Using the program wget, it is possible to download these. After downloading, the RPM's can be installed with "rpm -i". We also created some smaller URL's, which is easier to type ;)
mkdir install cd install wget http://turl.nl/99 wget http://turl.nl/100 rpm -i emacs-common-21.3-19.EL.4.i386.rpm rpm -i emacs-nox-21.3-19.EL.4.i386.rpm
The name of the emacs-executable is "emacs-nox"
Connecting with the Trixbox-shell
It is possible to use the Trixbox shell via VMware (player), but this has one mayor disadvantage. You can't use cut 'n paste. However, it is also possible to interface over a SSH connection, using e.g. Putty. The IP-adress of the Trixbox installation is given at the login (using VMware).
To log in, the standard root-password is "password".
Running Trixbox in VMware on Linux
In the following we assume that the VMware image of TrixBox has already been downloaded to some directory, for instance
/home/scratch
First of all, VMware needs to be launched from the command-line
csg9101@wingtip114 [~/bin] : vmware &
After a while VMware will be up and running. Then the next step is to select open an existing Virtual Machine:
At this point, the CentOS TrixBox system will boot. Eventually a Linux login shell will appear.
TrixBox starts up with a default network configuration based on IPv6; this won't work in most cases. To remedy this it is necessary to log in on the TrixBox as root and to configure the network subsystem.
This configuration is two-fold: on the VMware side it is necessary to set up network routing, as documented at network_configure_ws.
In our case, the present network is tightly configured by DHCP in such a way that using an IP in the same range as the machine's IP is not an option and other IP's are ignored. Therefore Network bridging isn't an option; we use NAT instead.
On the TrixBox side the networking infrastructure should happen according to network_nat_advanced_gsx