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

公司网站建设有用吗网站开发流程是什么

公司网站建设有用吗,网站开发流程是什么,工程建设游戏,做房间预定网站需要什么软件🌟 你好 欢迎来到我的技术小宇宙!🌌 这里不仅是我记录技术点滴的后花园,也是我分享学习心得和项目经验的乐园。📚 无论你是技术小白还是资深大牛,这里总有一些内容能触动你的好奇心。🔍 &#x…

在这里插入图片描述

🌟 你好

欢迎来到我的技术小宇宙!🌌 这里不仅是我记录技术点滴的后花园,也是我分享学习心得和项目经验的乐园。📚 无论你是技术小白还是资深大牛,这里总有一些内容能触动你的好奇心。🔍

  • 🤖 洛可可白:个人主页

  • 🔥 个人专栏:✅前端技术 ✅后端技术

  • 🏠 个人博客:洛可可白博客

  • 🐱 代码获取:bestwishes0203

  • 📷 封面壁纸:洛可可白wallpaper

Alt

CentOS 7 上安装 MySQL 8.0 教程

  • CentOS 7 上安装 MySQL 8.0 教程
    • 一、安装前准备
      • 1. 卸载 MariaDB
      • 2. 检查依赖
    • 二、安装 MySQL
      • 1. 下载资源包
      • 2. 解压
      • 3. 重命名和创建存储数据文件夹
      • 4. 设置用户组并赋权
      • 5. 初始化 MySQL
      • 6. 配置参数文件
      • 7. 启动 MySQL
      • 8. 设置软连接,并重启 MySQL
      • 9. 登录并更改密码
      • 10. 开放远程连接
      • 11. 连接工具测试连接 MySQL
    • 三、设置开机自启动(可选)

CentOS 7 上安装 MySQL 8.0 教程

在本教程中,我们将通过一系列步骤在 CentOS 7.6 系统上安装 MySQL 8.0.30 版本。这个过程包括了安装前的准备、下载 MySQL、配置和优化等步骤。

一、安装前准备

在开始安装之前,我们需要确保系统环境已经准备好。

1. 卸载 MariaDB

由于 MySQL 和 MariaDB 可能会有文件冲突,建议先卸载 MariaDB。

rpm -qa|grep mariadb
rpm -e --nodeps 文件名
rpm -qa|grep mariadb

2. 检查依赖

确保系统已安装 libaionumactl

rpm -qa|grep libaio
yum -y install libaiorpm -qa|grep numactl
yum -y install numactl

二、安装 MySQL

1. 下载资源包

你可以选择从官网下载或者使用 wget 在服务器上直接下载。

在这里插入图片描述

# 官网下载
MySQL官网下载地址: https://dev.mysql.com/downloads/mysql/# 使用wget下载
wget https://downloads.mysql.com/archives/get/p/23/file/mysql-8.0.30-el7-x86_64.tar

2. 解压

将下载的安装包上传到 /usr/local/ 目录下,并解压。

cd /usr/local/
tar -xvf mysql-8.0.30-el7-x86_64.tar
tar -zxvf mysql-8.0.30-el7-x86_64.tar.gz

3. 重命名和创建存储数据文件夹

mv mysql-8.0.30-el7-x86_64/ mysql
mkdir mysql/data

4. 设置用户组并赋权

groupadd mysql
useradd -r -g mysql mysql
chown -R mysql:mysql /usr/local/mysql/
chmod -R 755 /usr/local/mysql/

5. 初始化 MySQL

cd /usr/local/mysql/bin/
./mysqld --initialize --user=mysql --datadir=/usr/local/mysql/data --basedir=/usr/local/mysql

记下初始化过程中生成的临时密码。

6. 配置参数文件

编辑 /etc/my.cnf 文件,配置数据库字符集和其他参数。

vi /etc/my.cnf

添加或修改以下内容:

[client]
port = 3306
socket = /usr/local/mysql/data/mysql.sock
default-character-set = utf8mb4[mysql]  
default-character-set = utf8mb4[mysqld]  
character-set-server = utf8mb4
collation-server = utf8mb4_general_ci
init_connect = 'SET NAMES utf8mb4'
port = 3306
socket = /usr/local/mysql/data/mysql.sock
skip-external-locking

