跳转到内容
View in the app

A better way to browse. Learn more.

彼岸论坛

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
欢迎抵达彼岸 彼岸花开 此处谁在 -彼岸论坛

[Ubuntu] ubuntu 离线安装软件,以 percona-xtrabackup 为例

发表于

ubuntu 离线安装软件使用.deb 包进行安装,centos 使用 rpm 包进行安装 现在介绍如何使用.deb 包进行安装 xtrabackup 1 , 在联网的 ubuntu 计算机上,下载需要的 .deb 包。 可以使用以下命令来下载:

apt-get download percona-xtrabackup
#apt-get download package-name

如果需要下载.deb 包及其所有依赖项,可以使用 apt-getapt 工具:

apt-get install --download-only percona-xtrabackup
#apt-get install --download-only package-name
这个命令会将 `.deb` 包下载到 `/var/cache/apt/archives/` 目录中。  

2 , 复制下载的包

将下载的包文件从 `/var/cache/apt/archives/` 目录传输到目标离线系统。  
cd /var/cache/apt/archives/

3 , 在离线计算机上安装包

1 ,将包文件传输到离线系统: 将包文件复制到离线系统上的一个目录,例如 /tmp/debs/

2 ,安装 .deb 包: 进入包含 .deb 包的目录,并使用 dpkg 工具进行安装:

cd /tmp/debs/
sudo dpkg -i *.deb

3 ,处理可能的依赖问题: 如果在安装过程中遇到缺少依赖项的错误,您需要手动下载和安装这些依赖包。可以在联网计算机上重复下载这些依赖包,并将它们传输到离线系统进行安装。

Featured Replies

No posts to show

创建帐户或登录来提出意见

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.