# Setting up my first hosted ziti

**URL:** <https://openziti.discourse.group/t/setting-up-my-first-hosted-ziti/326>\
**Category:** Uncategorized\
**Created:** [March 17, 2022, 4:09am UTC](https://openziti.discourse.group/t/setting-up-my-first-hosted-ziti/326 "2022-03-17T04:09:14Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![markamind](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/markamind/32/157_2.png) [@markamind](https://openziti.discourse.group/u/markamind)\
**Post date:** [March 17, 2022, 4:09am UTC](https://openziti.discourse.group/t/setting-up-my-first-hosted-ziti/326/1 "2022-03-17T04:09:14Z")

</div>

I am working through this…

[https://openziti.github.io/ziti/quickstarts/network/hosted.html](https://openziti.github.io/ziti/quickstarts/network/hosted.html)

I got stuck with the following error

quickinstall.sh: line 6: syntax error near unexpected token `(’

```auto
# now download, source, and execute the expressInstall function
source <(wget -qO- https://raw.githubusercontent.com/openziti/ziti/release-next/quickstart/docker/image/ziti-cli-functions.sh); expressInstall

```

**The following is the contents of quickinstall.sh**

set -a  
source .ziti/quickstart/config/config.env  
set +a

source \<(wget -qO- [https://raw.githubusercontent.com/openziti/ziti/release-next/quickstart/docker/image/ziti-cli-functions.sh](https://raw.githubusercontent.com/openziti/ziti/release-next/quickstart/docker/image/ziti-cli-functions.sh)); expressInstall

---

<div class="post-metadata">

**Author:** ![TheLumberjack](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/thelumberjack/32/113_2.png) [@TheLumberjack](https://openziti.discourse.group/u/TheLumberjack)\
**Post date:** [March 17, 2022, 10:06am UTC](https://openziti.discourse.group/t/setting-up-my-first-hosted-ziti/326/2 "2022-03-17T10:06:27Z")

</div>

Hi @markamind, are you able to wget the file without trying to source it? Basically just do: this one line in two:

```auto
wget -qO- https://raw.githubusercontent.com/openziti/ziti/release-next/quickstart/docker/image/ziti-cli-functions.sh
expressInstall

```

I run / test this script using ubuntu but there are shell variants on linux that sometimes cause issues like this.

I saw you mention oracle cloud on another issue. Is this with Oracle linux? Maybe there is a problem with their image which doesn’t like doing this in one line. Or - can you tell me exactly what variant of linux you’re running? If I can reproduce the issue we can fix it for everyone.

Try doing it as two separate steps first thoguh

---

<div class="post-metadata">

**Author:** ![TheLumberjack](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/thelumberjack/32/113_2.png) [@TheLumberjack](https://openziti.discourse.group/u/TheLumberjack)\
**Post date:** [March 17, 2022, 11:06am UTC](https://openziti.discourse.group/t/setting-up-my-first-hosted-ziti/326/3 "2022-03-17T11:06:34Z")

</div>

Also do you know what bash version you have? I found this SO post that indicates bash 3 doesn’t with with process substitution . I wonder if you have bash 3.2. If so, doing it with two steps should work…

> <https://stackoverflow.com/questions/32596123/why-source-command-doesnt-work-with-process-substitution-in-bash-3-2/32596626#32596626>

---

<div class="post-metadata">

**Author:** ![markamind](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/markamind/32/157_2.png) [@markamind](https://openziti.discourse.group/u/markamind)\
**Post date:** [March 17, 2022, 11:48am UTC](https://openziti.discourse.group/t/setting-up-my-first-hosted-ziti/326/4 "2022-03-17T11:48:39Z")

</div>

Awesome… I will test this out tomorrow and keep you updated.

I find this so exciting. I never ever imagined I would be doing networking in a million years…

---

<div class="post-metadata">

**Author:** ![markamind](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/markamind/32/157_2.png) [@markamind](https://openziti.discourse.group/u/markamind)\
**Post date:** [March 19, 2022, 10:36am UTC](https://openziti.discourse.group/t/setting-up-my-first-hosted-ziti/326/5 "2022-03-19T10:36:16Z")

</div>

I got it to work with some bash magic.. I don't write much bash.. but are starting to get into it now.. lots of small steps

Step 1.. download the file

wget -qO- [https://raw.githubusercontent.com/openziti/ziti/release-next/quickstart/docker/image/ziti-cli-functions.sh](https://raw.githubusercontent.com/openziti/ziti/release-next/quickstart/docker/image/ziti-cli-functions.sh)

Step 2.. call the function within the file (I did not know this was possible 🙂 )

> > you need to use the && command.. (never stop learning)

. ./ziti-cli-functions.sh && expressInstall

---

<div class="post-metadata">

**Author:** ![markamind](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/markamind/32/157_2.png) [@markamind](https://openziti.discourse.group/u/markamind)\
**Post date:** [March 19, 2022, 10:37am UTC](https://openziti.discourse.group/t/setting-up-my-first-hosted-ziti/326/6 "2022-03-19T10:37:19Z")

</div>

![Screen Shot 2022-03-19 at 9.36.48 pm](https://global.discourse-cdn.com/free1/uploads/netfoundry/original/1X/4c328e498e956aaff3cb5bda0dc68851993bc2b3.png)

My first Ziti controller installed 🙂
