随笔分类 -  服务器

摘要:#!/bin/bash #date: 2020.04.02 #description: show the rate of system resources # cpu资源信息统计 function show_cpu { cpu_rate=$(vmstat | awk 'NR == 3 {print 阅读全文
posted @ 2021-07-14 19:28 ament 阅读(47) 评论(0) 推荐(0) 编辑
摘要:`sudo hostnamectl set-hostname "新主机名" hostnamectl status --static hostnamectl status --transient hostnamectl status --pretty` 阅读全文
posted @ 2020-11-01 14:09 ament 阅读(66) 评论(0) 推荐(0) 编辑
摘要:买了个阿里云服务器,ubuntu系统的,第一次配置jdk,tomcat,https这些可没让我少花心思。 现在想想,其实还是比较简单,又想起之前看过一部电影《摩天营救》里面,重启解决90%的问题。 下面来看下步骤吧,由于我只是记录自己认为比较关键的步骤,有什么不准确的,还请多指教。 手动部署 下载x 阅读全文
posted @ 2020-02-14 20:21 ament 阅读(483) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示