oops syntax fix

This commit is contained in:
dan 2020-12-11 00:09:45 +01:00
parent 42e5f7d97e
commit 390578afa9

View File

@ -2,41 +2,46 @@
## Azuracast ## Azuracast
> mkdir -p /srv/azuracast mkdir -p /srv/azuracast
> cd /srv/azuracast cd /srv/azuracast
> curl -fsSL https://raw.githubusercontent.com/AzuraCast/AzuraCast/master/docker.sh > docker.sh curl -fsSL https://raw.githubusercontent.com/AzuraCast/AzuraCast/master/docker.sh > docker.sh
> chmod a+x docker.sh chmod a+x docker.sh
> ./docker.sh install ./docker.sh install
media in: /var/lib/docker/volumes/azuracast_station_data/_data/{station_name}/media/ media in: /var/lib/docker/volumes/azuracast_station_data/_data/{station_name}/media/
backup in: /var/lib/docker/volumes/azuracast_backups/_data backup in: /var/lib/docker/volumes/azuracast_backups/_data
Controllare i permessi: docker exec -it azuracast_web bash Controllare i permessi: `docker exec -it azuracast_web bash`
Upgrade Upgrade
> ./docker.sh update-self ./docker.sh update-self
> ./docker.sh update ./docker.sh update
Logs Logs
> docker-compose logs -f
> docker-compose logs -f service [web | stations] docker-compose logs -f
docker-compose logs -f service [web | stations]
Stop containers di azuracast Stop containers di azuracast
> cd /srv/azuracast
> docker-compose down
> edit .env e docker-compose.override.yml cd /srv/azuracast
docker-compose down
edit .env e docker-compose.override.yml
Go container azuracast Go container azuracast
> docker-compose up -d
docker-compose up -d
Manual azuracast backup Manual azuracast backup
> ./docker.sh backup --exclude-media path-to-backup.tar.gz
Manuale azuracast backup restore ./docker.sh backup --exclude-media path-to-backup.tar.gz
> ./docker.sh restore [/path/to/backup.tar.gz]
Manual azuracast backup restore
./docker.sh restore [/path/to/backup.tar.gz]
Permessi con ACL Permessi con ACL
@ -44,54 +49,57 @@ sftp su porta 2022
Links: Links:
https://www.azuracast.com/station-management/djs/streaming-software.html * https://www.azuracast.com/station-management/djs/streaming-software.html
https://github.com/AzuraCast/AzuraCast/issues * https://github.com/AzuraCast/AzuraCast/issues
https://www.azuracast.com/install/docker.html * https://www.azuracast.com/install/docker.html
https://www.azuracast.com/developers/docker-sh.html * https://www.azuracast.com/developers/docker-sh.html
https://www.azuracast.com/administration/users/ * https://www.azuracast.com/administration/users/
https://www.azuracast.com/extending/multisite.html * https://www.azuracast.com/extending/multisite.html
https://www.azuracast.com/help/docker/ * https://www.azuracast.com/help/docker/
https://github.com/AzuraCast/AzuraRelay * https://github.com/AzuraCast/AzuraRelay
https://www.azuracast.com/developers/nowplaying.html * https://www.azuracast.com/developers/nowplaying.html
## Webpage ## Webpage
> netstat -tulpn netstat -tulpn
> ufw status verbose ufw status verbose
> mkdir -p /srv/website/www mkdir -p /srv/website/www
> cd /srv/website cd /srv/website
> docker pull nginx docker pull nginx
> edit docker-compose.yml e webpage.env edit docker-compose.yml e webpage.env
> docker-compose up -d docker-compose up -d
## Dokuwiki ## Dokuwiki
> docker pull linuxserver/dokuwiki docker pull linuxserver/dokuwiki
> edit docker-compose.yml e dokuwiki.env edit docker-compose.yml e dokuwiki.env
> mkdir /srv/dokuwiki/ mkdir /srv/dokuwiki/
> chown user:user [path-to-wiki] chown user:user [path-to-wiki]
> docker-compose up -d docker-compose up -d
> http://wiki.accroc.radio/install.php http://wiki.accroc.radio/install.php
> ssh -p 50022 root@00.000.00.000 -NL 8080:172.28.0.7:80 ssh -p 22 root@00.000.00.000 -NL 8080:172.28.0.7:80
> http://localhost:8080/install.php http://localhost:8080/install.php
> wiki admin/Configuration Settings panel: set Use Nice URL to .htaccess Nice URL
> tick Use slash as namespace separator in URLs
wiki admin/Configuration Settings panel: set Use Nice URL to .htaccess
tick Use slash as namespace separator in URLs
Restart the container Restart the container
data in: /var/lib/docker/volumes/dokuwiki_data/_data/dokuwiki/data data in: /var/lib/docker/volumes/dokuwiki_data/_data/dokuwiki/data
testo puro: testo puro:
https://wiki.accroc.radio/test?do=export_xhtmlbody
https://www.dokuwiki.org/export * https://wiki.accroc.radio/test?do=export_xhtmlbody
* https://www.dokuwiki.org/export
## Wordpress ## Wordpress
> mkdir /srv/wordpress/ mkdir /srv/wordpress/
> docker pull wordpress:latest docker pull wordpress:latest
> edit docker-compose.yml e wordpress.env edit docker-compose.yml e wordpress.env
> docker-compose up -d docker-compose up -d