镜像
SereneMA
简单快乐
展开
-
Centos如何安装监控插件
centos镜像:拷贝监控插件到/usr/bin目录下chmod +x /usr/bin/node_exporterchmod +x /etc/rc.d/rc.local在/etc/rc.d/rc.local末尾添加nohup /usr/bin/node_exporter --web.listen-address=":9182" > /var/log/node_exporter 2...原创 2019-04-19 13:12:35 · 532 阅读 · 0 评论 -
Ubuntu如何安装监控插件
拷贝监控插件到/usr/bin目录下chmod +x /usr/bin/插件文件名chmod +x /etc/rc.local在/etc/rc.local文件中,exit 0的前一行添加nohup /usr/bin/插件文件名 --web.listen-address=":9182" > /var/log/node_exporter 2>&1 &之后访问h...原创 2019-04-19 13:14:33 · 450 阅读 · 0 评论 -
Linux镜像下载地址
centos7.4 http://vault.centos.org/7.4.1708/isos/x86_64/CentOS-7-x86_64-DVD-1708.iso7.2 http://vault.centos.org/7.2.1511/isos/x86_64/CentOS-7-x86_64-DVD-1511.isoubuntu18.04 desktophttp://ftp.sjtu....原创 2019-05-07 13:44:35 · 364 阅读 · 0 评论 -
ubuntu16 创建root登录
创建 root 用户名 密码命令sudo passwd -u rootsudo passwd root修改 /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf 的内容命令 添加三行内容user-session=ubuntugreeter-show-manual-login=trueall-guest=falsevim /usr...原创 2019-05-22 11:16:30 · 414 阅读 · 0 评论 -
linux镜像源修改为国内阿里云
Ubuntu# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to# newer versions of the distribution.deb http://mirrors.aliyun.com/ubuntu bionic main restricted# deb-src http://mirr...原创 2019-05-30 10:23:06 · 1979 阅读 · 0 评论 -
Linux镜像
二、 Linux镜像2.1 下载安装镜像http://ftp.sjtu.edu.cn/centos/7/isos/x86_64/CentOS-7-x86_64-DVD-1503-01.iso注:此镜像为示例,具体实际镜像版本以实际要求为准2.2 创建一个空镜像#qemu-img create -f qcow2 [filename] 10G2.3 安装linux镜像#qemu-syst...原创 2019-05-29 11:15:55 · 3732 阅读 · 0 评论 -
安装 mysql等等
在ubuntu中安装 nginx 、apache2安装 nginx(如果不确定是否由该安装包,可以使用命令查看命令apt-cache search nginx)安装nginx命令sudo apt-get install nginx测试nginx命令curl -I 'http://127.0.0.1'安装apachesudo apt-get install apache...原创 2019-05-28 08:45:41 · 86 阅读 · 0 评论