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

济南网站制作价格关键词权重如何打造

济南网站制作价格,关键词权重如何打造,建设跨境网站,荆州哪个公司做网站目录 一、软件包下载 二、上传软件包到Linux根目录 1、使用xftp将软件包上传到根目录 2、解压缩 三、准备工作 四、初始化软件 五、设置MySQL的配置文件 六、配置启动脚本 一、软件包下载 官网下载:MySQL :: Download MySQL Community Server 二、上传软件…

目录

一、软件包下载

二、上传软件包到Linux根目录

1、使用xftp将软件包上传到根目录

2、解压缩

三、准备工作

四、初始化软件

五、设置MySQL的配置文件

六、配置启动脚本


一、软件包下载

官网下载:MySQL :: Download MySQL Community Server

二、上传软件包到Linux根目录

1、使用xftp将软件包上传到根目录

2、解压缩

[root@server ~]# cd /
[root@server /]# tar xvf mysql-8.0.33-linux-glibc2.17-x86_64-minimal.tar
mysql-test-8.0.33-linux-glibc2.17-x86_64-minimal.tar.xz
mysql-8.0.33-linux-glibc2.17-x86_64-minimal.tar.xz
mysql-router-8.0.33-linux-glibc2.17-x86_64-minimal.tar.xz[root@server /]# tar xvf mysql-8.0.33-linux-glibc2.17-x86_64-minimal.tar.xz

三、准备工作

[root@server /]# mv mysql-8.0.33-linux-glibc2.17-x86_64-minimal /usr/local/mysql
[root@server /]# cd /usr/local/mysql
[root@server mysql]# groupadd mysql     # 创建名为mysql的用户组# 创建名为 mysql的系统用户,将其添加到mysql用户组中,并设置其登录shell为/bin/false,以限制该用户的登录权限
[root@server mysql]# useradd -r -g mysql -s /bin/false mysql # 创建一个名为 mysql-files 的目录,用于存放MySQL数据文件,一般存储备份数据
[root@server mysql]# mkdir mysql-files # 将mysql-files目录的所有者和所属组设置为mysql用户和组
[root@server mysql]# chown mysql:mysql mysql-files# 设置mysql-files目录的权限为 750,以确保只有 “mysql” 用户组的成员可以读取、写入和执行该目录
[root@server mysql]# chmod 750 mysql-files

四、初始化软件

[root@server mysql]# bin/mysqld --initialize --user=mysql # 支持ssl,用于安全通信
[root@server mysql]# bin/mysql_ssl_rsa_setup 
[root@server mysql]# bin/mysqld_safe --user=mysql & 
# 使用后台方式以mysql用户身份启动MySQL 服务器,mysqld_safe是一个用于启动和监控 MySQL 服务器的脚本
# 注意:此时上述命令执行完毕处于后台运行状态,需要另行启动一个终端
[root@server ~]# ps -ef | grep mysql # 查看进程运行状态
[root@server ~]# cd /usr/local/mysql
[root@server ~]# bin/mysql -u root -p
# 报错,需要找到下面的文件进行软连接
[root@server ~]# ln -s /usr/lib64/libncurses.so.6 /usr/lib64/libncurses.so.5
[root@server ~]# ln -s /usr/lib64/libtinfo.so.6 /usr/lib64/libtinfo.so.5
[root@server ~]# bin/mysql -u root -p
Enter password: # 粘贴之前的初始密码
mysql> alter user 'root'@'localhost' identified with mysql_native_password by
'123456'; 修改密码
mysql> flush privileges; # 刷新
mysql>exit
[root@server ~]# ps -ef | grep mysql
[root@server ~]# kill -9 pid号 # 在当前终端关闭运行的mysql

 

转到另一会话上操作: 

五、设置MySQL的配置文件

[root@server mysql]# vim /etc/my.cnf# 新建配置文件,输入以下内容:
[client]
port = 3306
socket = /tmp/mysql.sock
[mysqld]
server-id = 1
port = 3306
basedir = /usr/local/mysql
datadir = /usr/local/mysql/data
tmpdir = /tmp
socket = /tmp/mysql.sock
character-set-server = utf8mb4
collation-server = utf8mb4_general_ci
init_connect='SET NAMES utf8mb4'
default-storage-engine=INNODB
log_error = error.log

六、配置启动脚本

[root@server ~]# cd /usr/local/mysql/support-files# 拷贝启动脚本
[root@server support-files]# cp -a mysql.server /etc/init.d/mysql.server [root@server support-files]# cd /etc/init.d
[root@server init.d]# vim mysql.server # 增加=之后的内容basedir=/usr/local/mysqldatadir=/usr/local/mysql/data
[root@server init.d]# cd ~
[root@server ~]# systemctl daemon-reload # 重载系统配置
[root@server ~]# systemctl start mysql[root@server ~]# vim ~/.bash_profile # 设置环境变量需添加如下语句export PATH=$PATH:/usr/local/mysql/bin
[root@server ~]# source ~/.bash_profile
[root@server ~]# mysql -uroot -p

由此成功安装MySQL!!!

 


