Results 1 to 11 of 11

Thread: web hosting (but I think I need an application server)

  1. #1
    Senior Member
    Join Date
    Jul 2003
    Location
    Reading, Berkshire
    Posts
    1,253
    Thanks
    64
    Thanked
    53 times in 34 posts
    • tfboy's system
      • Motherboard:
      • MSI X470 Gaming Plus
      • CPU:
      • AMD Ryzen 7 2700
      • Memory:
      • 2x8GB Corsair Vengeance LPX)
      • Storage:
      • Force MP600 1TB PCIe SSD
      • Graphics card(s):
      • 560 Ti
      • PSU:
      • Corsair RM 650W
      • Case:
      • CM Silencio 550
      • Operating System:
      • W10 Pro
      • Monitor(s):
      • HP LP2475w + Dell 2001FP
      • Internet:
      • VM 350Mb

    Question web hosting (but I think I need an application server)

    Just bought some hosting (linux developper package) via fasthosts. Went for it because it offers the usual linux goodies, including some SSL storage, MySQL databases and an ssh shell login.

    One of the reasons was to be able to run JIRA, but after some playing around, I think I've realised I don't have the level of control I need with fasthost's web hosting offering. It looks like whilst I have simple user rights, I can't run any .sh scripts, which means I can't configure JIRA to work.

    The other extreme is getting some dedicated server. But it costs a lot, around £50pm for a basic package.

    I really don't need that - only say 1 or 2 GB storage at most, MySQL DB with Perl, Python, etc, running, bamdwith usage will be low (maybe couple of hundred megs/month at most).

    I guess I'm doomed with the fasthost package I have at the moment? A bit peeved really as it's £100 odd a year which I've paid and they do say ssh shell access and title it "developper", so being able to run simple scripts would seem logical :S

    But as it's (initially) for personal use, I certainly don't want to spend 50 quid a month.

    I would run it from home, but speeds are an issue...


    So is there something in between a simple "website only" package and full blown dedicated server whilst still being cheap(ish)?

    Thanks

  2. #2
    PHP Geek Flash477's Avatar
    Join Date
    Dec 2008
    Location
    Devon
    Posts
    822
    Thanks
    51
    Thanked
    72 times in 65 posts

    Re: web hosting (but I think I need an application server)

    What message are you getting when you try and run the script?

    You have made the file executable have you?

  3. #3
    Jay
    Jay is offline
    Gentlemen.. we're history Jay's Avatar
    Join Date
    Aug 2006
    Location
    Jita
    Posts
    8,365
    Thanks
    304
    Thanked
    568 times in 409 posts

    Re: web hosting (but I think I need an application server)

    You need to make sure the file permission is set to 777, this can be done with chmod on the Linux server or via your FTP client before you upload.

    As for your other question, between a basic package and a dedicated server should be a VPS.
    □ΞVΞ□

  4. #4
    Senior Member
    Join Date
    Jul 2003
    Location
    Reading, Berkshire
    Posts
    1,253
    Thanks
    64
    Thanked
    53 times in 34 posts
    • tfboy's system
      • Motherboard:
      • MSI X470 Gaming Plus
      • CPU:
      • AMD Ryzen 7 2700
      • Memory:
      • 2x8GB Corsair Vengeance LPX)
      • Storage:
      • Force MP600 1TB PCIe SSD
      • Graphics card(s):
      • 560 Ti
      • PSU:
      • Corsair RM 650W
      • Case:
      • CM Silencio 550
      • Operating System:
      • W10 Pro
      • Monitor(s):
      • HP LP2475w + Dell 2001FP
      • Internet:
      • VM 350Mb

    Re: web hosting (but I think I need an application server)

    I get a no such file or directory.
    Code:
    [user_3613040@ssh01 bin]$ ls
    bootstrap.jar                  jsvc.tar.gz         shutdown.sh
    catalina.bat                   permgen.bat         startup.bat
    catalina.sh                    permgenservice.bat  startup.sh
    catalina-tasks.xml             permgen.sh          tomcat5.exe
    commons-daemon.jar             procrun             tomcat5w.exe
    commons-logging-api-1.1.1.jar  service.bat         tomcat-juli.jar
    cpappend.bat                   setclasspath.bat    tomcat-native.tar.gz
    digest.bat                     setclasspath.sh     tool-wrapper.bat
    digest.sh                      setenv.bat          tool-wrapper.sh
    jkstatus-tasks.xml             setenv.sh           version.bat
    jmxaccessor-tasks.xml          shutdown.bat        version.sh
    [user_3613040@ssh01 bin]$ ../startup.sh
    -bash: ../startup.sh: No such file or directory
    [user_3613040@ssh01 bin]$
    Jay, I did change the perms of all files to be executable.
    They're all rwxr-xr-x:

    Code:
    [user_3613040@ssh01 bin]$ ls -l
    total 708
    -rwxr-xr-x 1 user_3613040 vweb  24273 Jan 28 18:52 bootstrap.jar
    -rwxr-xr-x 1 user_3613040 vweb   8934 Jan 28 18:52 catalina.bat
    -rwxr-xr-x 1 user_3613040 vweb  11993 Jan 28 18:52 catalina.sh
    -rwxr-xr-x 1 user_3613040 vweb   1927 Jan 28 18:52 catalina-tasks.xml
    -rwxr-xr-x 1 user_3613040 vweb   9341 Jan 28 18:52 commons-daemon.jar
    -rwxr-xr-x 1 user_3613040 vweb  52313 Jan 28 18:52 commons-logging-api-1.1.1.jar
    -rwxr-xr-x 1 user_3613040 vweb    487 Jan 28 18:52 cpappend.bat
    -rwxr-xr-x 1 user_3613040 vweb   1238 Jan 28 18:52 digest.bat
    -rwxr-xr-x 1 user_3613040 vweb    841 Jan 28 18:52 digest.sh
    -rwxr-xr-x 1 user_3613040 vweb   1782 Jan 28 18:52 jkstatus-tasks.xml
    -rwxr-xr-x 1 user_3613040 vweb   2167 Jan 28 18:52 jmxaccessor-tasks.xml
    -rwxr-xr-x 1 user_3613040 vweb  74398 Jan 28 18:52 jsvc.tar.gz
    -rwxr-xr-x 1 user_3613040 vweb    218 Jan 28 18:52 permgen.bat
    -rwxr-xr-x 1 user_3613040 vweb    571 Jan 28 18:52 permgenservice.bat
    -rwxr-xr-x 1 user_3613040 vweb    950 Jan 28 18:52 permgen.sh
    drwxr-xr-x 4 user_3613040 vweb   4096 Jan 28 18:52 procrun
    -rwxr-xr-x 1 user_3613040 vweb   4289 Jan 28 18:52 service.bat
    -rwxr-xr-x 1 user_3613040 vweb   2109 Jan 28 18:52 setclasspath.bat
    -rwxr-xr-x 1 user_3613040 vweb   2791 Jan 28 18:52 setclasspath.sh
    -rwxr-xr-x 1 user_3613040 vweb   1498 Jan 28 18:52 setenv.bat
    -rwxr-xr-x 1 user_3613040 vweb   1183 Jan 28 18:52 setenv.sh
    -rwxr-xr-x 1 user_3613040 vweb   1227 Jan 28 18:52 shutdown.bat
    -rwxr-xr-x 1 user_3613040 vweb    780 Jan 28 18:52 shutdown.sh
    -rwxr-xr-x 1 user_3613040 vweb   1228 Jan 28 18:52 startup.bat
    -rwxr-xr-x 1 user_3613040 vweb   1173 Jan 28 18:52 startup.sh
    -rwxr-xr-x 1 user_3613040 vweb  57344 Jan 28 18:52 tomcat5.exe
    -rwxr-xr-x 1 user_3613040 vweb  98304 Jan 28 18:52 tomcat5w.exe
    -rwxr-xr-x 1 user_3613040 vweb  13681 Jan 28 18:52 tomcat-juli.jar
    -rwxr-xr-x 1 user_3613040 vweb 240128 Jan 28 18:52 tomcat-native.tar.gz
    -rwxr-xr-x 1 user_3613040 vweb   2573 Jan 28 18:52 tool-wrapper.bat
    -rwxr-xr-x 1 user_3613040 vweb   2712 Jan 28 18:52 tool-wrapper.sh
    -rwxr-xr-x 1 user_3613040 vweb   1234 Jan 28 18:52 version.bat
    -rwxr-xr-x 1 user_3613040 vweb    784 Jan 28 18:52 version.sh
    [user_3613040@ssh01 bin]$
    I'll give them a call. If they say it can't be done, I'll be rather annoyed. I thought the whole point of having ssh shell login and labelling a hosting package "developer" was so you could do stuff like this...

    edit: I think it's a rights thing. my user account isn't part of the sudoers list or whatever it is so I can't sudo anything.

  5. #5
    mush-mushroom b0redom's Avatar
    Join Date
    Oct 2005
    Location
    Middlesex
    Posts
    3,510
    Thanks
    201
    Thanked
    388 times in 294 posts
    • b0redom's system
      • Motherboard:
      • Some iMac thingy
      • CPU:
      • 3.4Ghz Quad Core i7
      • Memory:
      • 24GB
      • Storage:
      • 3TB Fusion Drive
      • Graphics card(s):
      • nViidia GTX 680MX
      • PSU:
      • Some iMac thingy
      • Case:
      • Late 2012 pointlessly thin iMac enclosure
      • Operating System:
      • OSX 10.8 / Win 7 Pro
      • Monitor(s):
      • Dell 2713H
      • Internet:
      • Be+

    Re: web hosting (but I think I need an application server)

    Too many dots:

    ../startup.sh

    means execute in the directory above this one, you want:

    ./startup.sh

    Also, chmodding everything to 777 is a massive security hole. Do NOT do that.

  6. Received thanks from:

    tfboy (29-01-2010)

  7. #6
    Senior Member
    Join Date
    Jul 2003
    Location
    Reading, Berkshire
    Posts
    1,253
    Thanks
    64
    Thanked
    53 times in 34 posts
    • tfboy's system
      • Motherboard:
      • MSI X470 Gaming Plus
      • CPU:
      • AMD Ryzen 7 2700
      • Memory:
      • 2x8GB Corsair Vengeance LPX)
      • Storage:
      • Force MP600 1TB PCIe SSD
      • Graphics card(s):
      • 560 Ti
      • PSU:
      • Corsair RM 650W
      • Case:
      • CM Silencio 550
      • Operating System:
      • W10 Pro
      • Monitor(s):
      • HP LP2475w + Dell 2001FP
      • Internet:
      • VM 350Mb

    Re: web hosting (but I think I need an application server)

    Oops, well spotted. I'm a bit rusty on Linux...

    Anyway, haven't got much further. Turns out they haven't installed the Java SDK which is required for JIRA to work. And my account doesn't have the privileges to do anything like that (understandable as it's a shared server).

    I've phoned them up and they said the server is set up and nothing can be changed to the config.

    So a dead end really. Now on the phone waiting to see how I can get a refund.

  8. #7
    Splash
    Guest

    Re: web hosting (but I think I need an application server)

    If you're looking at a VPS I can heartily recommend Bytemark. Prices are pretty good and their support is... well let's just say it's an upgrade on my experience of Fasthosts and their ilk.

  9. Received thanks from:

    tfboy (29-01-2010)

  10. #8
    Senior Member
    Join Date
    Jul 2003
    Location
    Reading, Berkshire
    Posts
    1,253
    Thanks
    64
    Thanked
    53 times in 34 posts
    • tfboy's system
      • Motherboard:
      • MSI X470 Gaming Plus
      • CPU:
      • AMD Ryzen 7 2700
      • Memory:
      • 2x8GB Corsair Vengeance LPX)
      • Storage:
      • Force MP600 1TB PCIe SSD
      • Graphics card(s):
      • 560 Ti
      • PSU:
      • Corsair RM 650W
      • Case:
      • CM Silencio 550
      • Operating System:
      • W10 Pro
      • Monitor(s):
      • HP LP2475w + Dell 2001FP
      • Internet:
      • VM 350Mb

    Re: web hosting (but I think I need an application server)

    Thanks Splash. Had a look and it seems ok. I like the fact they show the techy nerdy stuff up front so you can see exactly how it works

  11. #9
    mush-mushroom b0redom's Avatar
    Join Date
    Oct 2005
    Location
    Middlesex
    Posts
    3,510
    Thanks
    201
    Thanked
    388 times in 294 posts
    • b0redom's system
      • Motherboard:
      • Some iMac thingy
      • CPU:
      • 3.4Ghz Quad Core i7
      • Memory:
      • 24GB
      • Storage:
      • 3TB Fusion Drive
      • Graphics card(s):
      • nViidia GTX 680MX
      • PSU:
      • Some iMac thingy
      • Case:
      • Late 2012 pointlessly thin iMac enclosure
      • Operating System:
      • OSX 10.8 / Win 7 Pro
      • Monitor(s):
      • Dell 2713H
      • Internet:
      • Be+

    Re: web hosting (but I think I need an application server)

    Be aware if you have root on the box that is wired directly into the Internet, you need to be a LOT more careful than a server sitting on a box at home. You are far more likely to be rootkitted.

    "I'm a bit rusty on Linux..."

    Fills me with dread.

  12. #10
    Banned
    Join Date
    Jun 2008
    Posts
    2,129
    Thanks
    13
    Thanked
    189 times in 160 posts

    Re: web hosting (but I think I need an application server)

    I'd recommend http://contextshift.co.uk/vds

    They are not the most 'professional' outfit, instead they are geeks running this for geeks.

    Also, it's amazing what you can actually run in 64megs of ram.

    get on irc://irc.freenode.net/contextshift and have a chat to people!

  13. #11
    Senior Member
    Join Date
    Jul 2003
    Location
    Reading, Berkshire
    Posts
    1,253
    Thanks
    64
    Thanked
    53 times in 34 posts
    • tfboy's system
      • Motherboard:
      • MSI X470 Gaming Plus
      • CPU:
      • AMD Ryzen 7 2700
      • Memory:
      • 2x8GB Corsair Vengeance LPX)
      • Storage:
      • Force MP600 1TB PCIe SSD
      • Graphics card(s):
      • 560 Ti
      • PSU:
      • Corsair RM 650W
      • Case:
      • CM Silencio 550
      • Operating System:
      • W10 Pro
      • Monitor(s):
      • HP LP2475w + Dell 2001FP
      • Internet:
      • VM 350Mb

    Re: web hosting (but I think I need an application server)

    Quote Originally Posted by b0redom View Post
    Be aware if you have root on the box that is wired directly into the Internet, you need to be a LOT more careful than a server sitting on a box at home. You are far more likely to be rootkitted.

    "I'm a bit rusty on Linux..."

    Fills me with dread.
    I know, but as they say, with great power comes great responsibility I'm used to it, and maintain some scary stuff where I'd get killed if I screwed up (and that's not just a metaphor!) so know what to do and what not to do.

    Looks like I may be going for the hosted version of JIRA after all, which minimises the maintenance work. However, if others have VPS suggestions, I'm all ears.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Help connecting to a remote MySQL server...
    By chicken in forum Software
    Replies: 10
    Last Post: 27-11-2007, 11:52 AM
  2. Web Hosting
    By madman045 in forum Networking and Broadband
    Replies: 9
    Last Post: 29-01-2007, 10:28 PM
  3. Web hosting? (UK)
    By fingers in forum SHOPPING AND CLASSIFIEDS
    Replies: 12
    Last Post: 22-09-2006, 10:24 AM
  4. Buying a Hosting Server..Please Advise
    By realm in forum Software
    Replies: 5
    Last Post: 31-01-2006, 08:00 PM
  5. Java Web server / HTTP proto question
    By Purple in forum Software
    Replies: 9
    Last Post: 13-10-2004, 10:50 PM

Posting Permissions

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