差異處
這裏顯示兩個版本的差異處。
| 下次修改 | 前次修改 | ||
| tech:leantime [2019/11/23 20:36] – 建立 jonathan_tsai | tech:leantime [2021/01/16 14:40] (目前版本) – 更換 plugin jonathan | ||
|---|---|---|---|
| 行 1: | 行 1: | ||
| + | ====== CentOS7 安裝 Leantime 專案管理系統 ====== | ||
| + | * 安裝環境 : | ||
| + | * PVE 6.0.12 底下的 CT | ||
| + | * CentOS Linux release 7.7.1908 (Core) | ||
| + | ===== 安裝相關系統環境 ===== | ||
| + | * EPEL 與其他工具套件< | ||
| + | yum install -y epel-release yum-utils wget unzip | ||
| + | </ | ||
| + | * PHP 7.2 and up <code sh> | ||
| + | rpm -Uvh http:// | ||
| + | yum-config-manager --disable remi-php54 | ||
| + | yum-config-manager --enable remi-php73 | ||
| + | yum install -y php php-mysqlnd php-mbstring | ||
| + | </ | ||
| + | * Apache with mod_rewrite< | ||
| + | yum install -y httpd mod_ssl | ||
| + | </ | ||
| + | * MySQL 5.6 -> MariaDB 10.3< | ||
| + | # MariaDB 10.3 CentOS repository list - created 2019-01-25 13:04 UTC | ||
| + | # http:// | ||
| + | [mariadb] | ||
| + | name = MariaDB | ||
| + | baseurl = http:// | ||
| + | gpgkey=https:// | ||
| + | gpgcheck=1 | ||
| + | </ | ||
| + | yum install -y MariaDB-server | ||
| + | </ | ||
| + | * 基本參數環境設定 | ||
| + | * <code h / | ||
| + | : | ||
| + | [Date] | ||
| + | : | ||
| + | date.timezone = Asia/Taipei | ||
| + | : | ||
| + | </ | ||
| + | * <code h / | ||
| + | : | ||
| + | < | ||
| + | : | ||
| + | AllowOverride All | ||
| + | : | ||
| + | </ | ||
| + | * 系統初始化設定 <code sh> | ||
| + | systemctl start httpd | ||
| + | systemctl enable httpd | ||
| + | systemctl start mariadb | ||
| + | systemctl enable mariadb | ||
| + | mysql_secure_installation | ||
| + | mysql -u root -p | ||
| + | </ | ||
| + | |||
| + | ===== 安裝與設定 Leantime ===== | ||
| + | * Download latest release package | ||
| + | * Upload entire directory to your server | ||
| + | * Point your domain to the public/ directory | ||
| + | * Rename config/ | ||
| + | * <code sh> | ||
| + | su - root | ||
| + | cd /var/www/ | ||
| + | wget https:// | ||
| + | unzip leantime.zip | ||
| + | rmdir html | ||
| + | mv public html | ||
| + | cp config/ | ||
| + | chown apache: | ||
| + | </ | ||
| + | * Create an empty MySQL database< | ||
| + | mysql -u root -p | ||
| + | create database leadtime; | ||
| + | create user ' | ||
| + | grant all on leadtime.* to ' | ||
| + | flush privileges; | ||
| + | quit | ||
| + | </ | ||
| + | [root@ct-leantime www]# mysql -u root -p | ||
| + | Enter password: | ||
| + | Welcome to the MariaDB monitor. | ||
| + | Your MariaDB connection id is 18 | ||
| + | Server version: 10.3.20-MariaDB MariaDB Server | ||
| + | |||
| + | Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others. | ||
| + | |||
| + | Type ' | ||
| + | |||
| + | MariaDB [(none)]> | ||
| + | Query OK, 1 row affected (0.000 sec) | ||
| + | |||
| + | MariaDB [(none)]> | ||
| + | Query OK, 0 rows affected (0.000 sec) | ||
| + | |||
| + | MariaDB [(none)]> | ||
| + | Query OK, 0 rows affected (0.000 sec) | ||
| + | |||
| + | MariaDB [(none)]> | ||
| + | Query OK, 0 rows affected (0.000 sec) | ||
| + | |||
| + | MariaDB [(none)]> | ||
| + | Bye | ||
| + | [root@ct-leantime www]# | ||
| + | </ | ||
| + | * Fill in your database credentials (username, password, host, dbname) in config/ | ||
| + | * <code h / | ||
| + | : | ||
| + | /* Database */ | ||
| + | public $dbHost=" | ||
| + | public $dbUser=" | ||
| + | public $dbPassword=" | ||
| + | public $dbDatabase=" | ||
| + | |||
| + | /* Fileupload */ | ||
| + | : | ||
| + | </ | ||
| + | * Navigate to < | ||
| + | * Follow instructions to install database and set up first user account | ||
| + | * {{: | ||
| + | * {{: | ||
| + | |||
| + | |||
| + | ===== 參考網址 ===== | ||
| + | * https:// | ||
| + | * https:// | ||
| + | * https:// | ||
| + | |||
| + | {{tag> | ||