Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
Remotelab-RPi-Setup
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Tobias Glaser
Remotelab-RPi-Setup
Commits
deed5008
Commit
deed5008
authored
2 years ago
by
tobiglaser
Browse files
Options
Downloads
Patches
Plain Diff
minor fixes
parent
6f04edb0
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
setup.sh
+10
-6
10 additions, 6 deletions
setup.sh
with
10 additions
and
6 deletions
setup.sh
+
10
−
6
View file @
deed5008
...
...
@@ -22,13 +22,14 @@
sudo
apt
-qq
upgrade
-y
-qq
# Desktop Environment
echo
"Installing Desktop Environment"
echo
"Installing Packages:"
echo
" Desktop Environment"
sudo
apt
-qq
install
-qq
-y
lxde-core lxappearance
echo
"
Installing
tightvnc."
echo
" tightvnc."
sudo
apt
-qq
install
-qq
-y
tightvncserver
echo
"
Installing
Arduino IDE."
echo
" Arduino IDE."
sudo
apt
-qq
install
-qq
-y
arduino
echo
"
Installing
letsgoING ArduinoControl"
echo
" letsgoING ArduinoControl"
sudo
apt
-qq
install
-qq
-y
python3-pip python3-tk
sudo
-H
python3
-m
pip
install
-q
letsgoing-rpi-arduinocontrol
...
...
@@ -52,9 +53,12 @@
sudo chmod
0600 /home/
$myuser
/.vnc/passwd
# thx https://askubuntu.com/questions/328240/assign-vnc-password-using-script
echo
" VNC Password:
$mypasswd
"
echo
" copying configuration files"
echo
" copying configuration files"
echo
" vnc"
sudo cp
vnc/xstartup /home/
$myuser
/.vnc/xstartup
sudo chmod
+x /home/
$myuser
/.vnc/xstartup
echo
" config"
sudo mkdir
-p
/home/
$myuser
/.config/
sudo cp
-r
config/
*
/home/
$myuser
/.config/
done
...
...
@@ -149,7 +153,7 @@
echo
"Adding example Sketch."
for
i
in
$(
seq
1
$vncCount
)
do
mkdir
-p
/home/
$vncBaseName$i
/Arduino
sudo
mkdir
-p
/home/
$vncBaseName$i
/Arduino
sudo cp
-r
Arduino/
*
/home/
$vncBaseName$i
/Arduino/
done
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment