Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tmp [2024/08/07 15:42] admintmp [2024/09/23 20:58] (current) admin
Line 1: Line 1:
 +<code>
 +deb http://10.59.0.69/repo/smolensk/1.6.14/update smolensk main contrib non-free 
 +deb http://10.59.0.69/repo/smolensk/1.6.14/dev-update smolensk main contrib non-free
 +
 +
 +
 +pkgs=`dpkg -l 2> /dev/null | egrep "^ii\s*linux-image-[456]\.[[:digit:]]+\.[[:digit:]]+-[[:digit:]]+-" | cut -d " " -f3 | grep -v ^linux-image-$(uname -r | cut -d '-' -f1-2)`
 +
 +apt remove $pkgs
 +
 +rm -f /boot/old-*
 +</code>
 +<code>
 +chromium-browser 
 +    --kiosk 
 +    --disable-session-crashed-bubble 
 +    --disable-infobars 
 +    --user-data-dir=/home/pi/browser/ 
 +    file:///home/pi/my_page_loader.html?fwd_url=https://www.mywebsite.com/
 +</code>
 +
 <code>   tar -cvf - --exclude=/backup.tar.gz --exclude=/proc --exclude=/tmp --exclude=/mnt --exclude=/dev --exclude=/sys --exclude=/run --exclude=/media --exclude=/var/log --exclude=/var/lib/lxcfs/ --exclude=/var/cache/apt/archives / | gzip -9 | ssh user@remote_server.example.com 'cat > /path/to/backup/bot-ar-`date +%m-%d-%Y`.tgz'  <code>   tar -cvf - --exclude=/backup.tar.gz --exclude=/proc --exclude=/tmp --exclude=/mnt --exclude=/dev --exclude=/sys --exclude=/run --exclude=/media --exclude=/var/log --exclude=/var/lib/lxcfs/ --exclude=/var/cache/apt/archives / | gzip -9 | ssh user@remote_server.example.com 'cat > /path/to/backup/bot-ar-`date +%m-%d-%Y`.tgz' 
  
  • tmp.1723045373.txt.gz
  • Last modified: 2024/08/07 15:42
  • by admin