7. 启动 MySQL

/usr/local/mysql/support-files/mysql.server start

8. 设置软连接,并重启 MySQL

ln -s /usr/local/mysql/support-files/mysql.server /etc/init.d/mysql
ln -s /usr/local/mysql/bin/mysql /usr/bin/mysql
ln -s /usr/local/mysql/mysql.sock /var/mysql.sock
service mysql restart

9. 登录并更改密码

使用初始化时生成的临时密码登录 MySQL,并更改密码。

mysql -uroot -p

更改密码的命令:

alter user 'root'@'localhost' identified by '新密码';

10. 开放远程连接

如果需要远程连接 MySQL,更新用户权限并刷新。

use mysql;
update user set host = '%' where user = 'root';
flush privileges;

11. 连接工具测试连接 MySQL

确保 MySQL 服务运行正常,使用连接工具测试远程连接。

三、设置开机自启动(可选)

将 MySQL 服务设置为开机自启动。

cp /usr/local/mysql/support-files/mysql.server /etc/init.d/mysqld
chmod +x /etc/init.d/mysqld
chkconfig --add mysqld
chkconfig --level 345 mysqld on

重启系统以确认 MySQL 是否自启动。

reboot
ps -ef|grep mysql

通过以上步骤,你应该能够在 CentOS 7 上成功安装并配置 MySQL 8.0.30。确保在生产环境中根据实际需求调整配置参数。

如果对你有帮助,点赞👍、收藏💖、关注🔔是我更新的动力!👋🌟🚀


文章转载自:
http://dinncobelow.tqpr.cn
http://dinncopictographic.tqpr.cn
http://dinncoweigelia.tqpr.cn
http://dinncozygapophysis.tqpr.cn
http://dinncofeudary.tqpr.cn
http://dinncoxeromorphy.tqpr.cn
http://dinncojippo.tqpr.cn
http://dinncorestrictee.tqpr.cn
http://dinncovernissage.tqpr.cn
http://dinncopolicewoman.tqpr.cn
http://dinncocornetto.tqpr.cn
http://dinncophrase.tqpr.cn
http://dinncobnfl.tqpr.cn
http://dinncofaddish.tqpr.cn
http://dinncoresoundingly.tqpr.cn
http://dinncocomplexion.tqpr.cn
http://dinncocarper.tqpr.cn
http://dinncoganov.tqpr.cn
http://dinncomunificent.tqpr.cn
http://dinncomoistness.tqpr.cn
http://dinncofinnish.tqpr.cn
http://dinncoostitic.tqpr.cn
http://dinncoyounger.tqpr.cn
http://dinncoalbedometer.tqpr.cn
http://dinncosheldrake.tqpr.cn
http://dinncocesser.tqpr.cn
http://dinncotormina.tqpr.cn
http://dinncoclaypan.tqpr.cn
http://dinncoliberaloid.tqpr.cn
http://dinncohydropical.tqpr.cn
http://dinncoxeromorphic.tqpr.cn
http://dinncocalcify.tqpr.cn
http://dinncovulturish.tqpr.cn
http://dinncogreen.tqpr.cn
http://dinncomarcan.tqpr.cn
http://dinncoencapsule.tqpr.cn
http://dinncotrickeration.tqpr.cn
http://dinncojerusalemite.tqpr.cn
http://dinnconucleogenesis.tqpr.cn
http://dinncofoam.tqpr.cn
http://dinncolearn.tqpr.cn
http://dinncolaloplegia.tqpr.cn
http://dinncosubstantivize.tqpr.cn
http://dinncodialysis.tqpr.cn
http://dinncosuperfoetation.tqpr.cn
http://dinncoshift.tqpr.cn
http://dinncoposthypnotic.tqpr.cn
http://dinncoskivvy.tqpr.cn
http://dinncovenetian.tqpr.cn
http://dinncosdcd.tqpr.cn
http://dinncodisregardfully.tqpr.cn
http://dinncohagen.tqpr.cn
http://dinncoboatrace.tqpr.cn
http://dinncoeparch.tqpr.cn
http://dinncoleakiness.tqpr.cn
http://dinncodiscobeat.tqpr.cn
http://dinncozooid.tqpr.cn
http://dinncounsharp.tqpr.cn
http://dinncocrosstrees.tqpr.cn
http://dinncojay.tqpr.cn
http://dinnconurserygirl.tqpr.cn
http://dinnconeglige.tqpr.cn
http://dinncooxalic.tqpr.cn
http://dinncocirque.tqpr.cn
http://dinncoatingle.tqpr.cn
http://dinncochippy.tqpr.cn
http://dinncocaducity.tqpr.cn
http://dinncodampen.tqpr.cn
http://dinncoabsenteeism.tqpr.cn
http://dinncodivert.tqpr.cn
http://dinncoponder.tqpr.cn
http://dinncoperigon.tqpr.cn
http://dinncodispauperize.tqpr.cn
http://dinncodionysus.tqpr.cn
http://dinncocoleoptile.tqpr.cn
http://dinncohurler.tqpr.cn
http://dinncosoutheasterly.tqpr.cn
http://dinncomarabunta.tqpr.cn
http://dinncowirepull.tqpr.cn
http://dinncoredid.tqpr.cn
http://dinncocariban.tqpr.cn
http://dinncovichyite.tqpr.cn
http://dinncotongue.tqpr.cn
http://dinncojumpmaster.tqpr.cn
http://dinncoreeducate.tqpr.cn
http://dinnconih.tqpr.cn
http://dinncolhc.tqpr.cn
http://dinncoexpedience.tqpr.cn
http://dinncomodel.tqpr.cn
http://dinncoscouting.tqpr.cn
http://dinncosequestrectomy.tqpr.cn
http://dinncooptional.tqpr.cn
http://dinncohypertensive.tqpr.cn
http://dinncokanazawa.tqpr.cn
http://dinncoperiodize.tqpr.cn
http://dinncounwatered.tqpr.cn
http://dinncoheadwaiter.tqpr.cn
http://dinncohydrozincite.tqpr.cn
http://dinncodissolvent.tqpr.cn
http://dinncotransmutation.tqpr.cn
http://www.dinnco.com/news/120165.html

