Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I'm running Centos on an old PC, I am trying to get a vanilla minecraft server running and I am able to launch it and have it working/running but when I try connecting to it it doesn't work. I think this has something to do with CentOS because I did the same steps on Ubuntu and it worked.
Things I have tried
Set up internal static IP
Port forwarded and did one to one nat
Disabled the firewall (not SElinux)
I still can't get it working, anyone willing to help?
You don't offer enough information to offer much help. CentOS is not the best choice for something like this because it uses and older, trusted kernel which doesn't have all the latest bells and whistles. Most of the tutorials I've seen concern Ubuntu. Do you have Java installed correctly? Is SElinux configuration interfering with it? You have to know what's NOT working to figure out how to make it work.
1. Yes I have Java installed (the actual java from Oracle, not the JDK one)
2. The Minecraft server launches up and runs in the command/terminal however I can't connect to it. I believe something in CentOS is blocking communications, I suspect its SELinux since I added the port required for minecraft (25565) on the CentOS firewall.
3. I have found, with trying Debain, and Linux Mint XFCE that CentOS is the best option for me. The reason to this is because CentOS is the only Linux distro I have found to actually get vsftpd3.0.2 installed on and working with the settings I need, while all of the distros did have vsftpd in their repository they had an older version which does not support a certain command I need to lock users in their home directory,(same as CentOS) yes I tried downloading the newer version but for some strange reason the .deb didnt work in Debain (required an older version of some lib package) but it worked in LinuxMint however I ended up needing to install SELinux to enable ftp_home_dir which when I installed SELinux on Mint it completely disabled my internet....so to sum it all up CentOS has been a good OS to me. I may try Debain possibly once more because of how it comes installed with so many more programs than CentOS but I find the .rpm packages on CentOS work better than the .deb packages. The .deb packages leave me one after another searching for a dependency.
The Minecraft server launches up and runs in the command/terminal however I can't connect to it. (..) I believe something in CentOS is blocking communications, I suspect its SELinux since I added the port required for minecraft (25565) on the CentOS firewall.
Attach plain text "/tmp/output.txt" file from running:
With all due respect but is disabling something without any indication the right / most efficient approach?
He wouldn't want to permanently disable it, but it's the most efficient way to see if it's SELinux or something else that's causing the problem. If disabling it fixes the problem, then he would want to re-enable it and work on adding an exception so they can work together. If disabling it doesn't fix the problem, then he needs to look elsewhere. It's all about reducing the number of potential failure points until the cause of the problem is found, then properly fixing the problem and re-enabling everything that was disabled during the hunt. Since in my experience SELinux has been the cause of about 99% of my network failures when setting up a new service, I think it's a good place to start.
Last edited by suicidaleggroll; 05-08-2013 at 09:39 AM.
I agree it's about reduction but IMHO the most efficient way to see if it's actually SELinux would be looking at the log file for the simple reasons 0) it doesn't require changing anything plus 1) it's what log files are for ;-p