uos系统安装python
统信UOS安装python3.11解决无root权限显示无root权限,如想获得root权限可以在控制中心选择进入开发者模式 设置–>通用–>开发者选项–>微信登录–>绑定手机号–>输入锁屏密码–>不重启 重新运行 sudo su 使用 UOS 官方软件源先更新系统: 12sudo apt updatesudo apt upgrade -y 查看是否有 python3.11 包: 1apt search python3.11 你在 UOS 里 apt search python3.11,搜索结果里有: python311.runtime.szbt → Python3.11 的运行环境 python311.devel.szbt → Python3.11 的开发头文件和工具 这两个包安装位置是 /opt/deepin-shared-libs/python311 说明 统信 UOS 已经提供了 Python 3.11(但是不在系统默认路径下)。 安装 Python 3.11直接执行: 1sudo apt install python311....
Django 项目 Docker 部署笔记(Ubuntu 24.04.2 LTS)
📦 环境准备安装 Docker 1234sudo apt updatesudo apt install docker.io -ysudo systemctl start dockersudo systemctl enable docker 查看版本(确认安装成功) 12docker --versiondocker-compose --version 🐬 安装并运行 MySQL 8.0 容器 123456docker pull mysql:8.0docker run --name mysql \ -e MYSQL_ROOT_PASSWORD=root \ -d -p 3306:3306 \ --restart unless-stopped \ mysql:8.0 说明:用户名为 root,密码为 root端口:3306--restart unless-stopped 实现容器开机自启动 🟥 安装并运行 Redis 容器 12345docker pull redisdocker run --name redis \ -d -p 6379:6379 \ -...
Hello World
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub. Quick StartCreate a new post1$ hexo new "My New Post" More info: Writing Run server1$ hexo server More info: Server Generate static files1$ hexo generate More info: Generating Deploy to remote sites1$ hexo deploy More info: Deployment
代码演示
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub. Quick StartCreate a new post1$ hexo new "My New Post" More info: Writing Run server1$ hexo server More info: Server Generate static files1$ hexo generate More info: Generating Deploy to remote sites1$ hexo deploy More info: Deployment


