设为首页收藏本站

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1303|回复: 4

Installing trixbox CE 2.6(2) - command line tools and basic config

[复制链接]
发表于 2010-12-1 14:35:38 | 显示全部楼层 |阅读模式
本帖最后由 Test 于 2010-12-2 06:53 编辑

After entering a password for the root account, the rest of the installation process will begin. Depending on the speed of your system, this installation process will take between 10 and 20 minutes. When the installation process is complete, the system will reboot and be waiting at the login prompt.
  
Once you log in, the system will show you the IP address that was assigned to your system from your DHCP server. If you need to change to a static IP address, you can browse to the URL shown on your screen and use the Network Configuration module to configure your network, or you can run the system-config-network command to set up your networking.
  
SSH Access:When the trixbox CE installation is complete, we can also log in to the system using SSH (a secure shell protocol). A popular open-source tool for accessing a system with SSH is PuTTy (www.chiark.greenend.org.uk/~sgtatham/putty/).  

Basic system configuration

Now is a good time to look at a few tools we can use to do some basic system configuration. (PBX configuration will be covered in the next tutorial.) For many installations you are actually ready to begin setting up the PBX functionality at this point. If your system is on a public IP address, is in a DMZ, or has any ports forwarded to it from the public Internet, you will want to keep your system up-to-date with the latest security updates. Regardless of what you may have heard, there are always vulnerabilities being found in different components and you need to make sure your system is secured against these issues.

Updating trixbox CE from the command line

As we dig into the trixbox CE dashboard we will see how we can use the Package Manager to update our system. Since we are currently sitting in front of the machine and logged into the console, this is a good time to learn about how to upgrade your system from the command line in case something ever goes wrong with the Package Manager and you need to do an update manually.

Getting all yummy with it

The maintainers of CentOS keep several repositories of packages to make it simple to install and upgrade packages. Fonality maintains repositories that are specific to the trixbox CE code base. Using the yum command will allow you to do quick updates to all aspects of your system with one command:yum update
Running the command will give you some output such as the following:
  1. [trixbox1.localdomain ~]# yum update
复制代码


  • Dependencies Resolved
PackageArchVersionRepository Size
Updating:php-pear 406 k
noarch1:1.5.0-3trixbox
php-pear-DB 142 knoarch1.7.13-1.el5.centosextras
  • Transaction Summary
Install0 Package(s)
Update2 Package(s)
Remove0 Package(s)
Total download size: 549 kIs this ok [y/N]:
Select Y to begin installation. Usually you do not need to reboot your system after installing updates but since you can't always tell if you need to or not, it is usually a good idea to issue a reboot command to restart the system.
trixbox CE command-line toolsFor a list of available trixbox CE command-line tools, use the help-trixbox command. This command will give you the following output:
  1. [trixbox1.localdomain ~]# help-trixbox
  2. trixbox - HELP
复制代码


CommandsDescriptions
system-config-networkconfigure ethernet interface
passwd-maintset master password for web GUI
passwdset root password for console login
setup-ciscocreate a SIPDefault.cnf in /tftpboot
setup-aastracreate a aastra.cfg in /tftpboot
setup-grandstreamsetup for autoconfiguration of Grandstream
setup-linksyssetup for configuration of Linksys phones
setup-polycomsetup for polycom phones
setup-snomsetup for snom phones
setup-dhcpset up a dhcp server
setup-sambaset up a Samba server (Microsoft file sharing)
setup-mailconfigure sendmail
setup-pstndetect and setup supported PSTN interface cards
asterisk -rAsterisk CLI
install-hudliteInstall hudlite server
install-postfixInstall postfix mail server
install-sendmailInstall sendmail mail server
In later tutorials we will look at these commands in more detail as we learn about phone provisioning and securing our server.  

Using the web interface

Our systems are up and running and now it's time to get into the web interface and start seeing exactly what our system is capable of doing. To get started we need to use a different machine than the one onto which we installed trixbox CE because it does not have a desktop system or web browser installed on it.
From the trixbox CE system you installed, once you log in as 'root' with the password you created during the installation, the system will display the IP address to use to access the web interface.

Welcome to trixbox CE

  • For access to the trixbox web GUI use this URL
eth0 http://192.168.5.250
  • For help on trixbox commands you can use from this
  1. command shell type help-trixbox.
  2. [trixbox1.localdomain ~]#
复制代码



User mode

The first screen you will get is the User Mode screen. Since the tools here are designed for regular users there is no password required to access this system although some passwords are required in some of the individual tools themselves.
  




Asterisk Recording Interface (ARI)

The ARI module is a web interface used by users for web access to voicemail and recordings. A user logs into ARI with their extension and voicemail password.

  




The most common function of ARI is simply to allow users to check their voicemails and recordings. Users who are used to older versions will appreciate some of the newer features that are now available, such as being able to modify their phone settings and adjust certain Follow Me functions if the administrator has set it up for them.
  




  




Using trixbox CE 2.4 and higher, a new feature has been added called the VmX Locator. If the VmX Locator is enabled by the administrator for the user, then a new menu for this will appear within the ARI interface.
  




发表于 2011-5-19 15:26:25 | 显示全部楼层
好帖 此贴不顶枉混论坛!!

一定要顶一下!!




最有效的丰胸产品,丰胸最有效的方法,健康丰胸,如何丰胸
发表于 2011-5-21 00:32:20 | 显示全部楼层
遇到好帖怎么办?

唯一的回报就是坚持顶帖,赞一个



MillashaMillashaMillashaMillashaMillasha
发表于 2011-5-25 03:41:44 | 显示全部楼层
楼主好帖,不顶不精彩,希望这种帖子以后多一点哈





三仙矛草三仙矛草三仙矛草三仙矛草
发表于 2011-5-25 22:55:03 | 显示全部楼层
楼主好帖,不顶可惜,所以一定要顶一下!



哪种丰胸产品效果好,吃什么丰胸,丰胸精油有用吗,丰胸的方法
您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|BC Morning Website ( Best Deal Inc. 001 )  

GMT-8, 2025-8-26 06:56 , Processed in 0.015286 second(s), 17 queries .

Supported by Best Deal Online X3.5

© 2001-2025 Discuz! Team.

快速回复 返回顶部 返回列表