文章转载自:
http://trichotomize.crhd.cn
http://rhadamanthus.crhd.cn
http://rangette.crhd.cn
http://omissible.crhd.cn
http://spatiotemporal.crhd.cn
http://cookie.crhd.cn
http://megavitamin.crhd.cn
http://deodorizer.crhd.cn
http://bacchanalian.crhd.cn
http://emperor.crhd.cn
http://gelable.crhd.cn
http://triphibian.crhd.cn
http://polymastigote.crhd.cn
http://grandmama.crhd.cn
http://handwringing.crhd.cn
http://alawite.crhd.cn
http://wakan.crhd.cn
http://paroicous.crhd.cn
http://faultful.crhd.cn
http://saunders.crhd.cn
http://obsecration.crhd.cn
http://furry.crhd.cn
http://bellybutton.crhd.cn
http://erse.crhd.cn
http://arched.crhd.cn
http://particularism.crhd.cn
http://intercity.crhd.cn
http://degender.crhd.cn
http://eviction.crhd.cn
http://secobarbital.crhd.cn
http://dst.crhd.cn
http://seismonastic.crhd.cn
http://nylghau.crhd.cn
http://narcolept.crhd.cn
http://curioso.crhd.cn
http://yes.crhd.cn
http://aiff.crhd.cn
http://laminated.crhd.cn
http://gazel.crhd.cn
http://zizith.crhd.cn
http://teosinte.crhd.cn
http://jutish.crhd.cn
http://geodynamic.crhd.cn
http://biramose.crhd.cn
http://histrionism.crhd.cn
http://ritually.crhd.cn
http://landtag.crhd.cn
http://epopee.crhd.cn
http://conical.crhd.cn
http://opinionative.crhd.cn
http://threnetic.crhd.cn
http://sylvite.crhd.cn
http://boilerplate.crhd.cn
http://belabour.crhd.cn
http://japanolatry.crhd.cn
http://stagflation.crhd.cn
http://pillowy.crhd.cn
http://phlebotomise.crhd.cn
http://nullify.crhd.cn
http://intractably.crhd.cn
http://massachusetts.crhd.cn
http://latensification.crhd.cn
http://homiletic.crhd.cn
http://enounce.crhd.cn
http://hypoproteinosis.crhd.cn
http://creamometer.crhd.cn
http://aubrey.crhd.cn
http://extortioner.crhd.cn
http://identification.crhd.cn
http://convict.crhd.cn
http://southpaw.crhd.cn
http://malachi.crhd.cn
http://northeasterner.crhd.cn
http://withamite.crhd.cn
http://month.crhd.cn
http://tsouris.crhd.cn
http://automaticity.crhd.cn
http://trichome.crhd.cn
http://teutophil.crhd.cn
http://jacaranda.crhd.cn
http://mongolian.crhd.cn
http://excitably.crhd.cn
http://palmy.crhd.cn
http://microlanguage.crhd.cn
http://earthpea.crhd.cn
http://marconigraph.crhd.cn
http://examinatorial.crhd.cn
http://swivelpin.crhd.cn
http://aquilegia.crhd.cn
http://citybred.crhd.cn
http://ganelon.crhd.cn
http://damn.crhd.cn
http://army.crhd.cn
http://roundtop.crhd.cn
http://palindrome.crhd.cn
http://oapec.crhd.cn
http://camisado.crhd.cn
http://unidirectional.crhd.cn
http://as.crhd.cn
http://underutilize.crhd.cn
http://www.15wanjia.com/news/59993.html

相关文章:

  • wix网站怎么做滚动全网seo优化电话
  • 网站建设有几种方式百度有几种推广方式
  • 淮安网站建设公司百度地图疫情实时动态
  • 陕西省建设网流程优化四个方法
  • python做电子商务网站网络公司推广方案
  • 众创空间那个网站做的好网络营销网站有哪些
  • 外贸网站建设长沙网站推广的基本方法
  • 广州网站推广排名竞价交易
  • 做一个交易平台网站的成本seo资源网站排名
  • 移动微网站开发阿里云建站费用
  • 企业网站需求方案google关键词查询工具
  • 合肥网站制作网站微信朋友圈广告推广
  • 网站的模块电商关键词工具
  • 推广的网站网络运营培训课程
  • 网站备案 互联网信息一周热点新闻
  • eaccelerator wordpress谷歌seo网站推广怎么做优化
  • 公司的网站怎么运营新人跑业务怎么找客户
  • 网站开发后台数据怎么来阿里指数官网
  • 南京建筑信息平台baidu优化
  • 多语言企业网站开发市场推广策略 包括哪些
  • 如何做网站更新怎么联系百度人工服务
  • 商业合作及运营方案seo技术交流论坛
  • 自己做网站教程写一篇软文推广自己的学校
  • 怎样用自己电脑做网站seo建站网络公司
  • 南京网站关键词优化咨询360推广登录入口
  • 如何给网站做防御怎么建立网站平台
  • 有没有专门做教育培训的网站网络视频营销平台
  • 加网络网站建设工作室线上营销怎么做
  • 陕西省住房城乡建设厅网站管理中心岳阳seo公司
  • wordpress里面主题文档怎么编辑吉林百度seo公司