Jump to content

Krydos

Chief Executive Officer
  • Posts

    26430
  • Joined

  • Last visited

  • Days Won

    944

Everything posted by Krydos

  1. The easiest way to get started with python on a server is with cgi. Really the only difference between cgi and running the script on your home computer is cgi needs to output a content type header. Open file manager https://johnny.heliohost.org:2083/frontend/paper_lantern/filemanager/index.htmlDouble click public_htmlDouble click cgi-binIn the top left click + FileType test.py as your filenameClick Create New FileHighlight the test.py file and click PermissionsCheck execute on all three columns so it says 755Click Change PermissionsClick reload and make sure the 755 shows up under the permissions columnHighlight test.py and click Code EditorLeave UTF-8 as the encoding and click EditCopy/paste this in #!/usr/bin/python3.7 print("Content-Type: text/html\n\n") print("Heliohost rules!") Click Save ChangesGo to http://silverb.heliohost.org/cgi-bin/test.pyIf everything worked it should say "Heliohost rules!" in your browser. The first line is the shebang. That's what tells the server which version of python to use. On Tommy and Johnny you can pick between #!/usr/bin/python2.7 version 2.7.13 #!/usr/bin/python3.7 version 3.7 and python3.6 for Ricky. You can see the modules that are currently installed on the Johnny python versions at https://krydos2.heliohost.org/cgi-bin/modules27.py https://krydos2.heliohost.org/cgi-bin/modules37.py If you don't see the module you need your script will probably give a useless 500 error when you try to import the missing module. Just make a post here on the forums stating your server, the version of python you're using, and the module you need. The next line is the content type header. This is important so the server knows what to do with the output that follows. If you forget it your script will give a useless 500 error. The content type header always has to have the two end lines immediately after it. That's what the \n\n is. Let us know if you have any other questions.
  2. Namecheap currently has .coms for $8.88, and some other domains as low as $0.48 per year.
  3. Ah, I looked at the source of your wordpress install, and it looks like you got hacked. This is really common with wordpress. Check out index.php. See how it includes wp-admin/8? Then look at wp-admin/8 and it's full of spam. The most common reasons for wordpress to get hacked is outdated wordpress software, downloading plugins with backdoors, or installing themes with backdoors. We always recommned only installing themes and plugins from reputable sites. Most free themes and free plguins are just disguised malware. You probably should wipe your entire wordpress install and start again with a fresh install. Or better yet don't use wordpress at all. Wordpress is hands down the easiest cms to hack and the most commonly targeted.
  4. It looks like that domain is hosted with hostinger so you'd have to ask them.
  5. Yes, in order to run a java script on your account you will need to request and get java enabled on your account. On Johnny the queue to receive java is pretty long, but on Tommy it generally only takes several hours.
  6. Are you talking about gemsinthecountrycrystals.cf or some other domain?
  7. You can do that with cgi. Just put your python script in the cgi-bin and send your strings POST or GET to the url, and the server will send the output of the python script back.
  8. There is no account named betbit, but I assume you're referring to betnbit? Unarchiving... Done. http://betnbit.heliohost.org/
  9. There is no account with that username. I assume you found the page to delete your own account and the deletion has completed already. Let us know if you need help with anything else. Upon further consideration, I think you might mean your forum account. Since you've only ever made this one post I'll delete it too.
  10. Yes, there are plans to implement node.js. You can like us at https://www.facebook.com/HelioHost.org and follow us at https://twitter.com/heliohost for the latest news.
  11. Your account was created about 4 hours ago and you should be able to login at https://www.heliohost.org/login/ , but your webpage is still queued. Since you picked the Johnny server your website can take up to 24 hours for the queued page to go away. This delay is to reduce overall server load. On the Tomnmy and Ricky servers the website starts working within minutes.
  12. Your account does not currently have any open mysql connections.
  13. Please disregard any Tommy invitation emails. Transferring... Done. http://albert72.heliohost.org/ If you see the Johnny queued page be sure to clear your browser cache and flush your OS dns cache. Thank you very much for the donation. We really appreciate it.
  14. Just download the source for that software, and upload it. Composer doesn't do anything that you can't do with sftp.
  15. Deployed. https://shuffly-backend.heliohost.org/shufflyMusicBackend/
  16. I can edit the post if it's important to you to have your domain removed from our forum. Post a link to it. But the other guys are right. Usually any links to your site are good links as long as they don't come from known spam sites. Since helionet.org is a well respected and old source on google and other search engines, having a backlink on our site will actually boost your search engine rankings. Sites that have few or no backlinks rank much lower. People usually pay quite a bit to have backlinks such as you have from websites like helionet.org. The reason the Helionet results rank so high is because, like I said, we're well known and respected by the google algorithms.
  17. Since you picked the Johnny server it can take up to 24 hours for a new ssl cerificate to start working. On the Tommy server ssl certificates begin working within seconds. Plus Tommy has AutoSSL that installs a free SSL certificate for you automatically.
  18. Your account is now on Tommy. You may need to clear your browser cache or flush your OS dns records if you see the Johnny queued page. http://viridi-pollicis.heliohost.org/ Thank you very much for your donation. We really appreciate it.
  19. Deployed. http://teniscp.heliohost.org/Tennis/
  20. Cool, thanks again.
  21. We don't have that version on any of our servers. We do have 3.6.0 and 3.6.1 though. Are you sure your script requires 3.5.3 or can you rewrite it for 3.6.x? Django can only be installed on one version of Python at a time per server. We're planning on doing Python 2.7 on Ricky when we get him running soon. Tommy's django is already installed on 3.6 and he's not going to be downgraded to 3.5.3. I'm assuming you need them installed on Tommy's django python version so I went ahead and installed django-rest-framework 3.6.4 and geopy 1.11.0. https://krydos.heliohost.org/cgi-bin/modules36.py
  22. Deployed. http://teniscp.heliohost.org/Tennis/
  23. 1) By default the deployment script only deploys on http because deploying it on https as well takes twice as many system resources and not everyone needs it. If you ask it can manually be deployed on https too. There you go https://shuffly-backend.heliohost.org/shufflyMusicBackend/ 2) No, unfortunately the log files contain information pertaining to all of the accounts on the server that have java enabled. It would violate our terms of service to grant you access to them because then you would be able to see private information of the other accounts. I'm not sure anyone has ever tried this, but you may be able to write to a log file from within your servlet by using the absolute path /home/shuffly/public_html/tomcat.log or something like that. The tomcat server runs with pretty limited permissions for security, but it may work.
  24. The problem that you're going to probably encounter with sockets is our firewall is going to block all of the ports except the ones that already have services on them like port 80 has apache. What exactly are you trying to do by connecting remotely to a socket on the server?
  25. All of the backups from Stevie are located at https://www.heliohost.org/backup/ The final attempt to retrieve any additional information was over 8 months ago https://www.helionet.org/index/topic/27235-manual-backup-results/ You will need to use the backups that you've been taking on your personal computer since 2008.
×
×
  • Create New...