首页
AI
测试
Search
1
Adobe GenP使用教程
350 阅读
2
PEA(Product Experience Assesment,产品体验评估)
209 阅读
3
DFX设计与实现
96 阅读
4
年后跳槽时间线
69 阅读
5
弱矩阵、强矩阵、 和平衡矩阵的区别
66 阅读
项目管理
产品管理
思想手册
E-Book
教程
Linux
Docker
MacOS
Windows
其他教程
sketch
Flask
python3
杂项
登录
Search
标签搜索
数据分析
电子书
变更
工作量评估
敏捷
模版
职级能力
debian11
Adobe
GenP
项目管理模版
香蕉你个不呐呐
累计撰写
158
篇文章
累计收到
0
条评论
首页
栏目
项目管理
产品管理
思想手册
E-Book
教程
Linux
Docker
MacOS
Windows
其他教程
sketch
Flask
python3
杂项
页面
AI
测试
搜索到
7
篇与
Linux
的结果
2024-03-21
debian 安装redis
在Debian系统上安装Redis通常很简单,可以通过apt包管理器进行安装。以下是在Debian系统上安装Redis的步骤:更新软件包索引:在终端中执行以下命令,以确保你的apt包管理器已经更新到最新版本的软件包列表:sudo apt update安装Redis服务器:使用以下命令安装Redis服务器:sudo apt install redis-server这将安装Redis服务器和相关的依赖项。启动Redis服务:安装完成后,Redis服务可能会自动启动。如果没有自动启动,你可以手动启动Redis服务:sudo systemctl start redis-server验证Redis服务是否运行:你可以使用以下命令检查Redis服务是否正在运行:sudo systemctl status redis-server如果Redis正在运行,你应该会看到类似于以下内容的输出:yamlCopy code ● redis-server.service - Advanced key-value store Loaded: loaded (/lib/systemd/system/redis-server.service; enabled; vendor preset: enabled) Active: active (running) since Sat 2022-03-26 10:32:12 UTC; 1min 30s ago Docs: http://redis.io/documentation, man:redis-server(1) Main PID: 1234 (redis-server) Status: "Ready to accept connections" Tasks: 4 (limit: 1123) Memory: 864.0K CGroup: /system.slice/redis-server.service └─1234 /usr/bin/redis-server 127.0.0.1:6379如果状态显示为"active (running)",则表示Redis服务器正在运行。设置Redis开机自启动(可选):如果你想让Redis在系统启动时自动启动,可以使用以下命令将其添加到系统启动项中:sudo systemctl enable redis-server通过以上步骤,你应该已经成功在Debian系统上安装和启动了Redis服务器。你可以通过连接到本地主机的6379端口来访问Redis服务。
2024年03月21日
16 阅读
0 评论
0 点赞
2024-01-27
群晖安装pip3
python3 -m ensurepip --default-pip pip3 install tqdm --trusted-host pypi.tuna.tsinghua.edu.cn
2024年01月27日
7 阅读
0 评论
0 点赞
2024-01-18
debian10 安装 code-server
下载code-server安装包https://github.com/coder/code-server/releases下载地址:https://github.com/coder/code-server/releases/download/v4.20.0/code-server_4.20.0_amd64.debsudo dpkg -i code-server_4.4.0_amd64.deb# 安装 root@Debian10:/home/download# sudo dpkg -i code-server_4.20.0_amd64.deb Selecting previously unselected package code-server. (Reading database ... 67825 files and directories currently installed.) Preparing to unpack code-server_4.20.0_amd64.deb ... Unpacking code-server (4.20.0) ... Setting up code-server (4.20.0) ... # 运行一次生成配置文件 root@Debian10:/home/download# code-server [2024-01-18T06:53:04.033Z] info Wrote default config file to /root/.config/code-server/config.yaml [2024-01-18T06:53:04.761Z] info code-server 4.20.0 d0215eca8804d0be5d3551c39404e336032c3141 [2024-01-18T06:53:04.762Z] info Using user-data-dir /root/.local/share/code-server [2024-01-18T06:53:04.786Z] info Using config file /root/.config/code-server/config.yaml [2024-01-18T06:53:04.787Z] info HTTP server listening on http://127.0.0.1:8080/ [2024-01-18T06:53:04.787Z] info - Authentication is enabled [2024-01-18T06:53:04.787Z] info - Using password from /root/.config/code-server/config.yaml [2024-01-18T06:53:04.787Z] info - Not serving HTTPS [2024-01-18T06:53:04.787Z] info Session server listening on /root/.local/share/code-server/code-server-ipc.sock # 编辑配置文件,并打印 root@Debian10:/home/download# vim ~/.config/code-server/config.yaml root@Debian10:/home/download# cat ~/.config/code-server/config.yaml bind-addr: 0.0.0.0:80 auth: password password: jihuo cert: false # 运行 root@Debian10:/home/download# code-server [2024-01-18T06:54:27.555Z] info code-server 4.20.0 d0215eca8804d0be5d3551c39404e336032c3141 [2024-01-18T06:54:27.556Z] info Using user-data-dir /root/.local/share/code-server [2024-01-18T06:54:27.577Z] info Using config file /root/.config/code-server/config.yaml [2024-01-18T06:54:27.578Z] info HTTP server listening on http://0.0.0.0/ [2024-01-18T06:54:27.578Z] info - Authentication is enabled [2024-01-18T06:54:27.578Z] info - Using password from /root/.config/code-server/config.yaml [2024-01-18T06:54:27.578Z] info - Not serving HTTPS [2024-01-18T06:54:27.578Z] info Session server listening on /root/.local/share/code-server/code-server-ipc.sock [14:54:50] [14:54:50] Extension host agent started. [14:54:50] Started initializing default profile extensions in extensions installation folder. file:///root/.local/share/code-server/extensions [14:54:50] Completed initializing default profile extensions in extensions installation folder. file:///root/.local/share/code-server/extensions File not found: /usr/lib/code-server/lib/vscode/out/vsda_bg.wasm [14:54:57] [10.37.129.2][2b38f4c8][ManagementConnection] New connection established. File not found: /usr/lib/code-server/lib/vscode/out/vsda.js [2024-01-18T06:54:59.064Z] error Failed to get latest version {"error":"connect ENETUNREACH 20.205.243.168:443 - Local (0.0.0.0:0)"} [14:54:59] [10.37.129.2][2cd9b201][ExtensionHostConnection] New connection established. [14:54:59] [10.37.129.2][2cd9b201][ExtensionHostConnection] <2192> Launched Extension Host Process. 放入后台运行 #放入后台执行后,键盘输入ctrl + z 暂停任务 键盘按 ctrl + z 暂停 [1]+ Stopped # 此时输入jobs命令可以查看当前被暂停的任务 jobs [1]+ Stopped # bg将其放入后台,输入 bg %1,将进程号为1的进程恢复到后台运行 bg %1 [1]+ xxxx #查看任务已经在后台运行: jobs [1]+ Running xxxx # 使用disown -h 将这个作业忽略HUP信号: disown -h %1 //忽略这个作业的HUP信号 jobs [1]+ Running xxxxxx
2024年01月18日
11 阅读
0 评论
0 点赞
2024-01-18
debian 安装 parallels tools
# 卸载并重新进行挂载,如果不是cdrom,可以看一下是否是cdrom0 $ umount /media/cdrom $ mount -o exec /media/cdrom # 进入cdrom并安装 $ cd /media/cdrom $ ./install #卸载cdrom $ umount /media/cdrom
2024年01月18日
19 阅读
0 评论
0 点赞
2024-01-18
debian禁止桌面启动
禁止桌面环境,纯命令行启动前提:系统已经安装了桌面环境,需要禁止桌面环境,以纯命令行启动,节约性能修改默认的运行模式systemctl set-default multi-user.target查看当前系统运行模式systemctl get-default重启systemctl reboot启用桌面环境修改默认的运行模式systemctl set-default graphical.target重启systemctl reboot
2024年01月18日
11 阅读
0 评论
0 点赞
2024-01-17
Debian系统更换国内源
在Debian系统中更换为国内源,您可以按照以下步骤进行操作:#备份源列表文件:首先,打开终端并以管理员身份运行以下命令,备份当前的源列表文件: sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak#编辑源列表文件:使用文本编辑器(如nano或vim)打开源列表文件: sudo nano /etc/apt/sources.list替换为国内源:将文件中的内容替换为适合您所在地区的国内源。以下是一些常用的国内源示例:阿里云源:deb http://mirrors.aliyun.com/debian/ buster main contrib non-free deb-src http://mirrors.aliyun.com/debian/ buster main contrib non-free deb http://mirrors.aliyun.com/debian-security/ buster/updates main contrib non-free deb-src http://mirrors.aliyun.com/debian-security/ buster/updates main contrib non-free deb http://mirrors.aliyun.com/debian/ buster-updates main contrib non-free deb-src http://mirrors.aliyun.com/debian/ buster-updates main contrib non-free deb http://mirrors.aliyun.com/debian/ buster-backports main contrib non-free deb-src http://mirrors.aliyun.com/debian/ buster-backports main contrib non-free 清华大学源:deb https://mirrors.tuna.tsinghua.edu.cn/debian/ buster main contrib non-free deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ buster main contrib non-free deb https://mirrors.tuna.tsinghua.edu.cn/debian-security/ buster/updates main contrib non-free deb-src https://mirrors.tuna.tsinghua.edu.cn/debian-security/ buster/updates main contrib non-free deb https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-updates main contrib non-free deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-updates main contrib non-free deb https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-backports main contrib non-free deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-backports main contrib non-free保存并关闭文件。然后,运行以下命令更新软件包缓存:sudo apt updatesudo apt-get upgrade
2024年01月17日
8 阅读
0 评论
0 点赞
2023-10-25
Debian 11 (bullseye) 国内软件源
1.使用说明 一般情况下,将/etc/apt/sources.list文件中Debian默认的软件仓库地址和安全更新仓库地址修改为国内的镜像地址即可,比如将deb.debian.org和security.debian.org改为mirrors.xxx.com,并使用https访问,可使用如下命令:sed -i "s@http://(deb|security).debian.org@https://mirrors.xxx.com@g" /etc/apt/sources.list修改之后再运行apt update更新索引。2.国内常见镜像站点阿里云镜像站deb https://mirrors.aliyun.com/debian/ bullseye main non-free contrib deb-src https://mirrors.aliyun.com/debian/ bullseye main non-free contrib deb https://mirrors.aliyun.com/debian-security/ bullseye-security main deb-src https://mirrors.aliyun.com/debian-security/ bullseye-security main deb https://mirrors.aliyun.com/debian/ bullseye-updates main non-free contrib deb-src https://mirrors.aliyun.com/debian/ bullseye-updates main non-free contrib deb https://mirrors.aliyun.com/debian/ bullseye-backports main non-free contrib deb-src https://mirrors.aliyun.com/debian/ bullseye-backports main non-free contrib腾讯云镜像站deb https://mirrors.tencent.com/debian/ bullseye main non-free contrib deb-src https://mirrors.tencent.com/debian/ bullseye main non-free contrib deb https://mirrors.tencent.com/debian-security/ bullseye-security main deb-src https://mirrors.tencent.com/debian-security/ bullseye-security main deb https://mirrors.tencent.com/debian/ bullseye-updates main non-free contrib deb-src https://mirrors.tencent.com/debian/ bullseye-updates main non-free contrib deb https://mirrors.tencent.com/debian/ bullseye-backports main non-free contrib deb-src https://mirrors.tencent.com/debian/ bullseye-backports main non-free contrib网易镜像站deb https://mirrors.163.com/debian/ bullseye main non-free contrib deb-src https://mirrors.163.com/debian/ bullseye main non-free contrib deb https://mirrors.163.com/debian-security/ bullseye-security main deb-src https://mirrors.163.com/debian-security/ bullseye-security main deb https://mirrors.163.com/debian/ bullseye-updates main non-free contrib deb-src https://mirrors.163.com/debian/ bullseye-updates main non-free contrib deb https://mirrors.163.com/debian/ bullseye-backports main non-free contrib deb-src https://mirrors.163.com/debian/ bullseye-backports main non-free contrib华为镜像站deb https://mirrors.huaweicloud.com/debian/ bullseye main non-free contrib deb-src https://mirrors.huaweicloud.com/debian/ bullseye main non-free contrib deb https://mirrors.huaweicloud.com/debian-security/ bullseye-security main deb-src https://mirrors.huaweicloud.com/debian-security/ bullseye-security main deb https://mirrors.huaweicloud.com/debian/ bullseye-updates main non-free contrib deb-src https://mirrors.huaweicloud.com/debian/ bullseye-updates main non-free contrib deb https://mirrors.huaweicloud.com/debian/ bullseye-backports main non-free contrib deb-src https://mirrors.huaweicloud.com/debian/ bullseye-backports main non-free contrib清华大学镜像站deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye main contrib non-free deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye main contrib non-free deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-updates main contrib non-free deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-updates main contrib non-free deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-backports main contrib non-free deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-backports main contrib non-free deb https://mirrors.tuna.tsinghua.edu.cn/debian-security bullseye-security main contrib non-free deb-src https://mirrors.tuna.tsinghua.edu.cn/debian-security bullseye-security main contrib non-free中科大镜像站deb https://mirrors.ustc.edu.cn/debian/ bullseye main contrib non-free deb-src https://mirrors.ustc.edu.cn/debian/ bullseye main contrib non-free deb https://mirrors.ustc.edu.cn/debian/ bullseye-updates main contrib non-free deb-src https://mirrors.ustc.edu.cn/debian/ bullseye-updates main contrib non-free deb https://mirrors.ustc.edu.cn/debian/ bullseye-backports main contrib non-free deb-src https://mirrors.ustc.edu.cn/debian/ bullseye-backports main contrib non-free deb https://mirrors.ustc.edu.cn/debian-security/ bullseye-security main contrib non-free deb-src https://mirrors.ustc.edu.cn/debian-security/ bullseye-security main contrib non-freeDebian全球镜像站列表:https://www.debian.org/mirror/list
2023年10月25日
37 阅读
0 评论
0 点赞