这里会显示出您选择的修订版和当前版本之间的差别。
| 两侧同时换到之前的修订记录 前一修订版 后一修订版 | 前一修订版 | ||
|
zh:常见问题及解答:如何为astercc系统配置多台php服务器 [2016/11/17 03:41] liuxl |
zh:常见问题及解答:如何为astercc系统配置多台php服务器 [2017/12/12 03:05] (当前版本) |
||
|---|---|---|---|
| 行 9: | 行 9: | ||
| <note> 注:做分布之前,先确保所有服务器的asterCC的版本必须是一样的,其次 安装相同的模块。 </note> | <note> 注:做分布之前,先确保所有服务器的asterCC的版本必须是一样的,其次 安装相同的模块。 </note> | ||
| + | |||
| + | <note important>多台集群服务器,请确保除了CTI上的asterccd进程正常启动外其它服务器该进程停止运行,且设置chkconfig关闭asterccd开机自动启动。mysql上crontab -e内设置的astercc定时任务全部用“#”号注释掉。</note> | ||
| 1.对系统进行分布配置前,首先需要将CTI机器上的数据库备份。 | 1.对系统进行分布配置前,首先需要将CTI机器上的数据库备份。 | ||
| 行 292: | 行 294: | ||
| mount -t cifs -o username=sbu,password=123456 //192.168.1.62/ccscripts /opt/asterisk/scripts/astercc | mount -t cifs -o username=sbu,password=123456 //192.168.1.62/ccscripts /opt/asterisk/scripts/astercc | ||
| </code> | </code> | ||
| - | |||
| - | 设置开机自动挂载,主从机上可将所有挂载设置类似如下: | ||
| - | <code>vim /etc/fstab</code> | ||
| - | <code>文件末增加如下 : //192.168.1.61/ccdata /var/www/html/asterCC/data cifs defaults,username=sbu,password=123456 0 0</code> | ||
| - | |||
| - | {{:zh:常见问题及解答:selection_004.png?750|}} | ||
| 11.修改 /etc/php-fpm.d/www.conf 配置文件内容 | 11.修改 /etc/php-fpm.d/www.conf 配置文件内容 | ||