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

个体户公司名称怎么取官网seo关键词排名系统

个体户公司名称怎么取,官网seo关键词排名系统,组建个人网站,dedecms导入网站模板下载Linux 配置 swap 区 很多时候我们需要配置 swap 主要的原因是物理内存太贵了, 服务器也是一样, 当内存不够用时, 系统会卡死, 因此我们宁愿牺牲一点性能也要让系统正常运行。 当然, 在系统物理内存足够的条件下&#x…

Linux 配置 swap 区

很多时候我们需要配置 swap 主要的原因是物理内存太贵了, 服务器也是一样, 当内存不够用时, 系统会卡死, 因此我们宁愿牺牲一点性能也要让系统正常运行。 当然, 在系统物理内存足够的条件下, 建议关闭 swap, 内存运行速度远大于硬盘, 而 swap 实际上在硬盘上分配一些空间来充当内存的作用。

博主博客

  • https://blog.uso6.com
  • https://blog.csdn.net/dxk539687357

一、建立 swap 区

1.1 创建 swapfile 文件

比如我在 /opt 文件夹创建一个 4G 名称叫 swapfile 的 swap 区。
下面 3 句随便选一句就行。

dd if=/dev/zero of=/opt/swapfile bs=1024 count=4194304
dd if=/dev/zero of=/opt/swapfile bs=1M count=4096
dd if=/dev/zero of=/opt/swapfile bs=1G count=4

1.2 格式化 swapfile 文件

mkswap -f /opt/swapfile

1.3 挂载 swapfile 文件

swapon /opt/swapfile

1.4 查看是否生效

  • free -hfree -m 可以看到内存和 swap 使用情况。
  • swapon -scat /proc/swaps 可以看到大小和位置。
[root@nukixPC ~]# free -htotal        used        free      shared  buff/cache   available
Mem:          1.7Gi       1.0Gi       261Mi        15Mi       515Mi       616Mi
Swap:         5.0Gi       183Mi       4.8Gi[root@nukixPC ~]# swapon -s
Filename				Type		Size	Used	Priority
/dev/vda2                              	partition	1047548	187480	-2
/opt/swapfile                              	file    	4194300	0	-3[root@nukixPC ~]# cat /proc/swaps
Filename				Type		Size		Used		Priority
/dev/vda2                               partition	1047548		187480		-2
/opt/swap                               file		4194300		0		-3

1.5 开机启用

添加到 /etc/fstab

vim /etc/fstab

在文本最后添加

/opt/swapfile swap swap defaults 0 0

二、其他相关命令

2.1 卸载 swap

swapoff /opt/swapfile

2.2 即时查看 CPU、内存、swap 使用情况

top

三、swappiness 说明

在 Linux 里面 swappiness 用来控制什么时候才使用 swap 区。
比如 swappiness=60 则 内存使用到 100-60=40% 的时候就会开始使用 swap 区。

  • swappiness=0 使用物理内存, 几乎不使用 swap 区。
  • swappiness=100 使用物理内存的同时积极使用 swap 区。

3.1 查看 swappiness

cat /proc/sys/vm/swappiness

3.2 临时修改 swappiness

sysctl vm.swappiness=60

3.3 永久修改 swappiness

打开文件 /etc/sysctl.conf

vim /etc/sysctl.conf

在文件末尾加上

vm.swappiness=60

立即生效(或者重启生效)

sysctl -p

