### Start Twonky Service in Ubuntu Source: https://www.qnap.com/en/how-to/tutorial/article/how-do-i-install-twonky-in-ubuntu-using-linux-station Execute the Twonky startup script to install and run the Twonky media server. This command initiates the Twonky service. ```bash sudo usr/local/twonky/twonky.sh start ``` -------------------------------- ### Run Sample Code on Intel Edison Source: https://www.qnap.com/en/how-to/tutorial/article/connect-intel-edison-to-qnap-nas-via-qiot-suite-lite Execute the sample code on your Intel Edison after installing dependencies. This will start sending data to the defined MQTT topic. ```bash python main.py ``` -------------------------------- ### Get Plex Media Server Install Path Source: https://www.qnap.com/en/how-to/search?category%5BMultimedia%5D=Multimedia This command retrieves the installation path of the Plex Media Server QPKG. It is used to navigate to the correct directory for further configuration. ```bash [~] # QPKG_DIR=$(getcfg -f "/etc/config/qpkg.conf" PlexMediaServer Install_path) ``` -------------------------------- ### Get Plex Media Server Installation Path Source: https://www.qnap.com/en/how-to/faq/article/plex-media-server-is-killed-due-to-memory-spikes-how-can-i-auto-relaunch-it This command retrieves the installation path of the Plex Media Server QPKG. It is used to navigate to the correct directory for script modification. ```shell [~] # QPKG_DIR=$(getcfg -f "/etc/config/qpkg.conf" PlexMediaServer Install_path) [~] # cd $QPKG_DIR ``` -------------------------------- ### Install Qsync Client on Ubuntu (64-bit) Source: https://www.qnap.com/en/how-to/tutorial/con_show.php?cid=62%2Fen%2Fhow-to%2Ftutorial%2Fcon_show.php%3Fcid%3D62 Use this command to install the 64-bit Qsync Client on Ubuntu. Ensure you have the correct .deb file. ```bash sudo dpkg -i QNAPQsyncClientUbuntux64-1.0.0.2030.deb ``` -------------------------------- ### Get WordPress Install Path via SSH Source: https://www.qnap.com/en/how-to/faq/article/how-do-i-locate-the-configuration-files-of-wordpress-after-upgrading-wordpress-to-5-8-x-in-qts-5-0 Use this command via SSH to retrieve the installation path of WordPress configuration files. This is useful for direct access or scripting. ```bash echo "`getcfg WordPress Install_Path -f /etc/config/qpkg.conf`/data/web/WordPress" ``` -------------------------------- ### Install Qsync Client on Ubuntu Source: https://www.qnap.com/en/how-to/tutorial/article/how-to-use-qsync-to-synchronize-files-between-the-nas-and-my-other-devices Use this command to install the Qsync Client on Ubuntu. Ensure you have the correct installer file name. ```bash sudo dpkg -i QNAPQsyncClientUbuntux86_1.0.0.2030.deb ``` ```bash sudo dpkg -i QNAPQsyncClientUbuntux64-1.0.0.2030.deb ``` -------------------------------- ### Run QuTScloud Installation Tool Source: https://www.qnap.com/en/how-to/tutorial/article/how-to-deploy-and-install-qutscloud-on-cloud-platforms Execute the QuTScloud installation tool after downloading and granting permissions. Follow the on-screen prompts to complete the installation. ```bash ./installQuTS ``` -------------------------------- ### Get Object Tagging (No Tags) Source: https://www.qnap.com/en/how-to/tutorial/article/myqnapcloud-object-s3-api-guide Retrieves the tag set of an object. This example shows the response when the object does not have any tags. ```APIDOC ## GET /my_bucket/Test-object1.txt?tagging ### Description Retrieves the tag set of an object. This response indicates that the object has no tags. ### Method GET ### Endpoint https://s3.myqnapcloud.io/my_bucket/Test-object1.txt?tagging ### Response #### Success Response (200 OK) ```xml ``` ``` -------------------------------- ### Get Object Tagging (With Tags) Source: https://www.qnap.com/en/how-to/tutorial/article/myqnapcloud-object-s3-api-guide Retrieves the tag set of an object. This example shows the response when the object has existing tags. ```APIDOC ## GET /my_bucket/Test-object2.pdf?tagging ### Description Retrieves the tag set of an object. This response includes the existing tags associated with the object. ### Method GET ### Endpoint https://s3.myqnapcloud.io/my_bucket/Test-object2.pdf?tagging ### Response #### Success Response (200 OK) ```xml key2 value2 key1 value1 ``` ``` -------------------------------- ### Install Qsync Client on Ubuntu (32-bit) Source: https://www.qnap.com/en/how-to/tutorial/con_show.php?cid=62%2Fen%2Fhow-to%2Ftutorial%2Fcon_show.php%3Fcid%3D62 Use this command to install the 32-bit Qsync Client on Ubuntu. Ensure you have the correct .deb file. ```bash sudo dpkg -i QNAPQsyncClientUbuntux86_1.0.0.2030.deb ``` -------------------------------- ### Make and Execute QuWAN vRouter Deployment Script Source: https://www.qnap.com/en/how-to/tutorial/article/how-to-install-and-deploy-a-quwan-vrouter-kvm-image-on-ubuntu Makes the QuWAN vRouter startup script executable and then runs it with sudo privileges. Replace X's with the actual filename of your downloaded KVM files. ```bash chmod +x startup_kvm_2021XXXX-2.1.2.00XX.sh sudo ./startup_kvm_2021XXXX-2.1.2.00XX.sh ```