In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
Aliyun centos7.5 installs docker# hostnamectl set-hostname docker closes selinux and firewall downloads docker yum source # curl https://download.docker.com/linux/centos/docker-ce.repo-o / etc/yum.repos.d/docker-ce.repo or downloads docker-ce 's rpm package # wget https://download.docker.com/linux/centos/7/x86_64/edge/Packages/docker-ce-18.06.0.ce-3.el7.x86_64. Rpm installation depends on # yum- y install yum-utils device-mapper-persistent-data lvm2# yum- y install docker-ce# systemctl enable docker.service# systemctl start docker.service# docker version##redhat7.5 installation docker kernel version requires higher than 3.1 yum- y install yum-utils device-persistent-data lvm2# yum-config-manager-- add-repo https : / / download.docker.com/linux/centos/docker-ce.repo# ls / etc/yum.repos.d/# yum-y install docker-ce# systemctl enable docker.service & & systemctl start docker.service# ps aux | grep docker & & docker version##mac os install dockerubuntu18.04 install dockeraws install dockerwindows10 Enterprise install dockerwindows2016 Enterprise install docker#### # # quickly deploy a Web service with Docker (wordpress) [root@node1 ~] # mkdir-p / www/wp & & cd / www/wp [root@node1 wp] # vim docker-compose.yaml install the docker-compose command https://github.com/docker/compose/releases# curl-L https://github.com/docker/compose/releases/download/1.23 .1 / docker-compose- `uname-s`-`uname-m`-o / usr/local/bin/docker-compose# chmod + x / usr/local/bin/docker-compose [root@node1 wp] # docker-compose [root@node1 wp] # docker-compose versiondocker-compose version 1.23.1 Build b02f1306docker-py version: 3.5.0CPython version: 3.6.7OpenSSL version: OpenSSL 1.1.0f 25 May 2017 prevent port occupancy First stop all containers [root@node1 wp] # docker stop $(docker ps-a-Q) [root@node1 wp] # docker-compose up background run [root@node1 wp] # docker-compose up-d browser to access http://192.168.80.101:8080, that is, the account and password information configured in the installation interface of worldpress is installed in the docker-compose.yaml file. Http://192.168.80.101:8080/wp-admin/
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.