HardyHu
  • Home
  • Archives
  • Categories
  • Tags
  • About

Docker install Redis

Offical Images: https://hub.docker.com/_/redis Install1. Download Redis1docker pull redis 2. Create configuration file123mkdir -p /mydata/redis/conftouch /mydata/redis/conf/redis.conf 3. Create an in
2022-01-23
#Docker #Redis

Docker install MySQL

Install1. Download MySQL1docker pull mysql:5.7 2. Create an instance and start123456docker run -p 3306:3306 --name mysql \ -v /mydata/mysql/log:/var/log/mysql \ -v /mydata/mysql/data:/var/lib/mysql \
2022-01-23
#Docker #MySQL

Quickly create Linux with vagrant

1. Download VirtualBoxhttps://www.virtualbox.org/wiki/Downloads 2. Download Vagranthttps://www.vagrantup.com/downloads 3. Test Vagrant1vagrant 4. Vagrant init1vagrant init centos7 https://mirrors.ust
2022-01-23
#Linux #Vagrant

Docker image source summary

0. Realted Informationhttps://www.coderjia.cn/archives/dba3f94c-a021-468a-8ac6-e840f85867eahttps://cloud.tencent.com/developer/article/2434428https://blog.csdn.net/BigData_Mining/article/details/10378
2022-01-23
#Docker

Install Docker Engine on CentOS

Official documentationhttps://docs.docker.com/engine/install/centos/ Related Documentshttps://www.cherryservers.com/blog/install-docker-ubuntu-22-04https://www.digitalocean.com/community/tutorials/how
2022-01-23
#Docker #CentOS

Git common commands

1. Base1.1 New code base12345# Initialize the local repositorygit init# Clone remote repositorygit clone [url] 1.2 ConfigureGit’s settings file is .gitconfig, it is usually in the user home directory
2022-01-15
#Git

Page replacement algorithms

Use c++ to implement page replacement algorithmCode :https://github.com/moblackwhite/Page-replacement-algorithm Running result:
2022-01-15
Operating System

Wrong topic summary of integral(1)

\begin{aligned}\int \frac {x} {(x+2)^3} \,{\rm d}x & = \int \frac {(x+2)-2} {(x+2)^3} \, {\rm d}x \\ & = \int \frac {1} {(x+2)^2} \, {\rm d}x - 2 \int \frac {1} {(x+2)^3} \, {\rm d}x
2022-01-09

Clone using a proxy

ExampleIf you need to download files with git under a proxy, setting proxy server system-wide couldn’t be enough. You could also try the following:git config --global http.proxy http://<proxy-serv
2022-01-09
#Git

pip switch to domestic source

Domestic source Tsinghua: https://pypi.tuna.tsinghua.edu.cn/simple Aliyun: https://mirrors.aliyun.com/pypi/simple University of Science and Technology of China: https://pypi.mirrors.ustc.edu.cn/simple
2022-01-09
#pip
1…19202122

Search

Hexo Fluid
总访问量 次 总访客数 人
浙ICP备2025160052号