Results 1 to 6 of 6

Thread: syntax error near unexpected token newline <DOCTYPE html> while installing zpanel

  1. #1
    Join Date
    Mar 2015
    Beans
    8

    Question syntax error near unexpected token newline <DOCTYPE html> while installing zpanel

    I am new to ubuntu, trying to install zpanel on my VPS server.I have followed this answer,

    http://askubuntu.com/questions/43023...rver-12-04-lts

    first download the script
    wget https://raw.github.com/zpanel/instal...2_04/10_1_1.sh
    Then make the script executable
    chmod +x 10_1_1.sh
    Then run the script
    sudo ./10_1_1.sh


    and it worked till I run the script.After executing the script,when I run it,I get this error on my putty

    ./10_1_1.sh: line 4: syntax error near unexpected token `newline'
    ./10_1_1.sh: line 4: `<!DOCTYPE html>'


    How can I get rid of this problem?Please help.

    Thank you

  2. #2
    Join Date
    Nov 2008
    Location
    S.H.I.E.L.D. 6-1-6
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: syntax error near unexpected token newline <DOCTYPE html> while installing zpanel

    Quote Originally Posted by salim5 View Post
    I am new to ubuntu, trying to install zpanel on my VPS server.I have followed this answer,

    http://askubuntu.com/questions/43023...rver-12-04-lts

    first download the script
    wget https://raw.github.com/zpanel/instal...2_04/10_1_1.sh
    Then make the script executable
    chmod +x 10_1_1.sh
    Then run the script
    sudo ./10_1_1.sh


    and it worked till I run the script.After executing the script,when I run it,I get this error on my putty

    ./10_1_1.sh: line 4: syntax error near unexpected token `newline'
    ./10_1_1.sh: line 4: `<!DOCTYPE html>'


    How can I get rid of this problem?Please help.

    Thank you
    Try
    Code:
    rm 10_1_1.sh
    wget https://raw.githubusercontent.com/zpanel/installers/master/install/Ubuntu-12_04/10_1_1.sh
    bash 10_1_1.sh
    Don't waste your energy trying to change opinions ... Do your thing, and don't care if they like it.

  3. #3
    Join Date
    Mar 2015
    Beans
    8

    Re: syntax error near unexpected token newline <DOCTYPE html> while installing zpanel

    Thanks for your reply.
    Did you mean to use

    bash 10_1_1.sh

    instead of

    chmod +x 10_1_1.sh
    sudo ./10_1_1.sh

    If yes,then it is still giving me same error

  4. #4
    Join Date
    Nov 2008
    Location
    S.H.I.E.L.D. 6-1-6
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: syntax error near unexpected token newline <DOCTYPE html> while installing zpanel

    Whats the output of
    Code:
    cat 10_1_1.sh
    Don't waste your energy trying to change opinions ... Do your thing, and don't care if they like it.

  5. #5
    Join Date
    Mar 2015
    Beans
    8

    Re: syntax error near unexpected token newline <DOCTYPE html> while installing zpanel

    When you edited the first answer,I applied that.And IT WORKED!!!!
    Thanks a loooooooooooooooooooooooooooooooooot.
    Hats off.
    I love ubuntu forum.

  6. #6
    Join Date
    Nov 2008
    Location
    S.H.I.E.L.D. 6-1-6
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: syntax error near unexpected token newline <DOCTYPE html> while installing zpanel

    Hi, please mark this thread as solved if you have found a solution by going to Thread Tools -> Mark Thread as Solved.

    Thanks!
    Don't waste your energy trying to change opinions ... Do your thing, and don't care if they like it.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •