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

怎样自学做网站全网营销有哪些平台

怎样自学做网站,全网营销有哪些平台,双语公司网站系统下载,千峰培训多少钱工作好多年了,也从事过不同行业的软件研发,做了不少项目,却没有怎么记录自己在工作中碰到的问题。1、查看下操作系统信息lsb_release -a这两个命令都可以查看操作信息信息cat /etc/issueLSB Version: :base-4.0-amd64:base-4.0-noarch:cor…

工作好多年了,也从事过不同行业的软件研发,做了不少项目,却没有怎么记录自己在工作中碰到的问题。

1、查看下操作系统信息

lsb_release -a

这两个命令都可以查看操作信息信息

cat /etc/issue

LSB Version:    :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch

Distributor ID:    CentOS

Description:    CentOS release 6.5 (Final)

Release:    6.5

Codename:    Final

2、用yum命令安装MySql

yum -y install mysql-server

大家可以在用yum命令安装的时候回碰到类似的报错信息,

Error Downloading Packages:

mysql-server-5.1.73-7.el6.x86_64: failure: Packages/mysql-server-5.1.73-7.el6.x86_64.rpm from base: [Errno 256] No moremirrors to try.

mysql-5.1.73-7.el6.x86_64: failure: Packages/mysql-5.1.73-7.el6.x86_64.rpm from base: [Errno 256] No moremirrors to try.

mysql-libs-5.1.73-7.el6.x86_64: failure: Packages/mysql-libs-5.1.73-7.el6.x86_64.rpm from base: [Errno 256] No moremirrors to try.perl-DBD-MySQL-4.013-3.el6.x86_64: failure: Packages/perl-DBD-MySQL-4.013-3.el6.x86_64.rpm from base: [Errno 256] No moremirrors to try.perl-DBI-1.609-4.el6.x86_64: failure: Packages/perl-DBI-1.609-4.el6.x86_64.rpm from base: [Errno 256] No more mirrors to try.

这个需要更新yum命令,执行命令即可

1 yumclean all2

3 yum makecache

3、设置开机启动MySql

chkconfig mysqld on

4、通过命令可以查看刚安装的mysql版本信息

rpm -qi mysql-server

[root@iZ9489q4bybZ opt]# rpm -qi mysql-server

Name        : mysql-server                 Relocations: (not relocatable)

Version     : 5.1.73                            Vendor: CentOS

Release     : 7.el6                         Build Date: Wed 11 May 2016 02:31:38 PM CST

Install Date: Tue 07 Jun 2016 03:33:38 PM CST      Build Host: worker1.bsys.centos.org

Group       : Applications/Databases        Source RPM: mysql-5.1.73-7.el6.src.rpm

Size        : 25883075                         License: GPLv2 with exceptions

Signature   : RSA/SHA1, Thu 12 May 2016 06:49:52 PM CST, Key ID 0946fca2c105b9de

Packager    : CentOS BuildSystem

URL         : http://www.mysql.com

Summary     : The MySQL server and related files

Description :

MySQL is a multi-user, multi-threaded SQL database server. MySQL is a

client/server implementation consisting of a server daemon (mysqld)

and many different client programs and libraries. This package contains

the MySQL server and some accompanying files and directories.

5、首次执行命令,会显示初始化的一些信息

1 service mysqld start

[root@iZ9489q4bybZ opt]# service mysqld start

Initializing MySQL database:  Installing MySQL system tables...

OK

Filling help tables...

OK

To start mysqld at boot time you have to copy

support-files/mysql.server to the right place for your system

PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !

To do so, start the server, then issue the following commands:

/usr/bin/mysqladmin -u root password 'new-password'

/usr/bin/mysqladmin -u root -h iZ9489q4bybZ password 'new-password'

Alternatively you can run:

/usr/bin/mysql_secure_installation

which will also give you the option of removing the test

databases and anonymous user created by default.  This is

strongly recommended for production servers.

See the manual for more instructions.

You can start the MySQL daemon with:

cd /usr ; /usr/bin/mysqld_safe &

You can test the MySQL daemon with mysql-test-run.pl

cd /usr/mysql-test ; perl mysql-test-run.pl

Please report any problems with the /usr/bin/mysqlbug script!

[  OK  ]

Starting mysqld:                                           [  OK  ]

6、对应的重启命令

service mysqld restart

7、检查Mysql的服务开启项

chkconfig --list | grep mysqld

[root@iZ9489q4bybZ opt]# chkconfig --list | grep mysqld

mysqld             0:off    1:off    2:on    3:on    4:on    5:on    6:off

8、给客户端赋权限

1 给用户root赋权限(password为root的password)

grant all privileges on *.* to 'root'@'%' identified by 'password'with grant option;2

刷新权限

3 flush privileges;

http://www.lbrq.cn/news/2658313.html

相关文章:

  • 没有官方网站怎么做seo优化南京网络推广公司排名
  • 潍坊 区网站建设正在直播足球比赛
  • 怎么做中英文的网站欧洲网站服务器
  • 合肥关键词排名优化百度seo关键词排名优化软件
  • 响水网站建设找哪家好项链seo关键词
  • 做网站一定要虚拟主机吗宁波网络营销公司
  • 做公司网站有什么猫腻广告推广网站
  • 孝南区建设局网站营销推广策略
  • 网上那么多色图网站怎么做的seo的概念
  • 电子商务网站建设学什么网站手机版排名seo
  • 在线做网站 自动生成手机版百度seo技术
  • 什么网店可以免费开店长沙网站推广排名优化
  • 网站如何添加统计代码是什么手机网站快速建站
  • wordpress群聊插件佛山百度提升优化
  • 网页打不开建设银行网站最火网站排名
  • wordpress汽车模板seo外包公司多少钱
  • 网上服务大厅12333北京seo百度推广
  • 找哪个网站做摩配百度人工服务热线24小时
  • 建筑设计资料网站免费推广公司
  • 东莞常平做网站腾讯与中国联通
  • 江油网站制作百度云搜索引擎入口官方
  • 陕西渭南住房和城乡建设厅网站网站浏览器
  • 网站建设分金手指专业十六seo会被取代吗
  • 南阳做网站多少费用专业郑州企业网站建设
  • 泊头网站制作深圳网络公司推广
  • 上海公安局 网站备案贵阳网站优化公司
  • 温州哪里有做网站学电商哪个培训学校好
  • 个人网站建设 优帮云英文seo实战派
  • 中山建设信息网站seo优化网站查询
  • 制作小诗集seo排名首页
  • SpringBoot实现文件上传
  • 【代码随想录day 16】 力扣 513.找树左下角的值
  • 【Python练习】086. 编写一个函数,实现简单的DHCP服务器功能
  • 人工智能技术发展历史演变
  • 06-docker容器常用命令
  • 束搜索(Beam Search):原理、演进与挑战