Standalone fog server on a laptop umbutu 18.04
- 
 @fredlwal Copying the script over is not enough. You need to make the file executable to be able to run it. Just guessing that this is missing here. sudo -i cd /home/tech chmod +x install.sh MainScript.sh ./install.sh
- 
 @Sebastian-Roth @Wayne-Workman So do I install the latest fog install and then after that run the install.sh file? I’m getting a Syntax error: newline unexpected. Thanks 
- 
 @fredlwal I’m guessing the problem is that install.sh has no shebang line, so the system messes up. Just a guess, though. sudo bash install.shmight work? 
- 
 @Quazz et al. Where is this install.sh file coming from? We have installfog.sh which has the #! code already. 
- 
 
- 
 @Quazz I think when there is not a shebang, the linux terminal interprets it as a bash script. I looked back in the commit history, there has never been a shebang in that script… it’s worked several times. At any rate, I’m going to add it. 
- 
 @Wayne-Workman Theoretically it will use the current shell to try and execute it, yes. But unexpected newline is typical of a wrong interpretator in my experience. 
- 
 @Quazz @Wayne-Workman @Sebastian-Roth So I downloaded the updated install.sh and here is what I get. 
- 
 @fredlwal How did you download that script file? See the error means you downloaded a HTML file. Maybe this link will help you: https://github.com/FOGProject/fog-community-scripts/raw/master/MakeFogMobile/install.sh and https://github.com/FOGProject/fog-community-scripts/raw/master/MakeFogMobile/MainScript.sh 
- 
 @Wayne-Workman while most distros tend to default the shell to /bin/bash, Ubuntu and Debian default to /bin/ash which is not the same as bash. 
- 
 @Sebastian-Roth I just right clicked and did a save as link all files with the .sh ext. 
- 
 I put in a shebang. It should work now, please re-download the install file. 

