Need help getting a web page to start a server.


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Need help getting a web page to start a server.
# 8  
Old 11-04-2018
No worries.

If you need to start and stop, then that's a different story.

I would do this with a PHP script with HTTP authentication (.htaccess) and a userid and password in the PHP login script.
# 9  
Old 11-05-2018
Yep, got all that but its still not working.



It needs to be restarted because its a minecraft snapshot server which means it is still in development, they are not full stable release versions. My community likes to play on snapshot servers because it gives them a preview into what's coming in the next full release. So as you see, there is nothing I can do about the server shutting down except report it to mojang as I regularly do.
# 10  
Old 11-11-2018
Quote:
Now my server managers really would like to be able to start / stop servers through a web app rather than having to login and go to cron jobs all the time.
Why would they have to login? The cronjob is doing the job right? Have it check every 5 minutes or so and you should be fine. Am I missing the point here?
Also, I am agreeing here that you are neglecting the problem...
# 11  
Old 11-12-2018
Need help getting a web page to start a server.

First, let's try hosting a website using your personal computer with the Windows operating system.
Step 1: Install the WAMP Software.
Step 2: Using WampServer.
Step 3: Creating an HTML Page.
Step 4: Configure MySQL.
Step 5: Make the Site Public.
Step 6: Using a Domain Name.
Step 1: Install Software.
Step 2: Check PHP.
This is the best technique for solving the Web page to start server.
This User Gave Thanks to Marck For This Post:
# 12  
Old 11-12-2018
or you could install webmin
# 13  
Old 11-12-2018
Marck
The LAMP is already working and the script obviously runs because I get output on my screen but possibly doesn't start the server because its running in the wrong directory or needs permissions to execute the screen command, how could a windows box help?


Thanks jgt, I already have webmin installed but it doesn't provide what we need. Though I welcome your post as it may help others. On a side note, don't use webmin for secure servers with secure data.
# 14  
Old 11-12-2018
Setting up a secure LAMP server and writing a user id and password authentication form is NOT rocket science.

Why so much churn over a simple basic technology which is used my millions upon millions of people daily?
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Web Development

Unable to start the apache web server

Hi All, I'm getting this below error bash-4.1$ ./apachectl -k start (98)Address already in use: make_sock: could not bind to address hostname:18000 no listening sockets available, shutting down Unable to open logs I tried to change the port number, still same error: ... (5 Replies)
Discussion started by: raghur77
5 Replies

2. Web Development

Call shell script from HTML page - without web server

Hi, I have html page in my unix machine(server), which I will open with firefox or mozilla available in unix machine. Firefox or mozilla will be opened using x windows. Since I have access to unix machien(like other users) and this HTML page is for user having access to Unix machine, I see no... (7 Replies)
Discussion started by: vamanu9
7 Replies

3. Cybersecurity

APACHE: Tie in Web Page login with server login

Hello, I have created a web page on a server using apache and added .htaccess and .htpasswd in the folder for authentification. I was wondering if there was anyway to tie-in the login for this page with the login used to logon to the server. i.e. the same login info. is used for both, when... (1 Reply)
Discussion started by: WhotheWhat
1 Replies

4. Web Development

APACHE: Tie in Web Page login with server login

Hello, I have created a web page on a server using apache and added .htaccess and .htpasswd in the folder for authentification. I was wondering if there was anyway to tie-in the login for this page with the login used to logon to the server. i.e. the same login info. is used for both,... (2 Replies)
Discussion started by: WhotheWhat
2 Replies

5. UNIX for Dummies Questions & Answers

Opening web page in remote server

Hi all, I am new to UNIX and so am struggling a bit on using the right commands. I am working on a remote UNIX server and i need to load a web page using firefox. I can use the client IP address to access the web page but i am not able to do so because the command i am typing is wrong. ... (1 Reply)
Discussion started by: greg15
1 Replies

6. Solaris

Solaris 9 Web Start Upgrade using -nowin - still complains about X server

Hi there. I'm trying to upgrade a Sun Blade 100 to Solaris 9. I downloaded and burned the install, disc 1, disc 2 and tools CDs from Sun. I turned off auto-boot, put in the CD and enter the following: # boot cdrom -nowin The cdrom boot starts, and I get prompted to choose a language... (2 Replies)
Discussion started by: calenti
2 Replies

7. Shell Programming and Scripting

finding the web page on server

Wish you all a very happy new year. I have a web url "http://marabou.mis.amat.com/cgi-bin/iman?IMAN_server_report=full" where marabou.mis.amat.com is my server name. the page content is below. ********************************************************* TcEng Web server report Thu Jan 4... (4 Replies)
Discussion started by: Krrishv
4 Replies

8. UNIX for Dummies Questions & Answers

Accessing Web Page

Hello, I am new to unix, but wanted to know how can we fetch data from a web page (i.e. an HTML Page), my requirement is to read an html page and wanted to create a flat file (text file) based on the contents available in the mentioned HTML page. Thanks Imtiaz (3 Replies)
Discussion started by: Imtiaz
3 Replies
Login or Register to Ask a Question