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.
# 1  
Old 11-04-2018
Dudes, this is a minecraft server. I dont really care about security, ive lost everything multiple times before due to hosting issues and I gotta tell you it wasn't the end of the world. The community adapted.



My issue now is that we are running the latest snapshot servers and they are really unstable. They shut down randomly because of updates or bugs and there is nothing I can do about that. 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. They already have RCon at their disposal but that doesn't help them start the servers after they have been stopped. Now a few simple buttons with start, stop, restart is probably not so much of a security risk and let them hack me if they want to waste their time cause there's no secure info kept on these servers.
# 2  
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.
# 3  
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...
# 4  
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:
# 5  
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.
# 6  
Old 11-12-2018
or you could install webmin
# 7  
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