当前位置: 首页 > news >正文

查询网站的二级域名旅游网站怎么自己做

查询网站的二级域名,旅游网站怎么自己做,凡科做的网站好吗,音乐影视类网站建设Ubuntu 是一个使用非常广泛的 Linux 发行版。Ubuntu Server 则是云上最流行的服务器操作系统。本篇文章中#xff0c;我们展示了在 Ubuntu 上安装 MySQL 8 的详细步骤。 文章目录 1、先决条件2、在 Ubuntu 中安装 MySQL2.1、更新软件仓库包索引2.2、升级本地软件2.3、配置 MyS… Ubuntu 是一个使用非常广泛的 Linux 发行版。Ubuntu Server 则是云上最流行的服务器操作系统。本篇文章中我们展示了在 Ubuntu 上安装 MySQL 8 的详细步骤。 文章目录 1、先决条件2、在 Ubuntu 中安装 MySQL2.1、更新软件仓库包索引2.2、升级本地软件2.3、配置 MySQLPPA2.4、安装 MySQL2.5、MySQL 安全配置2.6、通过 Systemd 管理 MySQL 服务器2.7、连接到 MySQL 服务器 1、先决条件 请使用 root 用户或者具有管理员权限的用户登录系统完成以下操作。 2、在 Ubuntu 中安装 MySQL 2.1、更新软件仓库包索引 执行以下命令更新 Ubuntu 本地软件仓库的包索引。 sudo apt update2.2、升级本地软件 输入以下命令升级系统 sudo apt upgrade2.3、配置 MySQLPPA 在 Ubuntu 中安装 Mysql 最方便方式是用 MySQL 自己的 APT 仓库。 APT 仓库中包含了 MySQL 的服务器和工具相关的软件。我们需要将此 MySQL APT 仓库添加到系统的包源列表中。 使用 wget 命令下载 MySQL APT 仓库包 wget -c https://repo.mysql.com//mysql-apt-config_0.8.13-1_all.deb使用 dpkg 命令安装 MySQL APT 仓库包 sudo dpkg -i mysql-apt-config_0.8.13-1_all.deb2.4、安装 MySQL 执行以下命令开始安装 MySQL sudo apt install mysql-server这一步会安装一个不安全的 MySQL 服务器。我们将在下一步配置服务器的安全性。 安装完成后我们先启动 MySQL 服务器 sudo systemctl start mysql2.5、MySQL 安全配置 执行以下命令调整 MySQL 服务器的安全性 sudo mysql_secure_installation这将会输出 Securing the MySQL server deployment.Connecting to MySQL using a blank password.VALIDATE PASSWORD COMPONENT can be used to test passwords and improve security. It checks the strength of password and allows the users to set only those passwords which are secure enough. Would you like to setup VALIDATE PASSWORD component?Press y|Y for Yes, any other key for No:这里时问你是否使用密码验证组件。输入 “Y” 并按下回车键。 There are three levels of password validation policy:LOW Length 8 MEDIUM Length 8, numeric, mixed case, and special characters STRONG Length 8, numeric, mixed case, special characters and dictionary filePlease enter 0 LOW, 1 MEDIUM and 2 STRONG:这是是设置密码验证策略的级别。他提供了 3 个级别 LOW: 密码长度至少 8 位MEDIUM: 密码长度至少 8 位, 由数字、混合大小写的字母和特殊字符组成STRONG: 密码长度至少 8 位, 由数字、混合大小写的字母、特殊字符和字典文件组成 请选择适合你的密码级别。在这里由于是用来开发和测试我选择 0. Please set the password for root here.New password:Re-enter new password:在这里输入两次密码。 Estimated strength of the password: 25 Do you wish to continue with the password provided?(Press y|Y for Yes, any other key for No) : Y如果你对密码强度满意输入 Y 和回车键后继续。 By default, a MySQL installation has an anonymous user, allowing anyone to log into MySQL without having to have a user account created for them. This is intended only for testing, and to make the installation go a bit smoother. You should remove them before moving into a production environment.Remove anonymous users? (Press y|Y for Yes, any other key for No) : Y Success.Normally, root should only be allowed to connect from localhost. This ensures that someone cannot guess at the root password from the network.Disallow root login remotely? (Press y|Y for Yes, any other key for No) : Y Success.By default, MySQL comes with a database named test that anyone can access. This is also intended only for testing, and should be removed before moving into a production environment.Remove test database and access to it? (Press y|Y for Yes, any other key for No) : Y- Dropping test database... Success.- Removing privileges on test database... Success.Reloading the privilege tables will ensure that all changes made so far will take effect immediately.Reload privilege tables now? (Press y|Y for Yes, any other key for No) : Y Success.All done!在这里上面所有问题都输入 Y 。然后完成整个配置过程。 2.6、通过 Systemd 管理 MySQL 服务器 安装完成后MySQL 服务就会自动启动。我们可以通过以下几个命令查看 MySQL 服务的状态启动、停止、重启 MySQL 服务器 查看 MySQL 服务器状态 sudo systemctl status mysql启动 MySQL 服务器 sudo systemctl start mysql停止 MySQL 服务器 sudo systemctl stop mysql重启 MySQL 服务器 sudo systemctl restart mysql配置 MySQL 服务器自启动 sudo systemctl enable mysql 2.7、连接到 MySQL 服务器 请使用以下命令连接到 MySQL 服务器 mysql -u root -p然后根据提示输入 root 帐户的密码并按下回车键。验证通过后将显示以下输出代表进入了 MySQL 控制台 mysql使用 SHOW DATABASES 显示当前服务器中的所有数据库 mysql show databases;这是输出 -------------------- | Database | -------------------- | information_schema | | mysql | | performance_schema | | sys | -------------------- 4 rows in set (0.05 sec)上面显示的数据库是 MySQL 服务器自带数据库。
http://www.pierceye.com/news/24448/

相关文章:

  • 分销网站制作条件广西建设部网站
  • 个人网站 如何做推广株洲网站制作与设计
  • 用数据库做学校网站论文郑州网页设计制作
  • 网站好做吗如何在自己电脑上做网站
  • 品牌网站建设解决方案软文大全500篇
  • 国外做美食视频网站有哪些百度南京代理商
  • 学网站开发的能找什么工作北京广告公司标牌制作
  • 百度网站录入wordpress 侧边栏菜单 翻译
  • 杭州公积金网站查询系统哪些公司做网站
  • 重庆企业网站推广费用杭州公司外贸网站设计
  • 网站建设运营法律风险防范iis7建立网站
  • 做市场调研的网站网络营销技巧和营销方法
  • wordpress心理教育网站电商网站基本功能
  • 长沙网站制作公司推荐做cpa怎么建立自己网站
  • 青岛国家高新区建设局网站安装vs2015网站开发
  • 网站建设管理职责创业开网站建设公司
  • 中山企业网站多少钱网站开发工具.枫子科技
  • 重庆seo整站优化外包服务gis做图网站
  • 凯里市经济开发区建设局网站seo优化的主要内容
  • 专门做广东11选5的网站赚钱的网站平台
  • 惠州市建设工程交易中心网站天元建设集团有限公司标志
  • 做网站设计的总结两个彩票网站做赔付
  • 大型网站化方案沈阳网页模板建站
  • 网站开发的可行性报告大连市网站制作电话
  • 如果做一个网站济南企业上云网站建设
  • 网站收录图片丽水开发区建设局网站廉租房
  • 山东营销型网站网站建设html代码如何添加
  • 网站建设论文企业官方网站案例
  • 电子商务网站的功能包括传奇手游最新下载
  • 凌源网站建设现在还有网站做校内网吗