debian12安装conda12
安装
bash xxxx.deb
安装过程yes, enter
中途选择安装路径
给用户使用权限(配置环境变量)
su
cd
cat .bashrc
source .bashrc
复制conda init 内容到需要用到conda的用户那个 .bashrc文件
再执行source .bashrc更新即可
分类标签归档:Linux系统
bash xxxx.deb
中途选择安装路径
su
cd
cat .bashrc
source .bashrc
复制conda init 内容到需要用到conda的用户那个 .bashrc文件
再执行source .bashrc更新即可
root@debian:~# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary ne[Unit]
Description=gofastdfs service
Wants=network.target
[Service]
PIDFile=/home/gofastdfs/conf/app.pid
WorkingDirectory=/root/go-fastdfs/src/go-fastdfs-master
Environment="GO_FASTDFS_DIR=/root/go-fastdfs/src/go-fastdfs-master"
ExecStart=/root/go-fastdfs/src/version: "2"
services:
zookeeper:
image: docker.io/bitnami/zookeeper:3.8
ports:
- "2181:2181"
environment:
- ALLOW_ANONYMOUS_LOGIN=yes
kafka-node1:
image: docker.io/bitnami/kafka:3.4
ports:
- "9092:9092"
- "9094:apt-get install python3-pip
apt-get install supervisor
supervisord -h
/etc/supervisor/supervisord.conf
/etc/supervisor/conf.d/*.conf
[program:go_fastdfs_server]
direch左
j下
k上
l右
gg最上
G最下
跳转
ctrl + O下一个文件
ctrl + I上一个文件
g + d 查看当前函数内部
shift + e 前一个单词
shift + b 后一个单词
y直接复制
yaw 复制整个单词
y4j 复制下面4行的内容
y4k 复制下4行的内容
yfr 复制到r为止的内容
p粘贴
d 删除
d8j 删除下8行的内容
dfr 删除到r为止的内
d4k 删除上4行的内容
u 相当于ctrl + z撤回
i 当前光标开始输入
大写i 这一行的开头开始输入
a 当前光标的前本文使用了kubeshphere搭建的k8s平台并添加了devploy流水线部署
前端pod文件nginx_deploy.yaml - 39行volumeMounts为配置文件挂载, 需要提前创建好配置字典
kind: Deployment
apiVersion: apps/v1
metadata:
name: django-blog-nginx
namespace: chf-object
labels:
app: django-blog-nginx
spec:
replicas: 1
selector:
matchLabels输入: 127.0.0.1:8000/api/chf/
location ^~/api/ {
proxy_pass http://11.11.11.11:8000/;
}
输出: http://11.11.11.11:8000/chf
输入: 127.0.0.1:8000/api/chf/
location ^~/api {
proxy_pass http://11.11.11.11:8000;
}
输出: http://11.11.11.11:8000/api/chf/
default.conf
server {
l