随笔分类 -  Ubuntu

摘要:Debian12更换了源的配置文件使用以下方式更换为国内源 # sed -i 's|deb.debian.org|mirrors.aliyun.com|g' /etc/apt/sources.list.d/debian.sources # apt-get update 阅读全文
posted @ 2024-09-25 14:22 minseo 阅读(2219) 评论(0) 推荐(0) 编辑
摘要:环境查看 系统环境 # lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 24.04 LTS Release: 24.04 Codename: noble # uname - 阅读全文
posted @ 2024-09-18 11:03 minseo 阅读(58) 评论(0) 推荐(0) 编辑
摘要:环境查看 # lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 22.04.4 LTS Release: 22.04 Codename: jammy # uname -a L 阅读全文
posted @ 2024-08-21 13:47 minseo 阅读(308) 评论(0) 推荐(0) 编辑
摘要:环境查看 # lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 22.04.4 LTS Release: 22.04 Codename: jammy # uname -a L 阅读全文
posted @ 2024-08-08 11:35 minseo 阅读(384) 评论(0) 推荐(0) 编辑
摘要:环境查看 # lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 22.04.4 LTS Release: 22.04 Codename: jammy # uname -a L 阅读全文
posted @ 2024-07-18 13:45 minseo 阅读(26) 评论(0) 推荐(0) 编辑
摘要:系统环境查看 # lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 22.04.4 LTS Release: 22.04 Codename: jammy # uname -a 阅读全文
posted @ 2024-06-07 16:48 minseo 阅读(280) 评论(0) 推荐(0) 编辑
摘要:前提 DEB是Debian的二进制安装包,但有时候我们从网站上只能得到源码包,这就需要自己编译安装了,但我们也可以把源码打包成DEB。 安装checkinstall sudo apt-get install checkinstall 示例 已nginx源码为示例演示打包成deb的过程 环境查看 # 阅读全文
posted @ 2022-04-06 16:40 minseo 阅读(1314) 评论(0) 推荐(0) 编辑
摘要:使用dpkg制作deb包参考 https://www.cnblogs.com/minseo/p/16074459.html 在实际使用中我们会遇到用户没有网络的情况,无法下载安装包的情况,一个应用可能会有多个包,这种情况我们需要在其他有网络的主机下载好deb包并且最后合并成一个deb包 环境查看 本 阅读全文
posted @ 2022-04-01 10:04 minseo 阅读(1292) 评论(0) 推荐(0) 编辑
摘要:Debian系统使用apt安装程序怎么获取原始deb包 使用apt安装包 例如安装python3-pyside2包 apt -d install python3-pyside2* 解析:参数-d代表仅下载但是不安装包 获取deb包 下载的deb包在以下文件夹 cd /var/cache/apt/ar 阅读全文
posted @ 2022-03-30 14:25 minseo 阅读(1147) 评论(0) 推荐(0) 编辑
摘要:本文参考 https://www.cnblogs.com/Genesis-007/p/5219960.html deb包的文件结构 deb包里面的结构:DEBIAN目录 和 软件具体安装目录(模拟安装目录)(如etc, usr, opt, tmp等)。 在DEBIAN目录中至少有control文件, 阅读全文
posted @ 2022-03-29 23:28 minseo 阅读(541) 评论(0) 推荐(0) 编辑
摘要:参考:https://www.jb51.net/article/192171.htm https://www.zhihu.com/question/404968926/answer/1677591992 一,安装桌面环境 Ubuntu 服务器通常使用命令行进行管理,并且默认没有安装桌面环境。如果你正 阅读全文
posted @ 2021-07-23 15:22 minseo 阅读(8485) 评论(1) 推荐(2) 编辑
摘要:一,环境查看 二,配置连接 连接以后的配置文件在/etc/NetworkManager/system-connections/ 下以wifi名命名的一个文件 使用命令查看本机连接的wifi iwconfig 如果没有iwconfig命令使用以下命令安装 apt install -y wireless 阅读全文
posted @ 2021-03-17 10:57 minseo 阅读(1188) 评论(0) 推荐(0) 编辑
摘要:已经搭建Radius认证企业级 wpa2 Enterprise现需要使用树莓派4连接wifi 一,环境查看 二,配置连接wifi 修改配置文件 root@raspberrypi:~# cat /etc/wpa_supplicant/wpa_supplicant.conf ctrl_interface 阅读全文
posted @ 2021-03-16 10:57 minseo 阅读(1708) 评论(0) 推荐(0) 编辑
摘要:参考:https://blog.51cto.com/heracles/759814 一,环境查看 二,安装freeradius-client 下载代码 git clone https://github.com/FreeRADIUS/freeradius-client.git 安装 apt insta 阅读全文
posted @ 2021-03-16 08:52 minseo 阅读(1056) 评论(0) 推荐(0) 编辑
摘要:Ubuntu从18.04升级至20.04 1,升级前查看 版本为18.04 lsb_release -a 2,设置网络连接 编辑文档设置网络 /etc/netplan/50-cloud-init.yaml 设置其中一个网口可以连接网络,本次设置端口为第4个端口 enp4s0: addresses: 阅读全文
posted @ 2020-12-16 15:29 minseo 阅读(6743) 评论(0) 推荐(0) 编辑
摘要:参考:https://www.zabbix.com/download 环境查看 配置源 # wget https://repo.zabbix.com/zabbix/5.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_5.0-1+bionic_al 阅读全文
posted @ 2020-09-16 11:05 minseo 阅读(1527) 评论(0) 推荐(0) 编辑
摘要:参考:https://www.a5idc.net/helpview_888.html Ubuntu在启动以后过一段时间大概20分钟左右会自动休眠,在另外一台主机使用脚本检测80端口可以看到多久休眠 禁用休眠前查看状态 systemctl status sleep.target suspend.tar 阅读全文
posted @ 2020-08-25 09:37 minseo 阅读(6993) 评论(0) 推荐(0) 编辑
摘要:参考:https://blog.csdn.net/ghomeway/article/details/88671223 https://blog.csdn.net/chunlongyuan/article/details/8565874 Ubuntu18.04无法启动虚拟机Vbox sudo apt- 阅读全文
posted @ 2020-08-20 09:47 minseo 阅读(1020) 评论(0) 推荐(0) 编辑
摘要:参考:https://blog.csdn.net/u013543480/article/details/42705953 https://www.bbsmax.com/A/D854Pq6x5E/ 环境查看 系统时间不对,比正常时间多8小时,使用命令date设置正确时间以后如果系统重启时间又多8小时 阅读全文
posted @ 2020-08-17 10:57 minseo 阅读(1830) 评论(0) 推荐(0) 编辑
摘要:参考:https://blog.csdn.net/StanleyWm_/article/details/101704707 Ubuntu20.14使用命令date设置时间不生效,设置完以后时间没有改 环境查看 设置时间 date -s "20101111 11:11:11" 设置时间未生效 原因Ub 阅读全文
posted @ 2020-07-06 16:20 minseo 阅读(4795) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示