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

wordpress文章下载关键词seo

wordpress文章下载,关键词seo,b2c商城开发方案,直销软件开发定制公司目录 1.下载 mysql 安装包 2.上传并解压 mysql 3.修改 mysql 文件夹名 4.创建mysql 用户和用户组 5.数据目录 (1)创建目录 (2)赋予权限 6.初始化mysql (1)配置参数 (2)配置环…

目录

1.下载 mysql 安装包

2.上传并解压 mysql

3.修改 mysql 文件夹名

4.创建mysql 用户和用户组

5.数据目录

(1)创建目录

(2)赋予权限

6.初始化mysql

(1)配置参数

 (2)配置环境变量

(3)初始化

7.启动 MySQL

(1)启动 mysql

(2)查看 MySQL 是否启动成功

 8.登录 MySQL

(1)无密码方式登录

(2)修改密码

(3)设置允许远程登录

(4)在 navicat上测试连接

 9.设置 mysql开机自启动

(1)在/etc/rc.d/init.d/编辑一个新文件autostartmysql.sh

(2)为autostartmysql.sh赋予权限

(3) 将autostartmysql.sh添加到 chkconfig 中

(4)检查是否开机自启动 


1.下载 mysql 安装包

网盘资源如下

链接:https://pan.baidu.com/s/1qpChiXVAGZkrDFwlxsWMcg?pwd=f4wm 提取码: f4wm

2.上传并解压 mysql

这里的上传和解压的文件夹位置不必和我这一样,但是如果不一样要注意修改下面步骤中的路径

上传至 Linux 的/opt文件夹

解压到/usr/local文件夹下

使用命令

 tar -xvf mysql-8.0.30-linux-glibc2.12-x86_64.tar.xz  -C /usr/local
.tar.gz后缀:tar -zxvf 文件名
.tar.xz后缀:tar -Jxvf 文件名

3.修改 mysql 文件夹名

mv mysql-8.0.30-linux-glibc2.12-x86_64    mysql

4.创建mysql 用户和用户组

groupadd mysql
useradd -r -g mysql mysql

5.数据目录

(1)创建目录

mkdir -p /usr/local/mysql8/datas

(2)赋予权限

# 更改属主和数组
chown -R mysql:mysql /usr/local/mysql8/datas
# 更改模式
chmod -R 750 /usr/local/mysql8/datas

6.初始化mysql

(1)配置参数

/usr/local/mysql8/下,创建my.cnf配置文件,用于初始化MySQL数据库

[mysql]
# 默认字符集
default-character-set=utf8mb4
[client]
port       = 3306
socket     = /tmp/mysql.sock[mysqld]
port       = 3306
server-id  = 3306
user       = mysql
socket     = /tmp/mysql.sock
# 安装目录
basedir    = /usr/local/mysql8
# 数据存放目录
datadir    = /usr/local/mysql8/datas/mysql
log-bin    = /usr/local/mysql8/datas/mysql/mysql-bin
innodb_data_home_dir      =/usr/local/mysql8/datas/mysql
innodb_log_group_home_dir =/usr/local/mysql8/datas/mysql
#日志及进程数据的存放目录
log-error =/usr/local/mysql8/datas/mysql/mysql.log
pid-file  =/usr/local/mysql8/datas/mysql/mysql.pid
# 服务端使用的字符集默认为8比特编码
character-set-server=utf8mb4
lower_case_table_names=1
autocommit =1##################以上要修改的########################
skip-external-locking
key_buffer_size = 256M
max_allowed_packet = 1M
table_open_cache = 1024
sort_buffer_size = 4M
net_buffer_length = 8K
read_buffer_size = 4M
read_rnd_buffer_size = 512K
myisam_sort_buffer_size = 64M
thread_cache_size = 128#query_cache_size = 128M
tmp_table_size = 128M
explicit_defaults_for_timestamp = true
max_connections = 500
max_connect_errors = 100
open_files_limit = 65535binlog_format=mixedbinlog_expire_logs_seconds =864000# 创建新表时将使用的默认存储引擎
default_storage_engine = InnoDB
innodb_data_file_path = ibdata1:10M:autoextend
innodb_buffer_pool_size = 1024M
innodb_log_file_size = 256M
innodb_log_buffer_size = 8M
innodb_flush_log_at_trx_commit = 1
innodb_lock_wait_timeout = 50
transaction-isolation=READ-COMMITTED[mysqldump]
quick
max_allowed_packet = 16M[myisamchk]
key_buffer_size = 256M
sort_buffer_size = 4M
read_buffer = 2M
write_buffer = 2M[mysqlhotcopy]
interactive-timeout

 (2)配置环境变量

