第 3 章 TUTOS

本文涉及的产品
RDS MySQL Serverless 基础系列,0.5-2RCU 50GB
云数据库 RDS MySQL,集群系列 2核4GB
推荐场景:
搭建个人博客
云数据库 RDS PostgreSQL,集群系列 2核4GB
简介:

TUTOS is a tool to manage the organizational needs of small groups, teams, departments ...

http://www.tutos.org/

过程 3.1. TUTOS

  1. extract

    tar jxvf TUTOS-php-1.3.20070317.tar.bz2
    sudo mv tutos /www/htdocs/
    			
  2. database

    netkiller@shenzhen:/www/htdocs/tutos$ mysqladmin -uroot -p create tutos
    netkiller@shenzhen:/www/htdocs/tutos$ mysql -uroot -p
    Enter password:
    Welcome to the MySQL monitor.  Commands end with ; or \g.
    Your MySQL connection id is 846
    Server version: 5.0.45 Source distribution
    
    Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
    
    mysql> grant all on tutos.* to tutos@% identified by "chen";
    Query OK, 0 rows affected (0.05 sec)
    
    mysql> grant all on tutos.* to tutos@localhost identified by "chen";
    Query OK, 0 rows affected (0.00 sec)
    
    mysql> FLUSH PRIVILEGES;
    Query OK, 0 rows affected (0.00 sec)
    
    mysql> quit
    Bye
    
    netkiller@shenzhen:/www/htdocs/tutos$ mysqladmin -uroot -p reload
    			
  3. config

    mkdir /www/htdocs/tutos/repository
    			

    http://192.168.1.7/tutos/php/admin/scheme.php

    or

    cp config_default.pinc  config.php
    			



    < ?php
    # remove this line when finsihed with config
    tutos['CCSID'] = "10880f50567242006bf2c1a2c0b8b350";  #  # sessionpath  #tutos['CCSID'] = "10880f50567242006bf2c1a2c0b8b350";  #  # sessionpath  #tutos[sessionpath] = "/tmp";
    #
    # the next lines are a database definition
    #
    tutos[dbname][0]="tutos";tutos[dbhost][0]     = "localhost";
    tutos[dbport][0]="5432";tutos[dbuser][0]     = "tutos";
    tutos[dbpasswd][0]="chen";tutos[dbtype][0]     = "2";
    tutos[dbalias][0]="Mysqldatabase";tutos[cryptpw][0]    = "";
    tutos[repository][0]="repository";tutos[dbprefix][0]   = "";
    #
    # MAIL
    #
    tutos[mailmode]="2";tutos[sendmail] = "/usr/lib/sendmail";
    tutos[smtphost] = "localhost";  #  # demo mode  #tutos[demo] = 0;
    #
    # debug mode
    #
    tutos[debug]=0;tutos[errlog] = "/tmp/debug.out";
    #
    $tutos[jpgraph] = "/www/htdocs/tutos/php/admin/jpgraph";
    #
    # EOF
    ?>

    sudo apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl libmd5-perl

  4. login

    http://192.168.1.7/tutos/php/mytutos.php

    User: superuser Password: tutos





原文出处:Netkiller 系列 手札
本文作者:陈景峯
转载请与作者联系,同时请务必标明文章原始出处和作者信息及本声明。

相关实践学习
如何快速连接云数据库RDS MySQL
本场景介绍如何通过阿里云数据管理服务DMS快速连接云数据库RDS MySQL,然后进行数据表的CRUD操作。
全面了解阿里云能为你做什么
阿里云在全球各地部署高效节能的绿色数据中心,利用清洁计算为万物互联的新世界提供源源不断的能源动力,目前开服的区域包括中国(华北、华东、华南、香港)、新加坡、美国(美东、美西)、欧洲、中东、澳大利亚、日本。目前阿里云的产品涵盖弹性计算、数据库、存储与CDN、分析与搜索、云通信、网络、管理与监控、应用服务、互联网中间件、移动服务、视频服务等。通过本课程,来了解阿里云能够为你的业务带来哪些帮助 &nbsp; &nbsp; 相关的阿里云产品:云服务器ECS 云服务器 ECS(Elastic Compute Service)是一种弹性可伸缩的计算服务,助您降低 IT 成本,提升运维效率,使您更专注于核心业务创新。产品详情: https://www.aliyun.com/product/ecs
目录
打赏
0
0
0
0
26198
分享
相关文章
大数据中非结构化数据
【10月更文挑战第18天】
497 4
|
11月前
|
如何在 Vim / Vi 中撤消和重做?
【4月更文挑战第19天】
548 0
如何在 Vim / Vi 中撤消和重做?
基于人工智能的个性化推荐系统研究
基于人工智能的个性化推荐系统研究
442 0
Socks5代理与HTTP代理的区别与优劣
在互联网时代,隐私和安全至关重要,代理服务器如socks5和HTTP代理成为保护个人信息的工具。socks5代理支持多种网络流量和UDP协议,更具灵活性和通用性,但设置复杂;HTTP代理则更常见、易用,适合仅处理HTTP流量的场景,但限制较多。选择哪种代理取决于具体需求和应用场景。
Telnet协议:远程终端协议的基础知识
Telnet协议:远程终端协议的基础知识
1120 2
史上最详细Docker安装Elasticsearch、ik分词器、可视化工具,每一步都带有步骤图!!!
史上最详细Docker安装Elasticsearch、ik分词器、可视化工具,每一步都带有步骤图!!!
1292 1
史上最详细Docker安装Elasticsearch、ik分词器、可视化工具,每一步都带有步骤图!!!
在Windows上从零开始搭建Go语言开发环境完全指南
在Windows上从零开始搭建Go语言开发环境完全指南
230 0
|
11月前
|
一文快速搞懂Kudu到底是什么
一文快速搞懂Kudu到底是什么
2076 0
docker启动容器时报错:iptables: No chain/target/match by that name
【已解决】docker启动容器时报错:iptables: No chain/target/match by that name
7368 2
入门篇:从 etcd 名字的由来,到安装部署和使用姿势
etcd 使用 Go 语言开发,底层基于 Raft 共识算法管理高可用的复制日志。当前已经被许多公司用于关键生产项目,比如:Kubernetes、locksmith、vulcand、Doorman 等。
AI助理

你好,我是AI助理

可以解答问题、推荐解决方案等