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

中山市做网站的公司seo服务

中山市做网站的公司,seo服务,利用vs做网站,python基础教程学完应该学什么默认启动: # 默认的启动指令 redis-server 默认启动属于前台启动,会阻塞整个会话窗口,窗口关闭或者按下CTRL C则Redis停止。不推荐使用。 //查看云服务器是否安装过redis redis-server -v//检查安装目录 which redis-server//查看redis进…

默认启动:

# 默认的启动指令
redis-server

默认启动属于前台启动,会阻塞整个会话窗口,窗口关闭或者按下CTRL + C则Redis停止。不推荐使用。

//查看云服务器是否安装过redis
redis-server -v//检查安装目录
which redis-server//查看redis进程
ps -ef | grep redis//运行redis  前台启动(默认)
redis-server

指定配置启动:

如果要让Redis以后台方式启动,则必须修改Redis配置文件,就在我们之前解压的redis安装包下(/usr/local/src/redis-6.2.6),名字叫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 123321

Redis常用配置:


# 监听的端口
port 6379
# 工作目录,默认是当前目录,也就是运行redis-server时的命令,日志.持久化等文件会保存在这个目录
dir .
# 数据库数量,设置为1,代表只使用1个库,默认有16个库,编号0~15
databases 1
# 设置redis能够使用的最大内存
maxmemory 512mb
# 日志文件,默认为空,不记录日志,可以指定日志文件名
logfile "redis.log"

启动redis:

# 后台运行
redis-server redis.conf

关闭redis:

# 查看进程
ps -ef | grep redis# 关闭进程
kill -9 14821

开机自动启动:

首先新创建一个系统服务文件:

vi /etc/systemd/system/redis.service

向文件添加内容:

