linux系统 阿里云盘如何在线扩容?
当我们在阿里云中扩大现在硬盘时,系统并不会随着购买结束而自动扩容,需要我们手动操作下才可以。
首先安装系统需要的扩容软件,这里以centos为例:yum install cloud-utils-growp …
当我们在阿里云中扩大现在硬盘时,系统并不会随着购买结束而自动扩容,需要我们手动操作下才可以。
首先安装系统需要的扩容软件,这里以centos为例:yum install cloud-utils-growp …
Linux系统磁盘空间占满 No Space Left on Device错误 …
Jenkins 自动发布突然出现:“Build step 'Execute shell script on remote host using ssh' marked build as failure”的错误。
具体错误信息大致如下: …
命令格式:find /tmp -mtime +30 -type f -name "*" -exec rm -rf {} /; …
有时间日志文件会很大,直接打开可能会卡死,这时候需要借助下面命令查询: grep -aE '2022-03-10 15:18' wechat_open.log 或 cat wechat_open.log | grep -a '2022-03-10 15:58' …
yum安装某个插件的时候出现:failed: BDB1507 Thread died in Berkeley DB library如图:解决方法,执行以下命令后重新安装:rm -f /var/lib/rpm/__db* rpm –rebuilddb #rpm数据库重建yum clean all #清理所有yum缓 …
为避免服务器进行误操作 , 对某些文件不允许做任何操作,可尝试以下方式给文件加锁。chattr +i config.php #这里以config.php文件为例-i为取消:chattr -i config.php #这里以config.php文件为例lsattr #查 …
首先去下面网站看下版本,一般新版的也会有:https://github.com/nodesource/distributions/tree/master/rpm然后在终端执行(这里以安装nodejs12为例) :curl –silent –location https://rpm.nodesource.com/setup …
1. 进入服务器,下载卸载脚本并执行:wget http://download.bt.cn/install/bt-uninstall.shsh bt-uninstall.sh2. 根据提示选择卸载范围,完成卸载: …
在编译安装 PHP 7.4 时,如果使用 –with-mbstring 参数,则需要安装 oniguruma。oniguruma 是一个处理正则表达式库,php7.4 中,mbstring 正则表达式处理功能对这个包有依赖。所以,安装 php7.4 前需要安装 …