| # open a terminal by Ctrl+Alt+T and run the following command |
| touch ~/Templates/Untitled Document |
| sudo chmod -R 777 <folder name> |
| |
| sudo apt install -y sshfs |
| |
| |
| sshfs -o allow_other liwen@server4:/home/liwen/z_MongoDB /mnt/server4_db |
| |
| |
| sudo fusermount -u /mnt/server4_db |
| |
| |
using "Windows" + "Left" or "Right"
| # 0) remove old version, and download the installation file |
| sudo apt-get purge teamviewer |
| cd ~/Downloads |
| wget https://download.teamviewer.com/download/linux/teamviewer_amd64.deb |
| |
| # 1) installation |
| sudo dpkg -i teamviewer_amd64.deb; sudo apt-get -f install |
| |
| # 2) stop service |
| sudo teamviewer --daemon stop |
| |
| # 3) Accept the license |
| sudo vim /opt/teamviewer/config/global.conf |
| |
| # 4) click "I", and copy the following words to the end of the file |
| [int32] EulaAccepted = 1 |
| [int32] EulaAcceptedRevision = 6 |
| |
| # 5) use Esc and input ":wq" to save the settings and exist |
| |
| # 6) restart the service |
| sudo teamviewer --daemon start |
| |
| # 7) set password and print id |
| sudo teamviewer --passwd w12345678 |
| teamviewer --info print id |
| |
| # 8) Finally, use the id and the password can access the PC remotely |
convert frame images to video
| cat *.jpg | ffmpeg -framerate 60 -f image2pipe -i - ~/output.mp4 |