-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some help for a new linux user. #126
Comments
Hmm, which linux distribution are you running? For setting the locale, I would recommend doing the following (do the first one as root): apt-get install locales && dpkg re-configure locales also, try adding the following line to LANG = "en_US" |
I'm running ubuntu server 12.10 if i'm not wrong. The problem is not the local thingie, that I fixed allready. It's that i'm a bit lost in the installation of this startup file on linux. Starting with this: sudo ln -s ~/minecraft-init/minecraft /etc/init.d/minecraft should I just copy paste this or do i have to place instead of "~/minecraft-init/minecraft" the location of the "minecraft" file ? |
You should replace ~/minecraft-init/minecraft with the location of the minecraft file (in the first and second commands). What these three commands do are link the minecraft init script to /etc/init.d/minecraft, which is located in the startup folder, and then tell the system to start the server upon start-up and stop it upon shutdown. |
Ok, thanks for the quick help. I'll try that out! |
Well thanks again for the help. The server is running! I was just wondering if I type screen -r minecraft I always get There is no screen to be resumed matching minecraft? Another thing, I'm using Multiverse, So If I create a new world for instance "FUN" this will be directly generated in the map "minecraft" do I need to put him in "minecraft/worlds" to? Greetz |
Did you try installing screen? Run the following commands as root: apt-get update
apt-get install screen |
I had not but after installing it's just the same... I can start it by just entering screen (I did removed the annoying startup message) then I've got a blank screen... But I can't switch... if i do screen -r I get this: root@Server:/# screen -r |
Try |
Still no screen to resume... I did correctly install screen. |
Another quick question, I've got a running server with maps and such. Should I put those maps in the map /worlds ? or just let them in the map "minecraft" ? because this is said in the readme: |
The maps should go in the folder specified by the variable DaLuke wrote:
|
Ok, that was a n00b question on my behalf. Well, yesterday I did another clean install of my linux system because i f*cked up a bit to much. So today I'm doing exactly the same of what I did some day's ago but now when I hit /etc/init.d/minecraft start I get this ... Usage: grep [OPTION]... PATTERN [FILE]... (there's a minecraft.pid file in my minecraft map) pfff I'm getting crazy over here ^^ If one thing works the other one breaks instead ^^ If I retry everything (so i delete the file's in my minecraft map and then delete the /etc/init.d/minecraft) and try to do everything over I get with the update-rc.d this error: |
Ok, I should better go to sleep. I forgot to install java ^^ |
Well, I've been running a minecraft server for some time on a Mac mini, using OS X. I decided last week to put together a new linux machine. That said here's my problem.
linux is somewhat new to me. I've followed some tutorials and got everything a I need to start the minecraft server, I installed java7 and then I got here.
I adjusted the config.example file to my needs and then I was looking for the next steps and that was the symlinking...
It says:
sudo ln -s ~/minecraft-init/minecraft /etc/init.d/minecraft
chmod 755 ~/minecraft-init/minecraft
sudo update-rc.d minecraft defaults
u tried that but that gives me not that much so I've changed it somewhat. (my server is located in home/user/Minecraft/Server1)
sudo ln -s home/user/Minecraft/Server1/minecraft /etc/init.d/minecraft/minecraft (<-- Got no error)
chmod 755 home/user/Minecraft/Server1/minecraft (<-- Got no error)
But then
sudo update-rc.d minecraft defaults gives this error:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
update-rc.d: /etc/init.d/minecraft: file does not exist
but if u go and have a look in /eetc/indit.d/ the minecraft link is there (it's an orphan symlink if I'm right)
Can somebody help me out with a step by step tutorial on what I should do, type in, ...
Every help would be much appreciated!
Thanks
The text was updated successfully, but these errors were encountered: