php one-click installation environment oneinstack

Don't talk nonsense, just go ahead!

What is Oneinstack

My understanding is: OneinStack is a convenient tool for one-click configuration of PHP language environment. As far as I know, it is a personal open source project. I admire the author.

Oneinstack official website address link

Example php7.2 nginx mysql, you can open the link yourself

wget -c http://mirrors.linuxeye.com/oneinstack-full.tar.gz && tar xzf oneinstack-full.tar.gz && ./oneinstack/install.sh --nginx_option 1 --php_option 7 --phpcache_option 1 --phpmyadmin  --db_option 2 --dbinstallmethod 1 --dbrootpwd oneinstack --pureftpd  --redis  --memcached  --reboot 

In the introduction to install rabbitmq

docker run -d --hostname my-rabbit --name rabbit -p 8080:15672 rabbitmq:management
service iptables restart
service docker restart

查询docker logs rabbit
docker ps 
拉取镜像


docker pull rabbitmq:management
运行

docker run -d -p 5672:5672 -p 15672:15672 --name rabbitmq rabbitmq:management


docker stop rabbit(容器名,就是在开始运行时指定的name):停止rabbitmq
docker start rabbit:重新启动rabbitmq
docker ps -l:显示最后启动的容器
docker ps  -a:同时显示停止的容器,默认只显示启动状态
docker exec -it rabbit1 /bin/bash: 连接到容器进行操作(-t:为容器分配 一个伪终端;-i:进行交互式

linux firewall restart command

防火墙 开启 systemctl start firewalld
systemctl status firewalld查看firewalld状态
可能通过systemctl stop firewalld这条指令来关闭该功能。

Guess you like

Origin blog.csdn.net/weixin_37254196/article/details/108287169