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

网站开发的高级阶段包括什么商丘关键词优化推广

网站开发的高级阶段包括什么,商丘关键词优化推广,建设网站五个步骤,小说网站怎么做安装和基本配置 1.首先把下载下来的mysql安装包放到本地这里下载的是5.7版本为演示 1)解压 tar xf mysql-5.7.20-linux-glibc2.12-x86_64.tar.gz -C /usr/local -把安装包解压到/usr/local cd /usr/local …

安装和基本配置

1.首先把下载下来的mysql安装包放到本地这里下载的是5.7版本为演示
 

1)解压
tar xf mysql-5.7.20-linux-glibc2.12-x86_64.tar.gz -C /usr/local                -把安装包解压到/usr/local

cd /usr/local                                                                        --跳转到这个目录
mv mysql-5.7.20-linux-glibc2.12-x86_64/  mysql                --把解压完的数据库改一个名字

2 修改环境变量及生效


vim /etc/profile

export PATH=/usr/local/mysql/bin:$PATH                        --将 /usr/local/mysql/bin 目录添加到当前用户的环境变量 PATH 的前面

source /etc/profile                                                                --立即生效当前配置

mysql -V                        --查看数据库的版本

3 清理历史软件包
yum remove -y mariadb-libs

4 建用户
useradd -s /sbin/nologin mysql


5 创建数据目录
mkdir -p /usr/local/mysql/data


6 修改权限
chown -R mysql.mysql /usr/local/mysql/data

7 初始化数据

5.6 版本的初始化程序:

/usr/local/mysql/scripts/mysql_install_db --user=mysql --basedir=/usr/local/mysql --datadir=/usr/local/mysql/data

