zoukankan      html  css  js  c++  java
  • 使用tmpfs作为缓存加速缓存的文件目录

    使用tmpfs作为缓存加速缓存的文件目录

    [root@web02 ~]# mount -t tmpfs tmpfs /dev/shm -o size=256m
    [root@web02 ~]# mount -t tmpfs /dev/shm/ /tmp/eaccelerator/
    [root@web02 ~]# df -h
    Filesystem      Size  Used Avail Use% Mounted on
    /dev/sda3       6.6G  3.9G  2.5G  62% /
    /dev/sda1       190M   36M  145M  20% /boot
    tmpfs           256M     0  256M   0% /dev/shm
    /dev/shm        238M     0  238M   0% /tmp/eaccelerator
  • 相关阅读:
    【leetcode】对称二叉树
    【leetcode】判断回文数
    053686
    053685
    053684
    053683
    053682
    053681
    053680
    053477
  • 原文地址:https://www.cnblogs.com/howhy/p/6206775.html
Copyright © 2011-2022 走看看