Created
January 20, 2018 01:24
-
-
Save mayeco/4663e6930126961e736c3da68448e33e to your computer and use it in GitHub Desktop.
setup server ubuntu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo su | |
| vi /etc/environment | |
| # LANG=en_US.utf-8 | |
| # LC_ALL=en_US.utf-8 | |
| useradd -m -d /home/ubuntu -s /bin/bash -U ubuntu | |
| vi /etc/sudoers.d/90-cloud-init-users | |
| sudo usermod -aG docker ubuntu | |
| mkdir -p /home/ubuntu/.ssh | |
| vi /home/ubuntu/.ssh/authorized_keys |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment