supervisor的使用记录

supervisor的使用记录

supervisor这东西,其实就是用来管理进程的。咱们为什么要用supervisor呢?因为,相对于我们linux传统的进程管理方式来说,它有很多的优势,要不然咱们也不会闲着没事去用supervisor了。 OK,下面来看看supervi…

Read More

安装软件时报错libcurl-nss.so.4: cannot open shared object file:No such file or directory

安装软件时报错libcurl-nss.so.4: cannot open shared object file:No such file or directory

error while loading shared libraries: libcurl-nss.so.4: cannot open shared object file:No such file or directory 解决办法: a…

Read More

Docker网络代理设置

Docker网络代理设置

背景 在一些实验室环境,服务器没有直接连接外网的权限,需要通过网络代理。我们通常会将网络代理直接配置在/etc/environment、/etc/profile之类的配置文件中,这对于大部分操作都是可行的。然而,docker命令却使用不了这…

Read More

网络测速工具iperf

网络测速工具iperf

iperf命令是一个网络性能测试工具。iperf可以测试TCP和UDP带宽质量。iperf可以测量最大TCP带宽,具有多种参数和UDP特性。iperf可以报告带宽,延迟抖动和数据包丢失。利用iperf这一特性,可以用来测试一些网络设备如路由…

Read More

root权限下执行文件操作失败提示“Read-only file system”解决办法

root权限下执行文件操作失败提示“Read-only file system”解决办法

如果你已经是 root 用户了,那么可以重新挂载待操作分区为可读写分区即可消除 “Read-only file system” 问题。命令如下: mount -o remount,rw /system 这里的 /system 也可以是其它你…

Read More

tmux分屏

tmux分屏

1)安装工具 在ubuntu系统中使用sudo apt-get install tmux安装tmux工具 (2)使用工具 1,输入命令tmux使用工具 2,上下分屏:ctrl + b 再按 " 3,左右分屏:ctrl + b 再按 % 4,…

Read More

ubuntu将openjdk7升级到openjdk8

ubuntu将openjdk7升级到openjdk8

1、添加openjdk8的第三方源 sudo add-apt-repository ppa:openjdk-r/ppa 2、执行更新 apt-get update 3、安装openjdk8 sudo apt-get install open…

Read More

bash之read命令

bash之read命令

一、概述 read命令接收标准输入(键盘)的输入,或者其他文件描述符的输入。得到输入后,read命令将数据放入一个标准变量中。 二、使用举例(这里仅列出一些常用的选项) 1.基本读取 #!/bin/bash echo -n "Enter y…

Read More

linux 命令行支持代理服务器

linux 命令行支持代理服务器

linux 命令行支持代理服务器 export http_proxy=192.168.6.116:1080 export https_proxy=192.168.6.116:1080

Read More

Configure proxy for APT

Configure proxy for APT

为apt-get设置代理 vim /etc/apt/apt.conf APT configuration file method This method uses the apt.conf file which is found in yo…

Read More
豫ICP备17003497号