mirror of https://github.com/01-edu/public.git
LEEDASILVA
5 years ago
committed by
GitHub
356 changed files with 1535 additions and 1451 deletions
@ -0,0 +1,50 @@
|
||||
# Ubuntu |
||||
|
||||
## OS Installation |
||||
|
||||
Install the latest version of [Virtual Box](https://www.virtualbox.org/wiki/Downloads). |
||||
|
||||
> The text instructions are more important than the screenshots |
||||
|
||||
Screenshots of the installation of Ubuntu in Virtual Box are [here](https://github.com/xpetit/vbox-ubuntu-install/blob/master/README.md). |
||||
|
||||
Download and boot the [last Ubuntu release](http://releases.ubuntu.com/19.10/ubuntu-19.10-desktop-amd64.iso). |
||||
|
||||
- Create a new virtual machine named "Ubuntu" with at least 4096 MB of RAM |
||||
- Use the fixed size storage allocation (to have more performance) |
||||
- In the settings of the VM |
||||
- System -> Motherboard : check "Enable EFI" |
||||
- System -> Processor : Select at least 2 processors |
||||
- Display -> Screen : Put "Video Memory" to the maximum |
||||
- Enable 3D acceleration |
||||
- Storage |
||||
- Remove IDE controller |
||||
- Add Optical Drive to the SATA controller |
||||
- Choose your Ubuntu ISO image |
||||
- Close the settings (click OK) |
||||
- Run the VM |
||||
|
||||
Follow the screenshots (some settings can be personalized, such as keyboard layout, location, password, login automatically, but **do not change the username**) |
||||
|
||||
Skip the welcoming window. |
||||
|
||||
Don't install updates if Ubuntu asks to. The scripts will. |
||||
|
||||
## OS configuration |
||||
|
||||
Run a terminal and type these commands : |
||||
|
||||
```shell |
||||
unset HISTFILE |
||||
sudo apt-get -y install curl |
||||
export PERSISTENT= |
||||
bash <(curl -sSL raw.githubusercontent.com/01-edu/public/master/scripts/kickstart.sh) |
||||
``` |
||||
|
||||
After reboot you should install Virtual Box additions (and reboot again) : |
||||
|
||||
```shell |
||||
sudo apt -y install virtualbox-guest-x11 |
||||
``` |
||||
|
||||
Then it is advised to use the virtual machine in full screen mode (Host key - F) |
@ -0,0 +1,37 @@
|
||||
#!/usr/bin/env bash |
||||
|
||||
set -euo pipefail |
||||
IFS=' |
||||
' |
||||
|
||||
dir=$(cd -P "$(dirname "$BASH_SOURCE")" && pwd) |
||||
|
||||
check() { |
||||
test "$(command -v "$1")" && echo -n ✅ || echo -n ❌ |
||||
echo " $@" |
||||
} |
||||
|
||||
check go '(see : https://golang.org/dl & https://golang.org/doc/install)' |
||||
check gofmt '(see : https://golang.org/dl & https://golang.org/doc/install)' |
||||
check goimports '(run : go get golang.org/x/tools/cmd/goimports)' |
||||
check git '(see : https://git-scm.com/downloads)' |
||||
check jq '(see : https://stedolan.github.io/jq/download)' |
||||
check sed |
||||
check tar |
||||
check find |
||||
check cut |
||||
check awk |
||||
check grep |
||||
check wget |
||||
check curl |
||||
check diff |
||||
check chmod |
||||
check chown |
||||
check touch |
||||
check wc |
||||
check cat |
||||
|
||||
test "$(ls ~/.ssh/*.pub 2>/dev/null)" && echo -n ✅ || echo -n ❌ |
||||
echo " SSH public key (run : ssh-keygen -t ed25519 -f ~/.ssh/id_ed25519 -N '')" |
||||
|
||||
# git repository configured |
Some files were not shown because too many files changed in this diff diff.show_more
Loading…
Reference in new issue