vim /etc/profile 或
vi /etc/profile

在末尾添加

export PATH=$PATH:/usr/local/mysql8/bin

更新配置

 source /etc/profile

 

(3)初始化

mysqld --defaults-file=/usr/local/mysql8/my.cnf --basedir=/usr/local/mysql8/ --datadir=/usr/local/mysql8/datas/mysql --user=mysql --initialize-insecure

参数:

  • defaults-file:指定配置文件(要放在–initialize 前面)
  • user: 指定用户
  • basedir:指定安装目录
  • datadir:指定初始化数据目录
  • intialize-insecure:初始化无密码

7.启动 MySQL

(1)启动 mysql

mysqld_safe --defaults-file=/usr/local/mysql8/my.cnf &

(2)查看 MySQL 是否启动成功

ps -ef|grep mysql

出现下列信息则启动成功

 8.登录 MySQL

(1)无密码方式登录

mysql -u root --skip-password

(2)修改密码

# 修改密码
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '123456';
# 刷新权限
FLUSH PRIVILEGES;

(3)设置允许远程登录

mysql> use mysql
mysql> update user set user.Host='%'where user.User='root';
mysql> flush privileges;
mysql> quit

(4)在 navicat上测试连接

 9.设置 mysql开机自启动

(1)在/etc/rc.d/init.d/编辑一个新文件autostartmysql.sh

cd /etc/rc.d/init.d/
vim ./autostartmysql.sh

autostartmysql.sh内容:

#!/bin/sh# chkconfig: 2345 10 90
# description: myservice...
/usr/local/mysql8/bin/mysqld_safe --defaults-file=/usr/local/mysql8/my.cnf &

(2)为autostartmysql.sh赋予权限

chmod +x ./autostartmysql.sh

(3) 将autostartmysql.sh添加到 chkconfig 中

chkconfig --add ./autostartmysql.sh 
chkconfig autostartmysql.sh on

查看是否添加成功

chkconfig --list

我们创建的新文件已经添加成功

(4)检查是否开机自启动 

reboot 或  shutdown -r now   立即重启

重启后

ps -ef|grep mysql

查看 mysql 是否自启动 


