SMF - Just Installed!
mysql -u root -p -e "SELECT CONCAT('DROP USER \'', user, '\'@\'', host, '\';') FROM mysql.user WHERE user LIKE 'isp%';" -B -N | mysql -u root -pCREATE USER 'ispconfig'@'localhost' IDENTIFIED BY 'пароль';DROP USER IF EXISTS 'ispconfig'@'localhost';
DROP USER IF EXISTS 'ispconfig'@'10.10.1.%';
DROP USER IF EXISTS 'ispconfig'@'%';
GRANT ALL PRIVILEGES ON *.* TO 'root'@'10.10.1.%' WITH GRANT OPTION;
FLUSH PRIVILEGES;<?xml version="1.0" encoding="UTF-8"?>
<FrxProfileFolderRedirection ExcludeCommonFolders="0">
<Excludes>
<Exclude Copy="0">AppData\Local\Temp</Exclude>
<Exclude Copy="0">AppData\Local\Microsoft\Windows\INetCache</Exclude>
<Exclude Copy="0">AppData\Local\Google\Chrome\User Data\Default\Cache</Exclude>
</Excludes>
</FrxProfileFolderRedirection>docker volume create --driver local --opt type=glusterfs --opt o=addr=10.10.1.42,rw --opt device=:webdata shared_gluster_volversion: '3.8'
services:
wordpress:
image: wordpress:latestports:- "8080:80"
volumes:- gluster_wp_data:/var/www/htmldeploy
:replicas: 3
placement:constraints:
- node.role == workervolumes
:gluster_wp_data
:driver
: localdriver_opts
:type: "glusterfs"
o: "addr=10.10.1.42,rw,network.ping-timeout=5"
device: ":webdata"docker stack deploy -c docker-compose-swarm.yml my_web_stackdocker run -d --name app-web -v /var/www/my-site:/usr/share/nginx/html -p 80:80 nginx:latestversion: '3.8'services:web:image: nginx:latestports:- "80:80"volumes:- /var/www/my-site:/usr/share/nginx/html