配置注意
1.config/database.php
php5.6以后废弃了mysql的方法,所以要使用mysqli1
2$db['default']['dbdriver'] = 'mysql';
$db['default']['dbdriver'] = 'mysqli';
2.libraries下的Layout.php Layoutfull.php,修改构造方法
3.修改config/config.php中的1
2$config['index_page'] = 'index.php';
$config['index_page'] = '';
nginx的配置1
2
3
4
5
6
7
8
9
10
11location /
{
if (!-e $request_filename)
{
rewrite ^(.*)$ /index.php?s=$1 last;
break;
}
}
whereis mysql_config 无法使用
export PATH=$PATH:/usr/local/mysql/bin/ 有些找不到这个文件需要添加一下
添加leplus服务
1 | cd /usr/local |
默认的后台密码
1 | admin/Lepusadmin |
简单使用
1.登录后台后添加一个mysql实例才能正常使用
2.数据库实例添加即可使用了
snmpd
1 | sudo apt-get install snmp snmpd |