Skip to content

Commit 66194d2

Browse files
authored
Update ubuntu18.04-install.sh
1 parent 896bb48 commit 66194d2

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

ubuntu18.04-install.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,15 @@ stty echo
1818
printf "\n"
1919
su - postgres -c "psql -U postgres -d postgres -c \"alter user postgres with password '$PG_PASS';\""
2020

21+
stty -echo
22+
printf "Server name: "
23+
read SERVER_NAME
24+
stty echo
25+
printf "\n"
26+
27+
hostname $SERVER_NAME
28+
ssh-keygen -b 8192 -q -N "" -f ~/.ssh/id_rsa
29+
2130
apt-get autoremove -y
2231

2332
service redis restart

0 commit comments

Comments
 (0)