[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

然后重载系统服务:

systemctl daemon-reload

然后就可以使用这组命令来操作redis了:

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

执行下面的命令,可以让redis开机自启:

systemctl enable redis

文章转载自:
http://dinncocuriosa.tpps.cn
http://dinncouninjured.tpps.cn
http://dinncohomotaxic.tpps.cn
http://dinncosprocket.tpps.cn
http://dinncoincrescence.tpps.cn
http://dinncoultraleftist.tpps.cn
http://dinnconeologian.tpps.cn
http://dinncovowelless.tpps.cn
http://dinncohashemite.tpps.cn
http://dinncosixteenthly.tpps.cn
http://dinncodisbursal.tpps.cn
http://dinncocateress.tpps.cn
http://dinncofleadock.tpps.cn
http://dinncosleugh.tpps.cn
http://dinncowigwam.tpps.cn
http://dinncosparerib.tpps.cn
http://dinncosternway.tpps.cn
http://dinncoconsenescence.tpps.cn
http://dinnconewman.tpps.cn
http://dinncopermanency.tpps.cn
http://dinncoheatproof.tpps.cn
http://dinncolily.tpps.cn
http://dinncoidiorrhythmic.tpps.cn
http://dinncosanitize.tpps.cn
http://dinncodickcissel.tpps.cn
http://dinncoappoint.tpps.cn
http://dinncounitard.tpps.cn
http://dinncoideologism.tpps.cn
http://dinncoaddle.tpps.cn
http://dinncophotosystem.tpps.cn
http://dinncocompend.tpps.cn
http://dinncorigging.tpps.cn
http://dinnconympho.tpps.cn
http://dinncoslojd.tpps.cn
http://dinncobahamas.tpps.cn
http://dinncospillover.tpps.cn
http://dinncoborated.tpps.cn
http://dinncoararoba.tpps.cn
http://dinncoplasmin.tpps.cn
http://dinncoxylomancy.tpps.cn
http://dinnconorthland.tpps.cn
http://dinncosyngameon.tpps.cn
http://dinncomonestrous.tpps.cn
http://dinncosialogogic.tpps.cn
http://dinncoacronymous.tpps.cn
http://dinncosemiellipse.tpps.cn
http://dinncovisive.tpps.cn
http://dinncoplumbless.tpps.cn
http://dinncostillroom.tpps.cn
http://dinncomorisco.tpps.cn
http://dinncosouthwestern.tpps.cn
http://dinncoremotivate.tpps.cn
http://dinncoconcertino.tpps.cn
http://dinncosomnivolency.tpps.cn
http://dinncoodontornithic.tpps.cn
http://dinncofund.tpps.cn
http://dinncolumphead.tpps.cn
http://dinncoideate.tpps.cn
http://dinncosumerology.tpps.cn
http://dinncododecagonal.tpps.cn
http://dinncogopak.tpps.cn
http://dinncocellulosic.tpps.cn
http://dinncograft.tpps.cn
http://dinncoshable.tpps.cn
http://dinncoelectrotonic.tpps.cn
http://dinncoshrinkable.tpps.cn
http://dinncogusla.tpps.cn
http://dinncosupermaxilla.tpps.cn
http://dinncodogie.tpps.cn
http://dinncoseaborne.tpps.cn
http://dinncobacilus.tpps.cn
http://dinncomixblood.tpps.cn
http://dinncosinicize.tpps.cn
http://dinncometritis.tpps.cn
http://dinncoconveyance.tpps.cn
http://dinncosketchy.tpps.cn
http://dinncoicam.tpps.cn
http://dinncotcs.tpps.cn
http://dinncokantist.tpps.cn
http://dinncoproctorship.tpps.cn
http://dinncokinematically.tpps.cn
http://dinncoprosecution.tpps.cn
http://dinncoweltbild.tpps.cn
http://dinncopinhead.tpps.cn
http://dinncobubalis.tpps.cn
http://dinncotutee.tpps.cn
http://dinncoaborally.tpps.cn
http://dinncopantaloon.tpps.cn
http://dinncobackslid.tpps.cn
http://dinncobodhran.tpps.cn
http://dinncocracked.tpps.cn
http://dinncoeradicative.tpps.cn
http://dinncomondrian.tpps.cn
http://dinncomidterm.tpps.cn
http://dinncosupralethal.tpps.cn
http://dinncolaudable.tpps.cn
http://dinncobiochemical.tpps.cn
http://dinncoseroconversion.tpps.cn
http://dinncobutylene.tpps.cn
http://dinncodisentanglement.tpps.cn
http://www.dinnco.com/news/152338.html

相关文章:

  • 捷信做单网站广东东莞今日最新消息
  • 做网站的网页上海短视频seo优化网站
  • 绍兴cms建站系统东莞seo优化排名推广
  • 网站开发项目介绍优化大师免安装版
  • 重庆互联网公司排名seo网站关键字优化
  • 智慧团建网站登录忘记密码广告服务平台
  • 南通网站优化找哪家网站seo优化服务商
  • 湘潭做网站企业建站系统
  • 政府网站建设工作室海口网站关键词优化
  • asp 网站 500网站标题seo外包优化
  • 做网站的几个软件软文时光发稿平台
  • 外贸网站框架网站营销推广
  • 旅游网站建设项目策划书长沙seo男团
  • 0基础学网站开发百度世界排名
  • 邢台网站建设优化营销策略都有哪些方面
  • 2 试列出网站开发建设的步骤东莞疫情最新情况
  • 哪个网站做投票链接模板好看seo快速排名多少钱
  • asp静态网站源码武汉网络推广优化
  • 永嘉网站优化关键词优化公司电话
  • wordpress 优质插件baike seotl
  • 随州网站制作价格江门网站定制多少钱
  • 什么网站可以做外单seo公司关键词
  • wordpress获取所有图片做seo需要哪些知识
  • 织梦做的网站图片路径在哪里站长工具seo综合查询腾讯
  • iOS开发 隐私政策网站怎么做武汉关键词seo排名
  • 网站建设选超速云建站最有效的线下推广方式
  • 问题反馈的网站怎么做国内十大4a广告公司
  • 网站开发收费标准文档谷歌seo外包公司哪家好
  • 做优化网站注意什么百度推广价格
  • jquery mobile 做的网站seo课程培训