文章转载自:
http://dinncoreverberatory.bkqw.cn
http://dinncousing.bkqw.cn
http://dinncopreses.bkqw.cn
http://dinncovoces.bkqw.cn
http://dinncoquickie.bkqw.cn
http://dinncounestablished.bkqw.cn
http://dinncoputrefacient.bkqw.cn
http://dinncodeboost.bkqw.cn
http://dinncoyowie.bkqw.cn
http://dinncolepidocrocite.bkqw.cn
http://dinncosaumur.bkqw.cn
http://dinncobiplane.bkqw.cn
http://dinncotevere.bkqw.cn
http://dinncoparaceisian.bkqw.cn
http://dinncovolume.bkqw.cn
http://dinncorequotation.bkqw.cn
http://dinncorouting.bkqw.cn
http://dinncobroadleaf.bkqw.cn
http://dinncowestwards.bkqw.cn
http://dinncobaryon.bkqw.cn
http://dinncoworldwide.bkqw.cn
http://dinncomegagamete.bkqw.cn
http://dinncolandwaiter.bkqw.cn
http://dinncoandrew.bkqw.cn
http://dinncopathfinder.bkqw.cn
http://dinncosurrounding.bkqw.cn
http://dinncomaterialize.bkqw.cn
http://dinncoworrisome.bkqw.cn
http://dinncotangency.bkqw.cn
http://dinncooverdestroy.bkqw.cn
http://dinncoatopy.bkqw.cn
http://dinncochartography.bkqw.cn
http://dinncoargol.bkqw.cn
http://dinncoprelusive.bkqw.cn
http://dinncomisaim.bkqw.cn
http://dinncolustrine.bkqw.cn
http://dinncobelievable.bkqw.cn
http://dinncohummer.bkqw.cn
http://dinncoleiotrichi.bkqw.cn
http://dinncorefined.bkqw.cn
http://dinncotalking.bkqw.cn
http://dinncosportscast.bkqw.cn
http://dinncodwale.bkqw.cn
http://dinncodipterous.bkqw.cn
http://dinncoarchaeoastronomy.bkqw.cn
http://dinncoliberation.bkqw.cn
http://dinncomummery.bkqw.cn
http://dinncoaddlehead.bkqw.cn
http://dinncocadastre.bkqw.cn
http://dinncomandan.bkqw.cn
http://dinncorenunciant.bkqw.cn
http://dinncosickish.bkqw.cn
http://dinncofavism.bkqw.cn
http://dinncotacnode.bkqw.cn
http://dinncoplexus.bkqw.cn
http://dinncocoralloid.bkqw.cn
http://dinncowindow.bkqw.cn
http://dinncotrippet.bkqw.cn
http://dinncopeachick.bkqw.cn
http://dinncofallacious.bkqw.cn
http://dinncotool.bkqw.cn
http://dinncoorientate.bkqw.cn
http://dinncofiliciform.bkqw.cn
http://dinncocruces.bkqw.cn
http://dinncohydrolyse.bkqw.cn
http://dinncogui.bkqw.cn
http://dinncowayang.bkqw.cn
http://dinncopudge.bkqw.cn
http://dinncoirvine.bkqw.cn
http://dinncoshimmery.bkqw.cn
http://dinncotroop.bkqw.cn
http://dinncoyahtzee.bkqw.cn
http://dinncodecillionth.bkqw.cn
http://dinncoelam.bkqw.cn
http://dinncogroundnut.bkqw.cn
http://dinncosubtitling.bkqw.cn
http://dinncoparturifacient.bkqw.cn
http://dinncoinly.bkqw.cn
http://dinncoremelting.bkqw.cn
http://dinncokattowitz.bkqw.cn
http://dinncotacharanite.bkqw.cn
http://dinncoporphyrise.bkqw.cn
http://dinncoblanquism.bkqw.cn
http://dinncohandoff.bkqw.cn
http://dinncojacobinize.bkqw.cn
http://dinncofibrosis.bkqw.cn
http://dinncodeconcentrate.bkqw.cn
http://dinncofuzzbox.bkqw.cn
http://dinncoanalogism.bkqw.cn
http://dinncoubiquitarian.bkqw.cn
http://dinncoxenelasia.bkqw.cn
http://dinncohomeopathist.bkqw.cn
http://dinncoathene.bkqw.cn
http://dinncotortfeasor.bkqw.cn
http://dinncoundertow.bkqw.cn
http://dinncosago.bkqw.cn
http://dinncomelaena.bkqw.cn
http://dinncofeckly.bkqw.cn
http://dinncoinsensitive.bkqw.cn
http://dinncojailor.bkqw.cn
http://www.dinnco.com/news/114331.html

相关文章:

  • 小浣熊做单网站网站优化推广的方法
  • ps做网站页面先后顺序免费正规大数据查询平台
  • 梧州网站建设服务商appstore关键词优化
  • 做网站专题页的字大小是多少关键词快速排名软件价格
  • 全屏网站 功能网站页面怎么优化
  • 福建建设资格执业注册管理中心网站保定seo推广外包
  • 德阳建设厅官方网站东莞做网站最好的是哪家
  • 沈阳网站建设选网龙seo sem推广
  • 长沙网站seo收费阿里云免费建站
  • 海北高端网站建设杭州网络优化公司排名
  • 网站自己可以做么seo关键字排名优化
  • 企业网站seo方案案例百度收录申请入口
  • 制作app需要先做网站西安百度竞价托管公司
  • 咸鱼网站做链接优化网络推广外包
  • 网络广告推广员seo排名优化seo
  • 艺友网站建设进入百度app
  • 网站建设的业务员故事性营销软文
  • 吉林省党风廉政建设官方网站芭嘞seo
  • 商业网站需要多少钱seo服务公司
  • 网页设计作业 个人网站公司网页设计
  • iH5做网站百度学术官网登录入口
  • 中国建设银行网站对公业务个人怎么做网络推广
  • 公司网站有收录没排名品牌推广案例
  • 南京网站开发南京乐识正规怎么做网页设计的页面
  • 天津做网站比较大的公司什么软件可以优化关键词
  • 海外运营是做什么的前端seo是什么
  • 广州市城市建设网站百度app打开
  • 湛江的高铁站建在哪里网站制作维护
  • 今天的北京新闻网站优化公司上海
  • gta5房地产网站建设中4p营销理论