Skip to content

Commit

Permalink
add more
Browse files Browse the repository at this point in the history
  • Loading branch information
kaisawind committed Sep 30, 2024
1 parent 030e505 commit 4eb2871
Show file tree
Hide file tree
Showing 3 changed files with 72 additions and 0 deletions.
35 changes: 35 additions & 0 deletions content/post/2024-09-30-docker-mirror.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
layout: post
title: "ubuntu镜像源安装docker-ce"
date: 2024-09-30 16:41:54
categories: [linux,ubuntu,docker]
tags: [ubuntu, docker]
draft: false
excerpt_separator: <!--more-->
---
ubuntu镜像源安装docker-ce
<!--more-->

命令
```bash
sudo groupadd docker
sudo usermod -aG docker $USER
newgrp docker
```

安装docker-ce
```bash
sudo apt-get update
sudo apt-get install ca-certificates curl gnupg

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
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/ubuntu \
"$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | \
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null

sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
```
16 changes: 16 additions & 0 deletions content/post/2024-09-30-pip-mirror.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
layout: post
title: "python中的pip镜像源设置"
date: 2024-09-30 16:44:54
categories: [linux,ubuntu,python]
tags: [ubuntu,python]
draft: false
excerpt_separator: <!--more-->
---
python中的pip镜像源设置
<!--more-->

命令
```bash
pip config set global.index-url https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple
```
21 changes: 21 additions & 0 deletions content/post/2024-09-30-ubuntu-delete-packages.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
layout: post
title: "ubuntu删除娱乐软件"
date: 2024-09-30 16:31:54
categories: [linux,ubuntu]
tags: [ubuntu]
draft: false
excerpt_separator: <!--more-->
---
ubuntu删除娱乐软件
<!--more-->

命令
```bash
sudo apt-get purge unity-webapps-common
sudo apt-get purge thunderbird totem rhythmbox empathy brasero simple-scan gnome-mahjongg aisleriot gnome-mines cheese gnome-sudoku transmission-common gnome-orca webbrowser-app landscape-client-ui-install
sudo apt-get purge deja-dup
sudo apt-get remove --purge "libreoffice*"
sudo apt-get clean
sudo apt-get autoremove
```

0 comments on commit 4eb2871

Please sign in to comment.