正在加载图片...
《云计算与虚拟化技术》实验指导书/实验一: Public cloud MariaDB[(none)]> set password password(open#labs511): //iEE MariaDB[none)]> create database wordpress/刨建数据库 MariaDB[(none)]> create user 'boke' @'localhost'identified byopen# MariaDB[(none)]> grant all on wordpress. to 'boke@"localhost': //F 户授权 Mr⊥DB gion: 5.5.60-MariaDB MariaDB Serve opyright (c) 2000, 2018, Oracle, MariaDB Corporation ib and others pe 'help: clear the erd('pen1ab11”) DB [Inone)1>exit 邓k出-1+mq!-t- end with or \g ght (c) 2000, 2018, oracle, MariaDB Corporation Ab and others ype help: or '\h' for help, Type ' \e to clear the current input statement Inone)1> 图1-24配置 MariaDB密码 MariaDB moni tor. Commands end with or Ir MariaDB connecton id 13 version: 5. 5.60-MariaDB MarlaDB Server ight (c) 2000, 2018, Oracle, MariaDB Corporation Ab and othera \,tor help. Iype '\c to clear the current input statemen 0 sec) 图1-25创建数据库 oke@。 almost’⊥ dentified by"open#1abs511 图1-26创建用户 (none)I> grant all on wordpress. to ' boke'e' localhost. Query 0 rows affected (0. 00 sec) 图1-27用户授权 (8)配置完httd和数据库后,即可开始安装 WordPress选择安装的是 Word Press中 文版,版本号为50.3。通过 Work Press官方网站htps/ n wordpress。org获取 WordPress安装 包的命令如下,如图1-28所示。 信息管理与信息系统教研室/阮晓龙/13938213680/共119页,第10页《云计算与虚拟化技术》实验指导书 / 实验一:Public Cloud 信息管理与信息系统教研室 / 阮晓龙 / 13938213680 / 共 119 页,第 10 页 MariaDB[(none)]> set password = password('open#labs511');//设置密 码 MariaDB[(none)]> create database wordpress;//创建数据库 MariaDB[(none)]> create user 'boke'@'localhost' identified by 'open# labs511';//创建用户 MariaDB[(none)]> grant all on wordpress.* to 'boke'@'localhost';//用 户授权 (8)配置完 httpd 和数据库后,即可开始安装 WordPress。选择安装的是 WordPress 中 文版,版本号为 5.0.3。通过 WorkPress 官方网站 https://cn.wordpress.org 获取 WordPress 安装 包的命令如下,如图 1-28 所示。 图 1-24 配置 MariaDB 密码 图 1-25 创建数据库 图 1-26 创建用户 图 1-27 用户授权
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有