配置环境 Ubuntu

输入法配置

一. 安装输入法

下面任选一种即可:

    IBus拼音:sudo apt-get install ibus-pinyin (命令解释:sudo 以超级权限去执行,apt-get install 安装一个新软件包 ibus-pinyin软件包名称)

二.配置输入法:

终端里面输入ibus-setup,输入法的配置界面就会弹出,IBus Preference设置被打开。我们在Input Method选项卡中,选择自己喜欢的输入方式,并配置自己喜欢的快捷键即可。

主要是注意快捷键;

安装alphfold(GitHub - deepmind/alphafold: Open source code for AlphaFold.

1. Install Docker.(Install Docker Desktop on Ubuntu | Docker Documentation

  • Install Docker Desktop on Ubuntu.
  • Prerequisites

  1.  Have a 64-bit version of either Ubuntu Jammy Jellyfish 22.04 (LTS) or Ubuntu Impish Indri 21.10. Docker Desktop is supported on x86_64 (or amd64) architecture.
  2. For non-Gnome Desktop environments, gnome-terminal must be installed:
sudo apt install gnome-terminal

2. Install Docker Desktop on Ubuntu. Recommended approach to install Docker Desktop on Ubuntu:

  1. Set up Docker’s package repository.
  • Update the apt package index and install packages to allow apt to use a repository over HTTPS:
sudo apt-get update
sudo apt-get install ca-certificates curl gnupg
  • Add Docker’s official GPG key:
sudo install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
sudo chmod a+r /etc/apt/keyrings/docker.gpg
  • Use the following command to set up the repository:
echo \
  "deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
  "$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | \
  sudo tee /etc/apt/sources.list.d/docker.list > /dev/null

2. Download latest DEB package.

3. Install the package with apt as follows:

sudo apt-get update
sudo apt-get install ./docker-desktop-<version>-<arch>.deb

3. Launch Docker Desktop:

  • To start Docker Desktop for Linux, search Docker Desktop on the Applications menu and open it. This launches the Docker menu icon and opens the Docker Dashboard, reporting the status of Docker Desktop.Alternatively, open a terminal and run:
systemctl --user start docker-desktop

  • After you’ve successfully installed Docker Desktop, you can check the versions of these binaries by running the following commands:
docker compose version
Docker Compose version v2.5.0
docker --version
Docker version 20.10.14, build a224086349
docker version
Client: Docker Engine - Community
Cloud integration: 1.0.24
Version:           20.10.14
API version:       1.41
...
  • To enable Docker Desktop to start on login, from the Docker menu, select Settings > General > Start Docker Desktop when you log in.Alternatively, open a terminal and run:
systemctl --user enable docker-desktop
  • To stop Docker Desktop, select the Docker menu icon to open the Docker menu and select Quit Docker Desktop.
systemctl --user stop docker-desktop

Upgrade Docker Desktop

  • Once a new version for Docker Desktop is released, the Docker UI shows a notification. You need to download the new package each time you want to upgrade Docker Desktop and run:
sudo apt-get install ./docker-desktop-<version>-<arch>.deb

Unmout and mount

umount /disk1/

if something is busy,use this

lsof | grep /disk1
kill -9 xxx(PID)

For mount

showmount -e ftpwebp

mount /dev/sdb1 /mountdir
(remeber target before local)

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值