Warning: mkdir(): No space left on device in /var/www/tgoop/post.php on line 37

Warning: file_put_contents(aCache/aDaily/post/vmshell/--): Failed to open stream: No such file or directory in /var/www/tgoop/post.php on line 50
VmShell VPS Channel@vmshell P.1679
VMSHELL Telegram 1679
VPS内存太小,VmShell,小内存自动清理缓存脚本
“VPS小内存硬盘日志定时清理工具”是为了针对系统如何清理VPS自动缓存,保持系统的清洁与活力的小工具,喜欢的朋友可以给我们点亮我们的小星星
VPS小内存硬盘日志定时清理工具,作者:Vmshell INC,是美国怀俄明注册正规企业,现注册有自有网络运营ASN号:147002;提供香港CMI线路高速网络云计算中心和美国云计算中心,小巧灵动的VPS为全球网络提供全方位服务,
官网订购地址: https://vmshell.com/;
企业高速网络: https://tototel.com/;
TeleGram讨论:https://www.tgoop.com/vmshellhk;
TeleGram频道:https://www.tgoop.com/vmshell;
提供微信/支付宝/美国PayPal支付(3日内无条件退款);

登录VPS的SSH之后,执行如下代码后reboot重启服务器
第一步:创建文件夹和文件名:
mkdir -p /opt/script/cron && vim /opt/script/cron/cleanCache.sh
输入如下文字,之后":wq"保存退出

#!/bin/bash
#description: 清除缓存
echo "开始清除缓存"
sync;sync;sync #写入硬盘,防止数据丢失
chmod -R 777 /opt/script/cron #修改其文件的權限
chmod -R 777 /var/spool/mail #修改其郵件消息的權限
#sleep 10 #延迟10秒
echo 1 > /proc/sys/vm/drop_caches
echo 2 > /proc/sys/vm/drop_caches
echo 3 > /proc/sys/vm/drop_caches
echo "结束清除缓存"
#description: 删除30天之前的r日志文件…
https://linuxword.com/?p=43179



tgoop.com/vmshell/1679
Create:
Last Update:

VPS内存太小,VmShell,小内存自动清理缓存脚本
“VPS小内存硬盘日志定时清理工具”是为了针对系统如何清理VPS自动缓存,保持系统的清洁与活力的小工具,喜欢的朋友可以给我们点亮我们的小星星
VPS小内存硬盘日志定时清理工具,作者:Vmshell INC,是美国怀俄明注册正规企业,现注册有自有网络运营ASN号:147002;提供香港CMI线路高速网络云计算中心和美国云计算中心,小巧灵动的VPS为全球网络提供全方位服务,
官网订购地址: https://vmshell.com/;
企业高速网络: https://tototel.com/;
TeleGram讨论:https://www.tgoop.com/vmshellhk;
TeleGram频道:https://www.tgoop.com/vmshell;
提供微信/支付宝/美国PayPal支付(3日内无条件退款);

登录VPS的SSH之后,执行如下代码后reboot重启服务器
第一步:创建文件夹和文件名:
mkdir -p /opt/script/cron && vim /opt/script/cron/cleanCache.sh
输入如下文字,之后":wq"保存退出

#!/bin/bash
#description: 清除缓存
echo "开始清除缓存"
sync;sync;sync #写入硬盘,防止数据丢失
chmod -R 777 /opt/script/cron #修改其文件的權限
chmod -R 777 /var/spool/mail #修改其郵件消息的權限
#sleep 10 #延迟10秒
echo 1 > /proc/sys/vm/drop_caches
echo 2 > /proc/sys/vm/drop_caches
echo 3 > /proc/sys/vm/drop_caches
echo "结束清除缓存"
#description: 删除30天之前的r日志文件…
https://linuxword.com/?p=43179

BY VmShell VPS Channel




Share with your friend now:
tgoop.com/vmshell/1679

View MORE
Open in Telegram


Telegram News

Date: |

How to create a business channel on Telegram? (Tutorial) Matt Hussey, editorial director at NEAR Protocol also responded to this news with “#meIRL”. Just as you search “Bear Market Screaming” in Telegram, you will see a Pepe frog yelling as the group’s featured image. Developing social channels based on exchanging a single message isn’t exactly new, of course. Back in 2014, the “Yo” app was launched with the sole purpose of enabling users to send each other the greeting “Yo.” Co-founder of NFT renting protocol Rentable World emiliano.eth shared the group Tuesday morning on Twitter, calling out the "degenerate" community, or crypto obsessives that engage in high-risk trading. Don’t publish new content at nighttime. Since not all users disable notifications for the night, you risk inadvertently disturbing them.
from us


Telegram VmShell VPS Channel
FROM American