yum install -y yum-utils
yum-config-manager \
--add-repo \
https://download.docker.com/linux/centos/docker-ce.repo
yum install -y docker-ce docker-ce-cli containerd.io
systemctl start docker
systemctl enable docker
docker run hello-world
使 OpenLDAP 支持 bcrypt 密码
一、编译 openldap 源码
yum install -y wget git libtool libdb-devel libtool-ltdl-devel krb5-devel
wget https://www.openldap.org/software/download/OpenLDAP/openldap-release/openldap-2.4.57.tgz
tar zxvf openldap-2.4.57.tgz
cd openldap-2.4.57
./configure --libdir=/usr/lib64 --enable-modules
make depend
make
(更多…) CentOS 7 OpenLDAP 快速安装
CentOS 7 安装 MySQL 8.0
yum install -y https://repo.mysql.com/mysql-community-release-el7.rpm yum install -y mysql-community-server systemctl enable mysqld systemctl start mysqld # 找临时密码 cat /var/log/mysqld.log mysql -p 输入密码 set global validate_password.policy=0; set global validate_password.length=1; alter user 'root'@'localhost' identified by '新密码'; mysql -u root -p
macOS 手动安装 oh-my-zsh
git clone https://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
Portainer 快速上手
docker volume create portainer_data docker run -d -p 9000:9000 --name portainer --restart always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer
Dubbo Admin 安装
wget https://github.com/apache/dubbo-admin/archive/0.2.0.tar.gz tar zxvf 0.2.0.tar.gz cd dubbo-admin-0.2.0 ./mvnw clean package java -jar dubbo-admin-distribution/target/dubbo-admin-0.2.0.jar --server.port=8081
macOS Catalina 安装 ZooKeeper
brew install zookeeper
brew services start zookeeper
Ubuntu 18.04 安装 Homebrew
sudo apt-get install linuxbrew-wrapper brew help
CentOS 7 安装 nginx
yum install -y epel-release yum install -y nginx