Ubuntu :: How To Fully Automate A Minecraft Server
Jun 29, 2011
I'm trying to fully automate a Minecraft server, and I decided to use Ubuntu 11.04 on this computer. The computer I'm using for it is an old computer (it's the old family PC, it's about 5 years old (and running amazingly now that I've formatted the hard drive (compared to how it used to run))) so it won't run the Unix environment (or something like that) and runs the Gnome environment instead.
Anyways; the server auto-starts when my computer turns on (my computer also automatically turns on). Now all I need to do is have my computer auto-shutdown at 12:00AM as well as enter the command "stop" into the running terminal. I plan to later add more commands (such as automatically welcoming people to the server when they connect, but that's not important right now and I'll likely be able to figure out if I can get this working).
This is the command I'm using to shutdown the computer:
sudo shutdown -P 24:00
However, it doesn't work. First of all, I need to enter my password, so I need some way to have the shell file enter my password for me whenever the terminal asks for it. Second of all, it just plan doesn't work, even if I enter my password (like, the countdown doesn't appear). As for entering commands into the terminal, the only way I can think of is:echo "stop" But the problem is that doesn't work because it wont enter into the running terminal (and I don't know how to do that).
View 9 Replies
ADVERTISEMENT
Aug 20, 2011
When I open the minecraft.jar file with p7zip on Linux, I can't delete the META-INF folder.
This is the error:
Error: /home/davide/.minecraft/bin/minecraft.jar is not supported archive
System error: Operation not permitted
View 1 Replies
View Related
Apr 21, 2011
i'm looking for a way to set up my Bukkit server (Minecraft) with a mysql server on Ubuntu 10.04LTS
View 1 Replies
View Related
Aug 27, 2011
I have 2 computers on the same network that i need to link together to transfer files 1 is a web server the other is a minecraft server. the problem is that the file transfer will be constant as the minecraft server will constantly updates files on the web server and I dont want it to go to the router then to come back to the web server. I want to add a second network card to each computer and link them together and use this second connection to transfer the files is it possible?
View 2 Replies
View Related
Mar 21, 2011
I recently loaded up my old powermac g3 with debian 6.0 PPC, and it seems to be running quite good. I control it using ssh from my windows 7 box. I installed default-jre, so I could run the minecraft server on there.
I've got two questions: I installed Openvpn, but I'm a bit confused on how to use it.. I want people to be able to connect to my vpn network over the internet, what configuration should I use, and could someone maybe link me a decent step by step tutorial?
secondly, when I tried to launch the server, it tried to generate a new map, but this is taking ages! on my desktop computer, it only took two seconds, but after over half an hour, it only got to 20% of "preparing spawn area" what could be wrong with this? Any reason why the java virtual machine would have performance issues? I have no clue.. I haven't tried copying over my smp map from my windows box yet, and launching that.. but I doubt performance will be any better. (my windows 7 machine is hosting at the moment for about 10 people)
View 1 Replies
View Related
Dec 25, 2010
I want to make a script that specifies how much ram to launch minecraft server with, so far I have:Code:read $ra
java -Xmx$raM -Xms$raM -jar minecraft_server.jar noguibut I knowthat that won't work because there is the M at the end of the variable $ra, is there a way I could make this work? I believe that the M at the end is required to specify the measurement unit.
View 1 Replies
View Related
Feb 5, 2010
just installed server edition... and is there a way to automate the server login?or through ssh because i want to get rid of the monitor i have plugged into it
View 1 Replies
View Related
Oct 24, 2010
Using Debian Lenny I'm getting the following message in my mail: /etc/cron.daily/logrotate:
Quote:
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
View 1 Replies
View Related
Mar 23, 2011
I get the following error while starting apache httpd
Code: httpd: Could not determine the server's fully qualified domain name, using <Server's-ip-address> for ServerName I googled it and have come across the following solutions, all of them involve changing the ServerName setting in httpd.conf:ServerName localhost ServerName www.example.com:80 ServerName <ip-address-of-server> ServerName <hostname-of-machine/FQDN>
I am setting up httpd to be accessed from over a LAN, so i don't have a .com domain name. I am thinking of going with the first option, it seems to be working...
View 5 Replies
View Related
Sep 10, 2010
I have a java service that needs to be run in a gnu screen session so that I can -r into it to access it's interactive shell. I would like this to run at start-up. More importantly, it crashes frequently so I need the service to restart itself when it crashes. How do I go about doing this myself? My previous experience with shell scripting amounts to putting ./service in a file and marking it executable. This will be running on a FreeBSD server, but I might put it on a Linux server soon also. So any caveats on the differences would be useful information.
View 6 Replies
View Related
Apr 16, 2010
right i wouldn't ask without searching first but i didn't find a full guide on how to setup an irc server including hosting it on a irc.*.com sub-domain and including things like chanserv
View 3 Replies
View Related
May 13, 2011
I have been working on NTP to find out resolution of my issues unable to find. let me briefly explain here. I have three servers and no server is fully synced with remote NTP server.I don't know why it sync time alternatively with remote NTP server and LOCAL whereas there is not issue in connectivity/reachability of NTP server and NTP clients. Also server 1 reporting kernel time sync disabled 0001.
View 6 Replies
View Related
Mar 8, 2009
I need to know how to configure automate sending sms if server reboot and shutdown? Now i just set sms notification once my server it's UP by create scripts in /etc/rc.d/rc.local while booting then from server sending sms notification. SMS - using gnokii attached mobibe phone. Server - Fedora 10
View 3 Replies
View Related
Feb 7, 2010
finally i found the script for telnet automated login session...<<Mod edit: questionable link removed>>
View 4 Replies
View Related
Jan 17, 2010
I am getting this
[root@ncc1701 ~]# hostname
ncc1701
[root@ncc1701 ~]# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using 63.123.155.104 for ServerName
[ OK ]
problem is that I have no idea where it is getting the 63.123.155.104 address from. Its not mine and its not the IP of the server..
View 4 Replies
View Related
Mar 19, 2009
I decided that I'd torture myself and try to get a server up and running with SELinux fully enabled. I so far have figured out virtual hosting, vsftpd, and SSH to work with it nicely, but I can't figure out what to do to get AWstats to be viewable through a browser with SELinux enabled. This is what I get from /var/log/messages:
Code:
Mar 19 15:09:34 localhost kernel: type=1400 audit(1237496974.987:69): avc: denied { getattr } for pid=4769 comm="httpd" path="/usr/share/awstats/wwwroot/cgi-bin/awstats.pl" dev=sda1 ino=1267968 scontext=unconfined_u:system_r:httpd_t:s0 tcontext=system_u:object_r:httpd_awstats_script_exec_t:s0 tclass=file
Mar 19 15:09:34 localhost kernel: type=1400 audit(1237496974.987:70): avc: denied { getattr } for pid=4769 comm="httpd" path="/usr/share/awstats/wwwroot/cgi-bin/awstats.pl" dev=sda1 ino=1267968 scontext=unconfined_u:system_r:httpd_t:s0 tcontext=system_u:object_r:httpd_awstats_script_exec_t:s0 tclass=file
Could someone explain to me what I should be looking for in these messages? Or what I would need to do to fix it?
View 2 Replies
View Related
Jun 9, 2010
I am facing an error:"Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using TestServer.localdomain.com for ServerName"When I am restarting the httpd service.Can anyone please tell me what is this error about & how to fix it.bare with me as I am a newbie, so kindly requesting for the easy explanation.steps to set the Domain name.
View 1 Replies
View Related
Feb 21, 2011
I have looked around almost everywhere for a way to run Minecraft on my PowerPC with Maverick, but nothing seems to be working. I'm not sure if it's a problem with getting Java on here (which I can't seem to do without it saying you have to have some other Java file there, or something) or a problem with liblwjgl.so (which is apparently not compiled correctly for PPCs).
View 3 Replies
View Related
Aug 2, 2011
Can i run Minecraft with ubuntu 11.04?
View 4 Replies
View Related
Jan 4, 2011
Have found nothing useful Minecraft has crashed!
Minecraft has stopped running because it encountered a problem.
View 6 Replies
View Related
Jan 24, 2011
I'm trying to run minecraft.jar. The download page states that the .jar is executable, but when I try to run it it's as if it was a tarball rather than an executable file. I don't want to extract anything, I want to run it. I tried the instructions on the website: Code: java -Xmx1024M -Xms512M -cp Minecraft.jar net.minecraft.LauncherFrame but that didn't work, and I got this error:
[Code]....
View 3 Replies
View Related
Jul 22, 2011
I am trying to download and play minecraft and i cant for the life of me get java so is there and apt-get's I can use to find java?
View 5 Replies
View Related
Feb 14, 2011
I'm trying out the old, free version of Minecraft, and I cannot seem to be able to move. If I press F9, I sometimes get an options screen, and sometimes not. I have F9 bound to scale in Compiz, though I had the same problem with Metacity. If I press any of the movement keys, I do not move, though I can use my mouse. I'm using sun-java6-plugin.
View 1 Replies
View Related
Apr 4, 2011
i cant get minecraft to work on kubuntu i found a thread that helped install a different java but i am unable to complete the install because i can not press ok for some reason.
View 2 Replies
View Related
Dec 21, 2010
I downloaded an old save that i used when I used to use windows, i switched over to ubuntu and i want to use it again, but i have no clue where Minecraft stores its saves, i know in windows it was the "appdata" folder.
View 3 Replies
View Related
Jul 24, 2011
each and everytime I close Minecraft window it puts my 1024x768 15" screen from 75hz to 60hz and this occurs EVERYTIME I close Minecraft, I have tried uninstalling then re-installing Minecraft.
View 1 Replies
View Related
Aug 17, 2011
I wasn't sure weather to post here or on the minecraft forums.
OS: Ubuntu 11.04 x86
CPU: Intel core i5 sandy bridge 2410M
GPU: Intel HD 3000 (Integrated)
RAM: 8 gigs ddr3
So I got my new laptop a few days ago,loaded up ubuntu.After starting up minecraft to connect to my server I realised that the fps was going from 50 to 1 and back to 50 again EVERY SECOND so obviously this isn't normal.After a quick google search every one on windows seems to have no problem. There are no results for linux.
Edit: Yes I know why the are you using a x86 os on a computer with 8 gigs of ram? At the time of installation all I had was no internet access and a live cd from LUD with ubuntu on it
View 5 Replies
View Related
Apr 7, 2011
I'm on Ubuntu and I don't lag none the less at all. Is there a goood video tool that can help me record minecraft with little to no lag at all? Or some trick because I think I set my java priority higher than usual. I have only 2GB of RAM
View 5 Replies
View Related
Apr 14, 2011
Ok so i have just searched and searched and i have minecraft on my cumputer and i run it and click run offline and it goes black and after about 5-10 seconds this error comes up in the minecraft window
--- BEGIN ERROR REPORT a1dce528 --------
Generated 15/04/11 12:49 PM
Minecraft: Minecraft Alpha v1.1.2
[code]....
View 3 Replies
View Related
Jan 10, 2016
I can run Minecraft if I log in to su but I have a user to whom I do not wish to give su permission. If I try to run Minecraft from the terminal without signing into su first, I get a lot of error messages that I do not understand. I think it might have something to do with having to give the user permission to run java but I am not sure.
Here is the output:
Bootstrap (v5)
Current time is Jan 9, 2016 5:31:46 PM
System.getProperty('os.name') == 'Linux'
System.getProperty('os.version') == '3.16.0-4-amd64'
System.getProperty('os.arch') == 'amd64'
[CODE].....
View 2 Replies
View Related