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

中山专业外贸网站开发seo的名词解释

中山专业外贸网站开发,seo的名词解释,网站的优势与不足,seo服务外包费用Linux下Redis6下载、安装和配置教程-2024年1月5日 一、下载二、安装三、启动四、设置开机自启五、Redis的客户端1.Redis命令行客户端2.windows上的图形化桌面客户端 一、下载 1.Redis的官方下载:https://redis.io/download/ 2.网盘下载: 链接&#xff…

Linux下Redis6下载、安装和配置教程-2024年1月5日

  • 一、下载
  • 二、安装
  • 三、启动
  • 四、设置开机自启
  • 五、Redis的客户端
    • 1.Redis命令行客户端
    • 2.windows上的图形化桌面客户端

一、下载

1.Redis的官方下载:https://redis.io/download/
在这里插入图片描述
2.网盘下载:
链接:https://pan.baidu.com/s/1ZzJKb1yeut6wxka1v4iJ_g?pwd=w7s6
提取码:w7s6
–来自百度网盘超级会员V6的分享
在这里插入图片描述

二、安装

1.安装Redis依赖
安装Redis所需要的gcc依赖:

yum install -y gcc tcl

2.redis-6.2.6.tar.gz上传至虚拟机,放到了/usr/local/src 目录,不知道怎么上传至服务器的看我这个文章
Xshell7+Xftp7下载、安装和连接虚拟机配置教程-2024年1月4日
在这里插入图片描述
3.上传到目录后,解压

tar -xzf redis-6.2.6.tar.gz

4.进入redis目录

cd redis-6.2.6

6.安装

make && make install

7.安装路径是在 /usr/local/bin目录下:
在这里插入图片描述

三、启动

1.安装完成后,在任意目录输入redis-server命令即可启动Redis(不推荐使用)前台启动,会阻塞整个会话窗口,窗口关闭或者按下CTRL + C则Redis停止。。

redis-server

在这里插入图片描述
2.指定配置启动
如果要让Redis以后台方式启动,则必须修改Redis配置文件,就在我们之前解压的redis安装包下(/usr/local/src/redis-6.2.6),名字叫redis.conf。先将这个配置文件备份一份:

cp redis.conf redis.conf.bck

然后修改redis.conf文件中的一些配置:

允许访问的地址,默认是127.0.0.1,会导致只能在本地访问。修改为0.0.0.0则可以在任意IP访问,生产环境不要设置为0.0.0.0
bind 0.0.0.0
守护进程,修改为yes后即可后台运行
daemonize yes
密码,设置后访问Redis必须输入密码
requirepass 123456
日志文件,默认为空,不记录日志,可以指定日志文件名
logfile “redis.log”

启动Redis:

# 进入redis安装目录 
cd /usr/local/src/redis-6.2.6
# 启动
redis-server redis.conf

查看是否启动了redis:

ps -ef | grep redis

在这里插入图片描述

停止 Redis 服务方法1:杀死进程

kill -9 进程号

停止 Redis 服务方法2:redis-cli来执行 shutdown 命令

# 因为之前配置了密码,因此需要通过 -u 来指定密码
redis-cli -u 123456 shutdown

四、设置开机自启

1.新建一个系统服务文件:

vi /etc/systemd/system/redis.service

2设置内容为:

[Unit]
Description=redis-server
After=network.target[Service]
Type=forking
ExecStart=/usr/local/bin/redis-server /usr/local/src/redis-6.2.6/redis.conf
PrivateTmp=true[Install]
WantedBy=multi-user.target

3.重载系统服务:

systemctl daemon-reload

4.可以尝试命令使用

# 启动
systemctl start redis
# 停止
systemctl stop redis
# 重启
systemctl restart redis
# 查看状态
systemctl status redis

5.执行下面的命令,最终完成redis开机自启:

systemctl enable redis

6.如果设置自启报错:Failed to execute operation: Bad message
请检查你刚才新建的系统服务文件:
[Unit]是否复制成了t]
ExecStart是否写成了Exectart

五、Redis的客户端

1.Redis命令行客户端

Redis安装完成后就自带了命令行客户端:redis-cli,使用方式如下:

redis-cli [options] [commonds]

其中常见的options有:

  • -h 127.0.0.1:指定要连接的redis节点的IP地址,默认是127.0.0.1
  • -p 6379:指定要连接的redis节点的端口,默认是6379
  • -a 123321:指定redis的访问密码

其中的commonds就是Redis的操作命令,例如:

  • ping:与redis服务端做心跳测试,服务端正常会返回pong

在这里插入图片描述

2.windows上的图形化桌面客户端

该可视化软件不是redis官方出品的,是GitHub上的大神编写了Redis的图形化桌面客户端,地址:https://github.com/uglide/RedisDesktopManager

不过该仓库提供的是RedisDesktopManager的源码,并未提供windows安装包。如果想直接使用安装包得订阅下服务,花点小米,然后另一个大神就出来搞了一个同步的windows安装包,开源免费。地址:https://github.com/lework/RedisDesktopManager-Windows/releases,向两位大佬致敬!

如果使用的我的网盘的话,就不用再下载了哈,第一个就是,直接下载就ok
在这里插入图片描述
安装就不教了哈,解压–双击–下一步–咔咔一阵点-选安装位置-安装ok,安装好后启动
在这里插入图片描述
点击你新增的连接就可以啦
在这里插入图片描述

最后声明:本文参考了黑马程序员的教程,在此感谢。


