1. install cd /tmp wget http://dvswitch.org/install-dvswitch-repo chmod +x install-dvswitch-repo ./install-dvswitch-repo apt-get update apt-get upgrade apt-get install dvswitch quantar cd /home/pi git clone https://github.com/g4klx/DMRGateway cd DMRGateway sudo make clean sudo make 2. dir check /opt drwxr-xr-x 2 root root 4096 3月 23 21:17 Analog_Bridge drwxr-xr-x 2 root root 4096 3月 23 21:17 MMDVM_Bridge drwxr-xr-x 2 root root 4096 3月 23 21:17 P25Gateway drwxr-xr-x 2 root root 4096 3月 23 21:16 P25Parrot drwxr-xr-x 2 root root 4096 3月 23 21:16 Quantar_Bridge drwxr-xr-x 4 root root 4096 7月 10 2019 Wolfram drwxr-xr-x 2 root root 4096 3月 23 21:16 md380-emu drwxr-xr-x 5 root root 4096 7月 10 2019 minecraft-pi drwxr-xr-x 3 root root 4096 7月 10 2019 pigpio drwxr-xr-x 6 root root 4096 7月 10 2019 vc 3. dir make root@raspberrypi:/opt# mkdir MMDVM_Bridge-BM root@raspberrypi:/opt# mkdir MMDVM_Bridge-XLX root@raspberrypi:/opt# mkdir DMRGateway_BM root@raspberrypi:/opt# mkdir DMRGateway_XLX 4. file copy root@raspberrypi:/opt# cp -f MMDVM_Bridge/*.* MMDVM_Bridge-BM root@raspberrypi:/opt# cp -f MMDVM_Bridge/*.* MMDVM_Bridge-XLX root@raspberrypi:/opt# cp -f MMDVM_Bridge/MMDVM_Bridge MMDVM_Bridge-BM root@raspberrypi:/opt# cp -f MMDVM_Bridge/MMDVM_Bridge MMDVM_Bridge-XLX cd /home/pi/DMRGateway cp -r Audio /opt/DMRGateway_BM cp -r Audio /opt/DMRGateway_XLX cp -f DMRGateway /opt/DMRGateway_BM cp -f DMRGateway /opt/DMRGateway_XLX cp -f DMRGateway.ini /opt/DMRGateway_BM cp -f DMRGateway.ini /opt/DMRGateway_XLX cp -f XLXHosts.txt /opt/DMRGateway_BM cp -f XLXHosts.txt /opt/DMRGateway_XLX 5. copy file check root@raspberrypi:/opt# cd MMDVM_Bridge-BM root@raspberrypi:/opt/MMDVM_Bridge-BM# ls -l total3764 -rw-r--r-- 1 root root 3162 3月 23 21:31 DVSwitch.ini -rwxr-xr-x 1 root root 3841336 3月 23 21:39 MMDVM_Bridge -rw-r--r-- 1 root root 1477 3月 23 21:31 MMDVM_Bridge.ini root@raspberrypi:/opt# cd MMDVM_Bridge-XLX root@raspberrypi:/opt/MMDVM_Bridge-XLX# ls -l total 3760 -rw-r--r-- 1 root root 3162 3月 23 21:31 DVSwitch.ini -rwxr-xr-x 1 root root 3841336 3月 23 21:39 MMDVM_Bridge -rw-r--r-- 1 root root 1477 3月 23 21:31 MMDVM_Bridge.ini root@raspberrypi:/opt/DMRGateway_BM# ls -l total 3144 drwxr-xr-x 2 root root 4096 3月 29 17:21 Audio -rwxr-xr-x 1 root root 3201944 3月 29 17:23 DMRGateway -rw-r--r-- 1 root root 2295 3月 29 17:25 DMRGateway.ini -rw-r--r-- 1 root root 7097 3月 29 17:27 XLXHosts.txt root@raspberrypi:/opt# cd DMRGateway_XLX root@raspberrypi:/opt/DMRGateway_XLX# ls -l total 3144 drwxr-xr-x 2 root root 4096 3月 29 17:21 Audio -rwxr-xr-x 1 root root 3201944 3月 29 17:23 DMRGateway -rw-r--r-- 1 root root 2295 3月 29 17:26 DMRGateway.ini -rw-r--r-- 1 root root 7097 3月 29 17:28 XLXHosts.txt ----------------- END ----------------------------------