# iAdminOS **Repository Path**: iadminos/i-admin-os ## Basic Information - **Project Name**: iAdminOS - **Description**: 开源插件化后台管理系统 - **Primary Language**: PHP - **License**: GPL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 4 - **Forks**: 1 - **Created**: 2020-11-02 - **Last Updated**: 2021-11-03 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # iAdminOS ## 框架介绍 [iAdminOS](http://www.iadminos.com/),开源插件化后台管理系统,做体验最好最安全的后台框架。 > 当前实现以PHP为主,后续会实现Java、Node.js等多语言覆盖。 + 官网:http://www.iadminos.com/ + 在线演示:http://demo.iadminos.com/admin/ + 系统设置:http://demo.iadminos.com/portal/index.html + 接口文档:http://demo.iadminos.com/docs.php + 开发文档:http://www.iadminos.com/docs/#/ + 码云代码仓库:https://gitee.com/iadminos/i-admin-os + 组件市场:http://www.iadminos.com/market.html ## 在线演示 在线演示:[http://demo.iadminos.com/](http://demo.iadminos.com/) 账号/密码:admin / 123456 后台首页: ![输入图片说明](https://images.gitee.com/uploads/images/2020/1205/195044_38ef01b7_121026.png "火狐截图_2020-12-05T11-49-56.582Z.png") ## 安装 第一步,把代码下载并放到服务器,将网站根目录设置到public目录,例如Nginx配置: ``` server { listen 80; server_name demo.iadminos.com; root /path/to/i-admin-os/public; charset utf-8; index index.html index.php; # 匹配未找到的文件路径 location / { try_files $uri $uri/ $uri/index.php; } if (!-e $request_filename) { rewrite ^/admin/(.*)/(.*) /admin/?s=$1.$2 last; rewrite ^/(.*)$ /index.php last; } location ~ \.php$ { fastcgi_split_path_info ^(.+\.php)(/.+)$; #fastcgi_pass 127.0.0.1:9000; fastcgi_pass unix:/var/run/php-fpm/php-fpm.sock; fastcgi_index index.php; include fastcgi_params; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; } access_log /var/log/nginx/demo.iadminos.com.access.log; error_log /var/log/nginx/demo.iadminos.com.error.log; } ``` 第二步,修改配置文件./config/dbs.php修改数据库配置,并且修改./config/admin.php修改OAuth配置。 修改:./config/dbs.php ```php /** * DB数据库服务器集群 / database cluster */ 'servers' => array( 'db_master' => array( // 服务器标记 / database identify 'type' => 'mysql', // 数据库类型,暂时只支持:mysql, sqlserver / database type 'host' => '127.0.0.1', // 数据库域名 / database host 'name' => 'iadminos', // 数据库名字 / database name 'user' => 'root', // 数据库用户名 / database user 'password' => '', // 数据库密码 / database password 'port' => 3306, // 数据库端口 / database port 'charset' => 'utf8mb4', // 数据库字符集 / database charset 'pdo_attr_string' => false, // 数据库查询结果统一使用字符串,true是,false否 'driver_options' => array( // PDO初始化时的连接选项配置 // 若需要更多配置,请参考官方文档:https://www.php.net/manual/zh/pdo.constants.php ), ), ), ``` 第三步,创建数据库:iadminos,并导入./data/iadminos.sql。 > 一键安装向导:http://demo.iadminos.com/portal/install,随后按界面指引进行安装。 将域名改成自己,访问:http://demo.iadminos.com/admin/,开始使用! 统一认证登录页面: ![输入图片说明](https://images.gitee.com/uploads/images/2020/1205/192950_3e6d0605_121026.png "0WX20201205-192938.png") > 默认管理员账号密码:admin / 123456;OAuth默认应用client_id/client_secret:iadminos / 123456,安装后可自行修改。 ## 他们正在使用 这些公司或软件正在使用我们的开源软件: + 程序员客栈 ## 如何加入 请发送申请邮件至 admin@tvery.com ## 文档 [http://www.iadminos.com/docs/](http://www.iadminos.com/docs/) ## 技术栈 + [PhalApi 2.x](https://www.phalapi.net/),PHP轻量级开源接口框架 + [AdminLTE 3](https://adminlte.io/) ,AdminLTE Bootstrap Admin Dashboard Template,[中文版](https://github.com/flowstone/AdminLTE-cn) + [Twig 2.x](https://twig.symfony.com/doc/2.x/) ,The flexible, fast, and secure template engine for PHP ## 捐助 如果您觉得我们的开源软件对你有所帮助,请扫下方二维码打赏我们一杯咖啡。 ## 联系 网站:www.iadminos.com 邮箱:admin@tvery.com