There was an error while loading. Please reload this page.
1 parent 6f6722c commit f03041bCopy full SHA for f03041b
installation_scripts/install_flask_nginx.sh
@@ -0,0 +1,17 @@
1
+#!/bin/bash
2
+#################################################
3
+# #
4
+# A shell script to install Nginx and Flask #
5
6
7
+
8
+# check if the current user is root
9
+if [[ $(/usr/bin/id -u) != "0" ]]; then
10
+ echo -e "This looks like a 'non-root' user.\nPlease switch to 'root' and run the script again."
11
+ exit
12
+fi
13
14
+prerequisites(){
15
+ yum update -y
16
17
+}
0 commit comments