Wake Me Up When September Ends.

A wanderer capable of grasping the beauty of the grass, with a heart full of ancient charm, and a fondness for playful wit. Those who understand my words are knowledgeable individuals; those who decipher my code truly comprehend the essence. I am a wandering code swordsman, carrying my skills and riding freely through the digital world.

在ubuntu 24.04上安装linux原生微信客户端时出现的问题:

下列软件包有未满足的依赖关系:
com.tencent.wechat : 依赖: libssl1.1 (>= 1.1.0) 但无法安装它
E: 无法修正错误,因为您要求某些软件包保持现状,就是它们破坏了软件包间的依赖关系。

解决办法:
安装libssl1.1

wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.0g-2ubuntu4_amd64.deb
sudo apt  install libssl1.1_1.1.0g-2ubuntu4_amd64.deb

是为了方便自己的技术栈查阅,以及较遗忘知识点快速找到,所以我也建立了这个站点。

地址❤️:开发工具-速查表!http://ref.zyimm.com

如果需要自己部署,可以参考如下docker部署:

docker 安装

# 拉取镜像
docker pull wcjiang/reference
# 自定义端口
docker run --name reference --rm -d -p 9667:3000 wcjiang/reference:latest
# Or
docker run --name reference -itd -p 9667:3000 wcjiang/reference:latest
阅读全文 »

Ubuntu的desktop文件相当于windows的桌面软件快捷方式,可以在任何地方快速打开软件。记录一下Ubuntu系统中desktop文件的位置。

方便以后处理删除程序或新增程序时候,桌面图标不正确的问题。

1 用户的desktop 文件位置

~/.local/share/applications

2 公共的 desktop 文件位置,如有重复,用户自己desktop文件优先

/usr/share/applications
阅读全文 »

systemd服务单元文件主要放在/usr/lib/systemd/system/etc/systemd/system目录下,文件一般以 .service 为后缀。找到配置文件以后,使用文本编辑器打开即可。

也可以systemctl cat命令可以用来查看配置文件。

systemd服务单元文件

systemd服务单元文件是服务系统自启动的一种脚本。以下是一个示例:

[Unit]
Description=My Sample Service
After=network.target

[Service]
Type=simple
ExecStart=/usr/bin/php /path/to/your/script.php
Restart=always

[Install]
WantedBy=multi-user.target
阅读全文 »