User Controls

GNU bash, version 4.2.46(2)-release (x86_64-redhat-linux-gnu)

  1. #1
    Mighest Houston
    I currently SSH into my server at Hostinger. But I'm not sure if its an actual Linux OS or some other type of service that behaves like one.

    I didn't sign up for a virtual server, just web hosting and email, but there is an option for SSH access.

    There is no 'su', 'sudo', 'yum', 'apt', or 'rpm', commands on this OS.

    My goal is to install shit onto it but I'm only used to Ubuntu.

    What should I do?
  2. #2
    ner vegas African Astronaut
    https://unix.stackexchange.com/questions/105/chroot-jail-what-is-it-and-how-do-i-use-it
    The following users say it would be alright if the author of this post didn't die in a fire!
  3. #3
    They all provide SSH access now cos SSH is used for SFTP and a rake of other stuff. It's provided for you to be able to transfer files and get/check logs.
  4. #4
    maddie Tuskegee Airman
    uname -a or -r if available.

    Could it potentially be a BSD box? Try doas instead of sudo
  5. #5
    Mighest Houston
    Originally posted by maddie uname -a or -r if available.

    Could it potentially be a BSD box? Try doas instead of sudo

    Linux us-phx-web562.main-hosting.eu 4.18.0-513.9.1.lve.el7h.x86_64 #1 SMP Mon De
    c 4 13:57:13 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
  6. #6
    Mighest Houston
    I think its like Aldra said.

    I'll need to purchase a virtual server.

    This one is only for testing and getting things set up.
  7. #7
    A College Professor victim of incest [your moreover breastless limestone]
  8. #8
    Originally posted by Mighest Linux us-phx-web562.main-hosting.eu 4.18.0-513.9.1.lve.el7h.x86_64 #1 SMP Mon De
    c 4 13:57:13 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

    LVE = lightweight virtualised environment and el7h is a version of Cloudlinux. It uses OpenVZ.
    The following users say it would be alright if the author of this post didn't die in a fire!
  9. #9
    maddie Tuskegee Airman
    Originally posted by Mighest I think its like Aldra said.

    I'll need to purchase a virtual server.

    This one is only for testing and getting things set up.

    Yeah i actually read the entire post after i said the uname thing.. Aldra i think is correct as well. sorry for the waste of a irrelevant post before.
  10. #10
    Mighest Houston
    This is what I want to do...

    Have a website that allows people to input data into text boxes and submit the data by pressing a button. Once the button is pressed, the data will be submitted on another website. The data will also be saved for my own desires.

    Hostinger allows me to install by selecting from a list. There are a lot of choices. Choices like phpMyadmin, WordPress, WooComerence, Joomla, Mantis, CAKEPHP, and more.

    I do have python so I can run python scripts but haven't tested the network yet.
  11. #11
    ner vegas African Astronaut
    if you can install those you can use php so you can probably write a script to save form data then forward it on, maybe try curl
  12. #12
    Mighest Houston
    Originally posted by ner vegas if you can install those you can use php so you can probably write a script to save form data then forward it on, maybe try curl

    What should I use? I installed phpBB with the goal of modifying it for my needs but I think its a bit more than what I need.

    I was thinging of modifying the registration page for what I need but phpBB is a complete forum, so its a bit more than what I need.

    I want something smaller in size. Basically just one to three pages of user input.
  13. #13
    ner vegas African Astronaut
    phpbb is a bbs application, you don't need that

    if you have php you can just create a forward.php and put your code in there, no frameworks or applications required. I haven't tried to do anything like that specifically for a long time so check this:

    https://stackoverflow.com/questions/6180072/php-forward-data-post
    https://stackoverflow.com/questions/8618384/redirecting-to-a-different-url-using-php-and-passing-some-post-variables-parame

    using libcurl is probably the best way to do it, I believe you'll need one page (form.php) for the form that submits to the next page (record.php) which writes the data to a file and uses curl to redirect to the actual page

    I'll see if I can write some code later if you don't work it out
    The following users say it would be alright if the author of this post didn't die in a fire!
Jump to Top