Linux 第2页
使用parted命令为磁盘扩容-运维技术栈

使用parted命令为磁盘扩容

1、查看现有磁盘大小: root@inboc-nfs:~# df -h Filesystem Size Used Avail Use% Mounted on udev 16G 0 16G 0% /dev tmpfs 3.2G 1.2M 3.2G 1% /run /dev/sda4 195G 4.7G 191G 3% / tmpfs 16G...
阿洛的头像-运维技术栈阿洛4年前
016349
让普通用户执行docker相关指令时无需sudo-运维技术栈

让普通用户执行docker相关指令时无需sudo

环境信息 操作系统:Ubuntu 22.04 LTS 桌面版 Docker:20.10.17 当前账号是arlo,直接执行docker xxx命令会报以下错误: arlo@inboc-pc-415:~$ docker ps Got permission denied while trying t...
阿洛的头像-运维技术栈阿洛4年前
0347338
Linux系统下修改系统和进程的Max open files-运维技术栈

Linux系统下修改系统和进程的Max open files

1、修改/etc/security/limits.conf * soft nofile 16384 * hard nofile 16384 * soft nproc 16384 * hard nproc 16384 root soft nofile 16384 root hard nofile 16384 root soft nproc 16384 r...
阿洛的头像-运维技术栈阿洛4年前
097426
docker镜像加速国内镜像站大全-运维技术栈

docker镜像加速国内镜像站大全

镜像加速源 Docker中国官方镜像加速 https://registry.docker-cn.com 网易163镜像加速 http://hub-mirror.c.163.com 中科大镜像加速 https://docker.mirrors.ustc.edu.cn 阿里云镜像加速 https:...
阿洛的头像-运维技术栈阿洛4年前
017567
pip3安装私有仓库的包时指定用户名和密码-运维技术栈

pip3安装私有仓库的包时指定用户名和密码

使用nexus3部署的私有仓库,并且关闭了匿名下载的功能。因此在安装pip包时需要交互输入用户名和密码,但是在某些情况下,比如dockerfile中需要无交互进行安装,这种情况下就需要在命令行中指定...
阿洛的头像-运维技术栈阿洛4年前
0355497
Ubuntu 18.04多网卡创建bond并使用VLAN-运维技术栈

Ubuntu 18.04多网卡创建bond并使用VLAN

网卡配置 # vim /etc/netplan/00-installer-config.yaml network: bonds: bond0: interfaces: - ens1f0 - ens1f1 parameters: mode: balance-rr ethernets: eno1: dhcp4: true eno2: dhcp4: tru...
阿洛的头像-运维技术栈阿洛4年前
0437115
使用Vagrant创建虚拟机开发环境-运维技术栈

使用Vagrant创建虚拟机开发环境

1、开启BIOS虚拟化,若为云桌面虚拟机请联系管理员进行开启 2、下载并安装vartualbox虚拟机引擎:Downloads – Oracle VM VirtualBox 根据自身操作系统进行下载 3、下载并安装Vagrant:Download...
阿洛的头像-运维技术栈阿洛4年前
0160297
CentOS 7.x系统中安装pyenv环境-运维技术栈

CentOS 7.x系统中安装pyenv环境

一、pyenv安装 1、安装git yum install git -y 2、安装Python编译依赖 yum -y install gcc make patch gdbm-devel openssl-devel sqlite-devel readline-devel zlib-devel bzip2-devel 3、git下...
阿洛的头像-运维技术栈阿洛4年前
0485147