Hey folks, I’m now running my own Mastodon instance and am available under @freimer@social.frankreimer.de
Category Archives: Allgemein
Bash — Find out folder names only
Typically if you type “ls -l” to list all folders and files you get the following output:
ls -l total 0 drwxr-xr-x 2 frank staff 64 22 Dez 09:33 folder_01 drwxr-xr-x 2 frank staff 64 22 Dez 09:33 folder_02 drwxr-xr-x 2 frank staff 64 22 Dez 09:33 folder_03 drwxr-xr-x 2 frank staff 64 22 Dez 09:33 folder_04 drwxr-xr-x 2 frank staff 64 22 Dez 09:33 folder_05
To get folder names only, you can run the following command:
find . -maxdepth 1 -type d | awk -F / '{print $NF}' | sort . folder_01 folder_02 folder_03 folder_04 folder_05
Nextcloud 18 and ONLYOFFICE
To use Nextcloud and ONLYOFFICE you need to run some tasks to get it work.
Install ONLYOFFICE app
- Login to your Nextcloud web interface
- Go to “Apps” and search for ONLYOFFICE
- Download and activate it
This does not enable ONLYOFFICE functionality at all. Therefore you need to also install and activate the Community Document Server. Otherwise you will not be able to create ONLYOFFICE files in Nextcloud.
Install Community Document Server
- Unfortunately this does not work in the web-ui at the time of writing this article. So some manual work is needed.
- First goto Nextcloud app store.
- Get the link of the latest available version of the Community Document Server.
- Login to your Nextcloud server via SSH and run the following commands:
1 2 3 4 5 |
cd /tmp/ wget https://github.com/nextcloud/documentserver_community/releases/download/v0.1.7/documentserver_community.tar.gz tar -xvzf documentserver_community.tar.gz mv documentserver_community /var/www/nextcloud/apps chown -R www-data.www-data /var/www/nextcloud/apps/documentserver_community/ |
- Now go back to Nextcloud web-ui and navigate to Apps
- Search for Community Document Server and activate it.
Thats it. You should now be able to create ONLYOFFICE documents in Nextcloud.
Red Hat reference architectures, best practices, whitepapers
Here you can find a lot of interesting material in regards of Red Hat best practices, reference architectures, whitepapers an many more:
Follow this Red Hat resources.