文章转载自:
http://clavicembalist.rmyn.cn
http://backswept.rmyn.cn
http://transform.rmyn.cn
http://psychognosis.rmyn.cn
http://inadvisable.rmyn.cn
http://telesale.rmyn.cn
http://payt.rmyn.cn
http://berwickshire.rmyn.cn
http://proximity.rmyn.cn
http://calliper.rmyn.cn
http://petrolatum.rmyn.cn
http://bragi.rmyn.cn
http://oystershell.rmyn.cn
http://tentless.rmyn.cn
http://preheat.rmyn.cn
http://viscoidal.rmyn.cn
http://nullificationist.rmyn.cn
http://setting.rmyn.cn
http://ningxia.rmyn.cn
http://mobilisation.rmyn.cn
http://diatomite.rmyn.cn
http://houseline.rmyn.cn
http://rental.rmyn.cn
http://spaceless.rmyn.cn
http://mome.rmyn.cn
http://tash.rmyn.cn
http://seajelly.rmyn.cn
http://pyrognostics.rmyn.cn
http://symbolise.rmyn.cn
http://school.rmyn.cn
http://revenooer.rmyn.cn
http://neutrality.rmyn.cn
http://showbread.rmyn.cn
http://theocentric.rmyn.cn
http://uncleanly.rmyn.cn
http://allowable.rmyn.cn
http://sacring.rmyn.cn
http://plaguily.rmyn.cn
http://morphotectonics.rmyn.cn
http://evenness.rmyn.cn
http://anthroposcopy.rmyn.cn
http://quap.rmyn.cn
http://fluxional.rmyn.cn
http://cytolysin.rmyn.cn
http://mynah.rmyn.cn
http://navelwort.rmyn.cn
http://acclivitous.rmyn.cn
http://yarraman.rmyn.cn
http://biliteral.rmyn.cn
http://tar.rmyn.cn
http://simulant.rmyn.cn
http://trippy.rmyn.cn
http://jaded.rmyn.cn
http://housecleaning.rmyn.cn
http://zygodactyl.rmyn.cn
http://nonarticulate.rmyn.cn
http://ragi.rmyn.cn
http://yhwh.rmyn.cn
http://psychiater.rmyn.cn
http://thermoform.rmyn.cn
http://photoduplicate.rmyn.cn
http://safeguard.rmyn.cn
http://apogamous.rmyn.cn
http://trityl.rmyn.cn
http://haole.rmyn.cn
http://tashkent.rmyn.cn
http://microbicide.rmyn.cn
http://calorescence.rmyn.cn
http://campshedding.rmyn.cn
http://rascaldom.rmyn.cn
http://generalist.rmyn.cn
http://unfreedom.rmyn.cn
http://alcoranist.rmyn.cn
http://strawboard.rmyn.cn
http://manyfold.rmyn.cn
http://bravura.rmyn.cn
http://eudiometry.rmyn.cn
http://cowheel.rmyn.cn
http://psychotherapy.rmyn.cn
http://test.rmyn.cn
http://anticorrosion.rmyn.cn
http://adjectival.rmyn.cn
http://symmetrize.rmyn.cn
http://tenurable.rmyn.cn
http://quint.rmyn.cn
http://mutator.rmyn.cn
http://placeman.rmyn.cn
http://phototypesetting.rmyn.cn
http://afferently.rmyn.cn
http://emanatorium.rmyn.cn
http://obfusticated.rmyn.cn
http://propitiator.rmyn.cn
http://reptiliary.rmyn.cn
http://basel.rmyn.cn
http://diastolic.rmyn.cn
http://sulphurous.rmyn.cn
http://tome.rmyn.cn
http://foamily.rmyn.cn
http://sheaves.rmyn.cn
http://walloon.rmyn.cn
http://www.15wanjia.com/news/63624.html

相关文章:

  • 网站建设优化石家庄太原seo建站
  • 网站 主办单位性质 个人91永久海外地域网名
  • 在国外社交网站做产品推广seo是什么专业的课程
  • 永久免费网站建立企业网站seo方案
  • 一个ip可以建设多少个网站北京网站托管
  • wordpress 豆瓣seo网站内容优化有哪些
  • 番禺做网站公司百度识图扫一扫
  • 展厅设计收费标准优化神马排名软件
  • 四川做网站的公司网站建设小程序开发
  • 自己做的网站和ie不兼容百度识图软件
  • 做电商网站需要多少时间百度小说免费阅读
  • 绥化网站开发公司技成培训网
  • 深圳做网站那家公司好进入百度app
  • 网站安全怎么做开鲁网站seo转接
  • 官网站内优化怎么做 2018seo网络优化日常工作内容
  • 网站建设 睿达科扶贫832网络销售平台
  • 互动的网站建设美食软文300范例
  • 做百度网站需不需要备案新东方烹饪学校
  • 自助网站建设费用贵阳关键词优化平台
  • 做网站用linux哪个版本谷歌优化是什么意思
  • 电脑做任务赚钱网站引流推广营销
  • 烟台网站建设开发樱桃bt磁力天堂
  • 厦门网站模板公司网站建设代理
  • 合肥市公司网站建设seo搜索引擎优化技术教程
  • 浙江省建设政务网站如何做一个网站的seo
  • 建设银行信用卡中心南宁正规的seo费用
  • 太原建站一条龙自己怎么做网站
  • 在vs中做网站如何连接数据库自建站
  • seo上海网站推广企业软文范例
  • 盗取dede系统做的网站模板seo的课谁讲的好