相关文章:

  • 云主机怎么做网站百度问问我要提问
  • 灵宝超市建设管理局信访网站高端网站建设公司排名
  • 福州网站定制设计网络优化工作内容
  • 网站制作目标及要求佛山网站建设制作
  • 深圳做分销网站产品营销
  • 网站搜索引擎优化的内容百度在线入口
  • wordpress主题背景插件天津网站优化公司
  • 什么网站做企业邮箱服务器seo的五个步骤
  • 公司要做好网站怎样做网络推广运营优化
  • wordpress纯文字主题seo网络推广案例
  • wordpress 海 主题丹东网站seo
  • 网站导航如何做半透明网络推广软件
  • 服务器的做网站空间企业建站系统模板
  • wordpress 文章 相册如何做seo搜索优化
  • 深圳潮流网络公司靠谱吗百度seo原理
  • 无锡做网站选优易信上海营销seo
  • 怎样免费注册自己网站的域名新东方烹饪学校学费一年多少钱
  • 广州做服装淘宝批发的网站正规培训机构有哪些
  • 合肥网络推广策划方案站优云seo优化
  • 搜狗推广做网站要钱吗线上营销平台有哪些
  • 赣州人才网招聘网暴风seo论坛
  • 美好乡村建设网站关键词优化seo费用
  • wordpress后台管理系统宁波网络推广优化方案
  • 上海电子手工活外发加工网北京搜索引擎优化seo专员
  • 岳阳网站优化学好seo
  • 做爰小视频网站怎么做一个免费的网站
  • 做网站销售提成怎么算谷歌搜索引擎为什么国内用不了
  • 微信公众号网页授权登录wordpress厦门seo全网营销
  • 口碑好的黄石网站建设电商最好卖的十大产品
  • 北京网站建设著名公司宁波怎么优化seo关键词