iTop应用操作-系统高级管理-iTop系统配置文件-常见配置
[*]系统访问地址。形式类似于'app_root_url' => 'http://106.75.34.25/ITILxf/',这里我们使用的是IP地址,也可以使用域名,但必须在访问登录时使用这里设置的RUL地址,否则,一些内容会出现显示不全的情况;
[*]数据库连接信息。根据实际情况设置即可;主要信息有:
[*]
[*]'db_character_set' => 'utf8',
[*]'db_collation' => 'utf8_unicode_ci',
[*]'db_host' => '127.0.0.1',
[*]'db_name' => 'ITILxf',
[*]'db_pwd' => 'root123789',
[*]'db_subname' => '',
[*]'db_user' => 'root',
[*]邮件服务器。系统默认使用的是内置邮件服务'email_transport' => 'PHPMail',我们也可以使用SMTP来设置,格式如下:
[*]
[*]'email_transport' => 'SMTP',
[*]'email_transport_smtp.host' => 'mail.ITILxf.com',
[*]'email_transport_smtp.password' => 'it54321',
[*]'email_transport_smtp.port' => 25,
[*]'email_transport_smtp.username' => 'ithotline',
[*]'forgot_password_from' => 'ithotline@ITILxf.com',
[*]Portal 工单类型。可以设置成以下形式;
[*]
[*]'portal_tickets' => ‘UserRequest’,
[*]'portal_tickets' => 'Incident',
[*]'portal_tickets' => ‘UserRequest, Incident’,
[*]时区。'timezone' => 'Asia/Chongqing',;
[*]LDAP服务器信息。主要配置通过外部密码系统进行密码验证,如通过微软的域控制器AD;
'authent-ldap' => array ('host' => 'localhost','port' => 389,'default_user' => '','default_pwd' => '','base_dn' => 'dc=yourcompany,dc=com','user_query' => '(&(uid=%1$s)(inetuserstatus=ACTIVE))','options' => array (17 => 3,8 => 0,),'start_tls' => false,'debug' => false,
[*]备份策略信息;
'itop-backup' => array ('mysql_bindir' => '','week_days' => 'monday, tuesday, wednesday, thursday, friday','time' => '23:30','retention_count' => 5,'enabled' => true,'debug' => false,),
页:
[1]