linux系统搭建禅道

下载
禅道下载链接:https://www.zentao.net/index.html
linux系统搭建禅道_第1张图片
linux系统搭建禅道_第2张图片
下载完成后上传到服务器进行解压(注意这里需要解压到 /opt 目录)

tar -zxvf ZenTaoPMS.15.5.zbox_old.64.tar.gz  -C /opt/

启动

/opt/zbox/zbox start

打开浏览器:http://localhost/ 访问禅道

如果报错访问不到查看日志/opt/zbox/
linux系统搭建禅道_第3张图片
一般是端口号被占用了 修改端口号

/opt/zbox/zbox -ap 8081 //修改Apache服务器的端口号为8080

/opt/zbox/zbox -mp 3037 //修改mysql服务器的端口号为8090

重启

/opt/zbox/zbox  restart

linux系统搭建禅道_第4张图片

linux系统搭建禅道_第5张图片
禅道管理员账号admin忘记密码
连接禅道安装的服务器,使用root用户进入mysql默认密码为 ‘123456’

/opt/zbox/run/mysql/mysql -uroot -p
// 成功进入mysql后提示如下:
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 249
Server version: 10.1.22-MariaDB Source distribution

Copyright (c) 2000, 2016, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

// 查看数据库,并使用zentao库
MariaDB [(none)]> show databases;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| mysql              |
| performance_schema |
| zentao             |
+--------------------+
4 rows in set (0.01 sec)

MariaDB [(none)]> use zentao;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed

// 输入sql命令查看zt_user表root用户密码
MariaDB [zentao]> select id,account,password from zt_user where account ='admin';
+----+---------+----------------------------------+
| id | account | password                         |
+----+---------+----------------------------------+
|  1 | admin   | 4125dc6e5c3e55bac76dfd616eac298f |
+----+---------+----------------------------------+
1 row in set (0.00 sec)

// 密码使用MD5加密重新设置密码e10adc3949ba59abbe56e057f20f883e即123456
MariaDB [zentao]> update zt_user set password='e10adc3949ba59abbe56e057f20f883e' where id=1;
Query OK, 1 row affected (0.00 sec)
Rows matched: 1  Changed: 1  Warnings: 0

MariaDB [zentao]>

成功后即可通过amdin 123456登录

你可能感兴趣的:(linux,mysql,数据库)