tips:ubuntu:locale

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
tips:ubuntu:locale [2017/02/21 13:33] scipiotips:ubuntu:locale [2018/02/08 17:12] (current) scipio
Line 3: Line 3:
 <code bash> <code bash>
 apt install -y curl && \ apt install -y curl && \
-curl -s "http://wiki.csgalileo.org/doku.php/tips:ubuntu:locale?do=export_code&codeblock=1" | /bin/bash+curl -s "http://wiki.csgalileo.org/tips:ubuntu:locale?do=export_code&codeblock=1" | /bin/bash
 </code> </code>
  
Line 25: Line 25:
 fi fi
  
-[ -f /etc/tmux.conf ] || curl -s "http://wiki.csgalileo.org/doku.php/tips:tmux?do=export_code&codeblock=4" > /etc/tmux.conf+# disable automatic updates 
 +cat > /etc/apt/apt.conf.d/20auto-upgrades <<EOF4 
 +APT::Periodic::Update-Package-Lists "0"; 
 +APT::Periodic::Unattended-Upgrade "0"; 
 +EOF4 
 + 
 + 
 +[ -f /etc/tmux.conf ] || curl -s "http://wiki.csgalileo.org/tips:tmux?do=export_code&codeblock=4" > /etc/tmux.conf
  
 cat > /etc/vim/vimrc.local <<EOF cat > /etc/vim/vimrc.local <<EOF
Line 76: Line 83:
  
  
-curl -s "http://wiki.csgalileo.org/doku.php/tips:ubuntu:locale?do=export_code&codeblock=2" > /root/.bashrc+curl -s "http://wiki.csgalileo.org/tips:ubuntu:locale?do=export_code&codeblock=2" > /root/.bashrc
  
 update-alternatives --set editor /usr/bin/vim.tiny update-alternatives --set editor /usr/bin/vim.tiny
Line 138: Line 145:
 </file> </file>
  
 +<file>
 +mkdir -p /root/.ssh
 +cat > /root/.ssh/authorized_keys <<EOF
 +ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC9UlZrT3Yy1xkLAc1iy6SgUXd1zIQYjE6WQ2Ww2ncZEjLoic0qUikaHjoaN2Ci1Fx0EEfU9Kbt0aglyMsK724n2qnzrNHUUNq4yGsPjA8eAHOPDujGpnwShUTagREC8G5lmDRJoq6+23wOkPGyTyO3WJ90V+oNMoarkkT9ycmMbrmtWIowTcse86l69uHPmUrpD5H0Z2y73syvLA94uqo/d3ToKVOpOSDXyJzFyq4oUx7JHLT6SqS3AWutmskMxfB9hZVs1DB94yaHukOmsb0cdgg3s8wOzemhF9V6+G1dTivLCECIzXJe9h02lsCkD3HvceMOT+McPSrulLIYU5h5 scipio@flinx
 + 
 +EOF
 +</file>
  
 +<code>
 +sudo apt install -y curl && \
 +curl -s "http://wiki.csgalileo.org/tips:ubuntu:locale?do=export_code&codeblock=3" | sudo /bin/sh
 +</code>
  • tips/ubuntu/locale.1487680399.txt.gz
  • Last modified: 2017/02/21 13:33
  • by scipio