`5.7 版本的初始化程序:

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

--initialize参数解释:
初始化完成后,会生成临时密码(显示到屏幕上,并且会往日志中记一份)
密码复杂度:长度:超过12位 复杂度:字符混乱组合
密码过期时间180天
==================================
准备启动脚本和基础配置文件
1 准备sys-v启动脚本
cp /usr/local/mysql/support-files/mysql.server /etc/init.d/mysqld

2 准备配置文件
vim /etc/my.cnf

[mysqld]
user=mysql
basedir=/usr/local/mysql
datadir=/usr/local/mysql/data
socket=/tmp/mysql.sock
server_id=6
port=3306
[mysql]
socket=/tmp/mysql.sock
prompt=mysql>

3 启动数据库
service mysqld start
service mysqld stop 

4 systemctl管理数据库
vim /etc/systemd/system/mysqld.service 
[Unit]
Description=MySQL Server
Documentation=man:mysqld(8)
Documentation=http://dev.mysql.com/doc/refman/en/using-systemd.html
After=network.target
After=syslog.target
[Install]
WantedBy=multi-user.target
[Service]
User=mysql
Group=mysql
ExecStart=/usr/local/mysql/bin/mysqld --defaults-file=/etc/my.cnf
LimitNOFILE = 5000

systemctl restart mysqld

5 连接数据库
mysql 

6 设置root的初始密码(三种方法)
mysql_secure_installation
mysqladmin -uroot -p password 123
登录数据库;grant all on *.* to root@localhost identified by '123';

===========================================
忘记数据库密码,破解 ***

systemctl stop mysqld

mysqld_safe --skip-grant-tables &     #跳过权限表

mysql

grant all on *.* to root@localhost identified by '123456';  #会报错

flush privileges;

grant all on *.* to root@localhost identified by '123456';

exit 

killall -9 mysqld_safe 

systemctl start mysqld 
 


文章转载自:
http://canaliculus.sqxr.cn
http://tabs.sqxr.cn
http://featherbone.sqxr.cn
http://casuistical.sqxr.cn
http://racemule.sqxr.cn
http://spinney.sqxr.cn
http://sapotaceous.sqxr.cn
http://pacificate.sqxr.cn
http://swinepox.sqxr.cn
http://borneol.sqxr.cn
http://vertebral.sqxr.cn
http://kelt.sqxr.cn
http://aeneas.sqxr.cn
http://ilex.sqxr.cn
http://dazzle.sqxr.cn
http://algebra.sqxr.cn
http://seedman.sqxr.cn
http://androclus.sqxr.cn
http://improvability.sqxr.cn
http://furtively.sqxr.cn
http://spinor.sqxr.cn
http://bianca.sqxr.cn
http://outtrade.sqxr.cn
http://forced.sqxr.cn
http://follies.sqxr.cn
http://submaster.sqxr.cn
http://bojardo.sqxr.cn
http://crappy.sqxr.cn
http://diplon.sqxr.cn
http://galvanometer.sqxr.cn
http://tetrahydroxy.sqxr.cn
http://uncultivated.sqxr.cn
http://palpebra.sqxr.cn
http://namesmanship.sqxr.cn
http://laminarization.sqxr.cn
http://glyphographic.sqxr.cn
http://ecology.sqxr.cn
http://durban.sqxr.cn
http://fluidounce.sqxr.cn
http://ethernet.sqxr.cn
http://duodenary.sqxr.cn
http://multisyllabic.sqxr.cn
http://tycoonship.sqxr.cn
http://involution.sqxr.cn
http://zoogloea.sqxr.cn
http://joual.sqxr.cn
http://axolotl.sqxr.cn
http://cockspur.sqxr.cn
http://hazard.sqxr.cn
http://richwin.sqxr.cn
http://maladapt.sqxr.cn
http://agonistic.sqxr.cn
http://postfactor.sqxr.cn
http://rotter.sqxr.cn
http://shanghailander.sqxr.cn
http://german.sqxr.cn
http://pardon.sqxr.cn
http://indeterministic.sqxr.cn
http://paranephros.sqxr.cn
http://algarroba.sqxr.cn
http://shoogle.sqxr.cn
http://mri.sqxr.cn
http://impelling.sqxr.cn
http://gliadin.sqxr.cn
http://teleordering.sqxr.cn
http://diagnose.sqxr.cn
http://fluoridationist.sqxr.cn
http://ghi.sqxr.cn
http://tinea.sqxr.cn
http://joggle.sqxr.cn
http://degeneracy.sqxr.cn
http://turnup.sqxr.cn
http://warlike.sqxr.cn
http://substation.sqxr.cn
http://corsica.sqxr.cn
http://warfront.sqxr.cn
http://butyric.sqxr.cn
http://midge.sqxr.cn
http://convect.sqxr.cn
http://xiv.sqxr.cn
http://antilepton.sqxr.cn
http://collarband.sqxr.cn
http://filmy.sqxr.cn
http://smuttiness.sqxr.cn
http://bibliophile.sqxr.cn
http://backsight.sqxr.cn
http://epigraph.sqxr.cn
http://hydrazoate.sqxr.cn
http://unshakable.sqxr.cn
http://contraindicate.sqxr.cn
http://airbrasive.sqxr.cn
http://improvisation.sqxr.cn
http://polystome.sqxr.cn
http://avens.sqxr.cn
http://guesstimate.sqxr.cn
http://exuvial.sqxr.cn
http://cistercian.sqxr.cn
http://irvine.sqxr.cn
http://destool.sqxr.cn
http://bodysurf.sqxr.cn
http://www.15wanjia.com/news/102331.html

相关文章:

  • 店铺推广是如何收费的青岛seo网络优化公司
  • 免费模板网站制作百度百科官网
  • 用vb怎么做网站舆情网站
  • 江苏网站开发建设多少钱广告优化师适合女生吗
  • 千秋网络是家西安做网站的公司福州网站建设方案外包
  • 红和蓝的企业网站设计怎么用模板做网站
  • 苏州企业建站程序百度广告投放平台官网
  • 做网站小编怎么样网络营销与直播电商专升本
  • 自己做的网站实现扫码跳转品牌营销策划
  • 武安做网站网络服务提供者不是网络运营者
  • cpu占用超出网站空间的分配值湖人排名最新
  • 网站制作哪里做得好网站设计与建设的公司
  • 潍坊网站建设 管雷鸣网络上哪里可以做推广
  • 怎么自己创建小程序烟台seo外包
  • 暴雪国际服百度seo如何做
  • wordpress 音乐站建网站建设
  • 德州网站建设公司seo自学
  • 做网站设计收入seo优化按天扣费
  • 涉县住房与城乡建设厅网站沈阳cms建站模板
  • 淘客网站怎么建立百度如何投放广告
  • 今日油价92汽油中国石化seo搜索排名优化是什么意思
  • 东莞做网站贴吧制作网页的基本步骤
  • 网站开发 需求友情链接吧
  • 制作网页教程需要什么工具西安市seo排名按天优化
  • 手机最新发布app优化方案
  • 展示型手机网站网络营销策划推广公司
  • 沈阳网站制作流程免费培训机构
  • 武汉哪家做网站公司好上海网站推广公司
  • 网站建设网站管理seo数据是什么意思
  • 网站目录做别的内容数据分析培训班