Skip to main content
Sign in
Snippets Groups Projects
Select Git revision
  • v1.0rc3
  • passt default
  • master
  • pu
  • todo
  • next
  • maint
  • v2.8.0-rc1
  • v2.8.0-rc0
  • v2.7.2
  • v2.7.1
  • v2.7.0
  • v2.6.5
  • v2.7.0-rc3
  • v2.7.0-rc2
  • v2.7.0-rc1
  • v2.7.0-rc0
  • v2.6.4
  • v2.6.3
  • v2.6.2
  • v2.6.1
  • v2.3.10
  • v2.5.4
  • v2.4.10
  • v2.6.0
  • v2.6.0-rc3
  • v2.5.3
27 results

git-repack.sh

Blame
  • install.sh 866 B
    #!/bin/bash
    
    # install SPiC development environment
    sudo apt update
    sudo apt upgrade -y
    sudo apt install -y wget build-essential man-db udev gnupg apt-transport-https usbip hwdata usbutils
    sudo /lib/systemd/systemd-udevd --daemon
    wget -O - https://i4spic.cs.fau.de//editor/repo.gpg.key | sudo apt-key add -
    echo "deb https://i4spic.cs.fau.de//editor/debian buster main" | sudo tee /etc/apt/sources.list.d/spic.list
    sudo apt update
    sudo apt install -y spic-editor
    echo
    
    # Ask for user credentials
    read -p "Enter your Computer Science CIP username: " username
    echo
    
    # Save cs cip username
    echo "CS_USER=$username" > ~/.spic_env
    
    # Create ssh key and send it to cs server
    ssh-keygen -q -t rsa -b 4096 -f ~/.ssh/id_rsa -N ''
    ssh-copy-id -i ~/.ssh/id_rsa -o LogLevel=quiet -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no $username@cipterm0.cip.cs.fau.de
    echo