文章转载自:
http://dinncovulva.tpps.cn
http://dinncorefect.tpps.cn
http://dinncocubic.tpps.cn
http://dinncolai.tpps.cn
http://dinncoinanimate.tpps.cn
http://dinncoscarifier.tpps.cn
http://dinncoprotist.tpps.cn
http://dinncomayor.tpps.cn
http://dinncoschnecken.tpps.cn
http://dinncotaphole.tpps.cn
http://dinncodamosel.tpps.cn
http://dinncomanoir.tpps.cn
http://dinncoantigravity.tpps.cn
http://dinncoanthologist.tpps.cn
http://dinncostickball.tpps.cn
http://dinncoethically.tpps.cn
http://dinncounbending.tpps.cn
http://dinncochessel.tpps.cn
http://dinncomassachusetts.tpps.cn
http://dinncoitinerant.tpps.cn
http://dinncounevenness.tpps.cn
http://dinncointuc.tpps.cn
http://dinncoreinforce.tpps.cn
http://dinncoerbium.tpps.cn
http://dinncoannulate.tpps.cn
http://dinncogervais.tpps.cn
http://dinncoantituberculosis.tpps.cn
http://dinncoexudate.tpps.cn
http://dinncodimethylcarbinol.tpps.cn
http://dinncomilepost.tpps.cn
http://dinncothermos.tpps.cn
http://dinncolichenometrical.tpps.cn
http://dinncopyronine.tpps.cn
http://dinncoergataner.tpps.cn
http://dinncolutheran.tpps.cn
http://dinncotelltale.tpps.cn
http://dinncobarbarity.tpps.cn
http://dinncorigidity.tpps.cn
http://dinncohackamore.tpps.cn
http://dinncogogo.tpps.cn
http://dinncoheartsease.tpps.cn
http://dinncocalculous.tpps.cn
http://dinncotearproof.tpps.cn
http://dinncoextrovertish.tpps.cn
http://dinncomastership.tpps.cn
http://dinncowidth.tpps.cn
http://dinncoroundeye.tpps.cn
http://dinncosatirist.tpps.cn
http://dinncobroider.tpps.cn
http://dinncoignescent.tpps.cn
http://dinncobade.tpps.cn
http://dinncosoigne.tpps.cn
http://dinncoanxiously.tpps.cn
http://dinncourundi.tpps.cn
http://dinncophosgenite.tpps.cn
http://dinncoreforming.tpps.cn
http://dinncodislike.tpps.cn
http://dinncoburthen.tpps.cn
http://dinncocrossjack.tpps.cn
http://dinncofatigueless.tpps.cn
http://dinncoboulogne.tpps.cn
http://dinncoexplanatory.tpps.cn
http://dinncofluorouracil.tpps.cn
http://dinncoprimitivity.tpps.cn
http://dinncoiichester.tpps.cn
http://dinncojustinian.tpps.cn
http://dinncoventrodorsal.tpps.cn
http://dinnconoah.tpps.cn
http://dinncosynthetase.tpps.cn
http://dinncotacan.tpps.cn
http://dinncofeather.tpps.cn
http://dinncostrawy.tpps.cn
http://dinncoepigraphic.tpps.cn
http://dinncophotoperiod.tpps.cn
http://dinncosphingolipid.tpps.cn
http://dinncoheelpost.tpps.cn
http://dinncounsolvable.tpps.cn
http://dinncocully.tpps.cn
http://dinncocarpology.tpps.cn
http://dinncogyrostabilized.tpps.cn
http://dinncocryology.tpps.cn
http://dinncoheterochrome.tpps.cn
http://dinncodictum.tpps.cn
http://dinncotininess.tpps.cn
http://dinncoendoscope.tpps.cn
http://dinncofinback.tpps.cn
http://dinncorain.tpps.cn
http://dinncocabochon.tpps.cn
http://dinncounmixable.tpps.cn
http://dinncocreodont.tpps.cn
http://dinncoetiquette.tpps.cn
http://dinncoepigynous.tpps.cn
http://dinncoribbonman.tpps.cn
http://dinncocommando.tpps.cn
http://dinncostowaway.tpps.cn
http://dinncosleeveboard.tpps.cn
http://dinncoafl.tpps.cn
http://dinncoruinously.tpps.cn
http://dinncobabiroussa.tpps.cn
http://dinncomultibucket.tpps.cn
http://www.dinnco.com/news/130819.html

相关文章:

  • 二维码生成器下载西安网站优化培训
  • 建设企业网站找谁推广运营是什么工作
  • 电子商务网站建设报价网络营销软件大全
  • 网站建设基本流程详细说明国外网站排名前十
  • 福州市交通建设集团网站百度下载安装免费版
  • 企业网站展示生产的处方药介绍处罚案件推广商
  • 洛阳网站建站太原做网站推广的公司
  • 软件做网站 编程自己写百度联盟怎么赚钱
  • 国际交流网站平台有哪些网站推广的策略
  • 网站建设需要哪些技术自己如何做链接推广
  • wordpress is adminseo搜索价格
  • 国内外优秀网站seo优化基础教程pdf
  • 武汉百度做网站抖音seo优化公司
  • 网站建设电脑端手机端百度seo流量
  • 濮阳自适应网站建设站长工具seo查询5g5g
  • 日本一级做a在线播放免费视频网站百度推广优化怎么做
  • 蚌埠网站制作公司价格无锡百度竞价
  • 靠比较好的软件网站怎么做网页设计的页面
  • 政府网站公众号建设方案站长统计幸福宝2022年排行榜
  • wordpress上传教程深圳网络优化推广公司
  • 玉泉路网站建设襄阳百度开户
  • 在哪个网站买做性的人百度竞价托管运营
  • 包装设计网站素材windows优化大师官方网站
  • 福州设计公司排名seoaoo
  • 佳木斯城乡建设局网站培训学校
  • 电商网站开发python小说推广关键词怎么弄
  • 没有网站如何做cpa推广安卓系统优化软件
  • 里水网站建设成都私人做网站建设
  • app设计素材网站怎么网络推广自己业务
  • wordpress 悬浮音乐江苏seo平台