Ubuntu Based MineCraft

Good Morning from my Robotics Lab! This is Shadow_8472, and today, I am setting up a MineCraft server on Linux. Let’s get started.

First off, WOW! I never would have expected it. I had heard Android was a version of Linux before, but, WOW! So, Ubuntu MATE is designed to be beginner friendly and easy for Windows users to find their way around, but there are still some “cultural differences.” The first of these cultural differences I is the file system. Where Windows has their C drive, Linux might have /dev/sda/ or something else. I don’t have it figured out yet, but it apparently can let someone know what partition of what drive they are looking in. The other major difference I noticed is the Software Boutique. It looks just like a miniature version of Android’s Play Store would if it were meant for a desktop. Only now when I look it up do I find that it’s a relatively new feature.

The aforementioned Software Boutique is where you get your programs. Windows users are in the habit of going out and downloading programs from online, hopefully from a trustworthy source. If you end up with something less than honest, your virus scanner will hopefully catch it before it can do any damage.

Good Linux users are in the habit of using package managers. All I know about them so far is that they are databases of trusted software that can also keep your software up to date with spontaneous security patches and things. That brings up the other comparison, security. Windows is the big target when making viruses. Linux was designed with security in mind, and it isn’t the go to OS for most desktop users. Both factors make it less tempting to aim at Linux when building a virus. Long story short, if you maintain good habits when playing with Linux, you don’t need to run a virus scanner.

Another thing I noticed, performance. When Windows 7 was running on there, It was chugging along as if burdened by old age. Now, I’d say it’s running like a middle-aged system. It has its slowdowns, sure, but that was running two clients of MineCraft off internal graphics. I think this computer will do nicely for my purposes.

This brings me over to setting up a MineCraft server. The client was happy with OpenJDK, the free and open source version of Java. When looking through the Software Boutique, I spotted the server and grabbed that. Too bad it wasn’t as care-free as it’s resource happy counterpart, Client. So far, I have learned that I will need to assemble a .bat file to put the server files where I want them. If only I knew how to do it, I could be done in 30 seconds…. The thing about obsolete tutorials, though, I’m going to need to assemble my own instruction set.

***

OK… It looks like I am learning about bash files and the command line before I get too far.

***

I have seen things I rightfully shouldn’t know until about a year from now. Too much to rightly cover. All I wanted to do was automatically start and stop the server after startup and before shutdown respectively.

Backing up a little, I got onto a help session with another Linux user. I don’t remember his screen name, but he advised me that not all software need be downloaded from a software repository. Big enough names, like MineCraft, should be safe enough to download directly

On that note, I used Firefox to download Discord as well, and was given a package file to deal with. It was either that or a tar.gz file I wasn’t sure what to do with, even after looking up the format.

Looking up server automation techniques, I came across powerful features that, after thinking about it, might have ruined my system if I played around with them too much. I kind of felt like I was staring into an active reactor, knowing I could stick my hand in to either disrupt everything, or find out nothing happened after all. For the curious, Linux has a different Runlevel for various functions, such as boot up, shutdown, restart, single-user, etc. At this point in my exploration, I had to gather most of my information from bits and pieces from scattered around forums and the like, so I don’t have any links to share. I did come across a few terms, many of which are obviously important, yet none of which I have fully sorted out/differentiated. I’ll just be happy to get my Spigot MineCraft server running and updating, then I think I’ll call it a week; scripting can wait, I have a more hands on project for next week.

***

The Spigot server is up. It turns out it had nothing to do with packages. When I first went through the process of getting the tools to compile the server, I accidentally disregarded the file I was in. All the mess ended up on my desktop. I sent the offending files to the trash and redownloaded and recompiled in a special folder for building such files: a ‘factory’ so to speak.

***

There is still much to explore with just this one distro. After I get a little more comfortable looking at the foreign grammar that is that which is used in the Linux terminal, I’m planning on reevaluating the lazy computer. I see two likely paths for it. After redoing its thermal paste, I’m planning on moving it over to Ubuntu and leaving it running for a few days, possibly under stress test conditions. If it holds up, I will move it in as my toy desktop and my current toy desktop gets moved to a server version to run the family’s MineCraft worlds. On the other hand, If the stress test fails, I can see the computer being parted. I know its BlueRay reader is superior to my current DVD reader. The Ubuntu machine has already inherited its old screen and speakers, which were surround sound, if there was a discrete sound card. I ended up pulling the rear speakers from the setup because they were buzzing otherwise.

I learned a lot this week, and I will say: it pays to know what it is you are supposedly doing. A series of instructions may be just someone’s preference or the way things must be done. If you ever find yourself maintaining anything, go ahead and learn a little bit more about it. You might pick up a few new tricks. Final Questions: Do you play MineCraft? If so, what was the version you started playing? And do you run a server?

A New Tower to Play With

Good Morning from my Robotics Lab. This is Shadow_8472 and today, I’m inspecting a new to the lab, quality used computer. Let’s get started.

This is going to be another progress update post. If nobody objects, I think these will end up being the defacto standard post type. Anyway, the first thing I noticed about it was the Dell name brand. From what I have read, they tend to make good Linux machines.

My plan at this moment:

  1. Boot the machine as it is.
  2. Burn a CD or DVD with an image of its hard drive.
  3. Install Ubuntu MATE.
  4. Get the system stable.
  5. MineCraft server

I expect to finish through item 3 this week. Eventually, I’d like to learn the command line and how to remote in. After I get an idea of the command line, I can see about turning it into a server version and/or find a more appropriate distro for running a MineCraft server.

***

Well, I was not expecting this…. The computer boots just fine, if I had a VGA cable (I think). My current setup is the box, a monitor running off a DVI adapted from a DisplayPort. The wireless keyboard and mouse are working fine, and sounds are coming from an on-board speaker.

The computer is booting to Win7, but it loses the monitor signal after the Windows logo disappears. Even so, I am not letting a little problem like that keep me from shutting it down correctly. There is no account password, so I hit Enter, then Alt+F4 to bring up the shutdown menu, then Enter again to confirm shutdown.

While diagnosing the problem, I had the computer booted to both Linux Mint and Safe Mode. Safe Mode was particularly annoying because I had to mash F8 to get there, while F12 brought up it’s boot menu by simply holding it. In either case, the DisplayPort worked correctly, and I’m inclined to just proceed to installing Ubuntu MATE. I don’t know yet. Maybe I will go ahead and image the drive onto a disk.

***

I really don’t think I will ever be putting Windows back on this machine. Honestly, I doubt it. The only thing I might consider saving is Access, but I’m not sure if the license follows the computer with it, or the person or organization who originally bought it. Also of note, for the past two days, every word I type in here has been underlined by the spell checker (unless it happens to have a number in it, like F8 or F12). It’s kind of annoying. I think I’m going to go straight to 3 now. The computer is booted to Ubuntu’s install drive now, and I’m eager to get started… but it’s just I get the feeling I’m crossing a one-way bridge with no return, and I don’t like that feeling. I just want someone else to be responsible for it, but that would undermine the whole point of doing it mostly on my own… I don’t know what I’d need to make a backup and I doubt I would use it anyway, so I guess It should work now.

Now that is weird… no more underlines under most new words. I don’t know what is wrong with my spell check. Nonsense words are also being cleared in clear sections. Before, I thought Firefox was punting spellcheck off to a glitchy database, but now, I’m not sure… I can only hope I can arrange for things to work out. Undo and redo seem to reevaluate the underlines. (I am so off topic…). Anyway, I’m going to just go for it.

***

This is it, I’m at the moment of decision and I just can’t cross. Maybe I can talk myself into it… I just need some support to do a clean install. Dual booting is harder to maintain, and I don’t see any reason to keep that copy of Windows around except to have the option open… I think I will wait a few hours and continue my work then.

***

I backed out. The VGA cable arrived and Windows 7 did a full boot. I told it to do whatever updates it’s going to do, then I’m making that CD and I’m giving that drive a full startover.

***

It’s done. My father did talk me into making a system image and repair disk, though. Protip: make sure your power cord is firmly connected when you try updating and someone is likely to bump the tower with a broken arm chair. I did not learn this lesson the first time, so it happened again. But the important thing is that Ubuntu MATE is now installed and running as the exclusive OS on the new server.

I think that’s enough for this week. I’d like to poke around and learn some more about setting up a proper Linux desktop. Eventually, I will be wanting to dual boot my personal system, but that can wait until later. Final Question: I did a lot of back and forth in this one. Would you rather read an end of week report, or a progress log?

P.S. Restarting Firefox took care of the spellcheck problem. I wonder how it started though…

Desktop Data Rescue

Good Morning from my Robotics Lab, this is Shadow_8472, and today, I am going over my first trot into actually using Linux for something. Let’s get started.

So, my family’s main computer is an aging system. This week, it decided to just not work anymore. Taking an opportunity to exercise my skills, I went ahead and emptied a USB thumb drive and started learning. And by learning, I mean failing and researching why things kept going wrong.

I started by considering the problem. I had heard Linux Mint is supposed to be stable. I used Chrome to surf over to linuxmint.com and went to downloads. I was confronted with four desktop environments. I went with MATE, as I had heard nothing to do with with Cinnamon, Xfce, or KDE. The next page gave way too many options in terms of mirrors to download from. I tried out two different links; the first mirror estimated almost an hour, and the second one, just five minutes. Another five minutes were spent moving the ISO file I had just downloaded over to the drive I had waiting (I still do not fully ISO yet, just that it is some sort of disk image).

After looking up a tutorial on setting up the bootable hard drive, I moved the ISO back to the downloads folder and formatted the drive. I followed the instructions and, soon enough, had a stick that was supposed to work. I prayed a silent thank-you prayer after the boot order was overridden in the BIOS and I saw Mint working for the first time.

Next step in the plan: get into the failed hard drive and dump everything to a new drive. Oops. Newer versions of Windows like to hibernate themselves instead of actually shutting down. Linux gave me a super long error message informing me about something like this happening. The proper fix would be to get into Windows and disable it from merely hibernating – not an option here. Another look at that error message hinted to trying to mount the drive as read only. I went to the command line and had no idea where to start. It was getting late, so I messaged a friend; he linked me to a forum post for my exact problem.

The fix worked beautifully. I connected an external drive and compared the used space on the bad drive to the empty space on the backup drive. I was pleasantly surprised to find enough space. I set the system to doing a dump and left it overnight.

Somehow, the system held up long enough to finish the dump. I was thrilled when the last of the data was saved. My father told me I had helped diagnose the cause of the crashes; he was thinking it was a blunder with the thermal paste for the CPU and cooling system. Of course, it went and crashed again shortly after.

The old system has been replaced. I’m waiting to do a checkdisk on the failed drive using my tower, and I think I can safely say my next post will be on tinkering with the old system.

Final Question: Up until now, I have only been studying up on Linux, taking it slowly, getting ready to do something while waiting for a computer I can brush off and start over on if I ruin things completely. Now that I have an available workspace, I find myself reaching for results using tutorials. Do you learn better by first doing, then learning what you are supposedly doing; or learn what you should do first, then do it?

At the Gates of Linux

Good Morning from my Robotics Lab. This is Shadow_8472, and today, I am giving my first thoughts on peering into the “Linux World.” Let’s get started.

This week, I’m giving my post sort of in parts. As for when I start this post, I don’t know how far I will make it. That said, I will probably be commenting on things I learn from, mostly videos I don’t choke on.

Getting started, I found an older video uploaded by Eli the Computer Guy. His Introduction to Linux went over the basics of Linux, covering many topics. Give it a watch if you want into Linux. Just know, it is not a quick guide. It is more like a “Here’s what you ought to know before starting” type of video. A big thing I learned about was my misconception about licensing for open source software. Long story short, “open source” does not imply “100% free.” I want my robot personality project to use software that is free. Open source is just a good positive, but not big enough for me to worry over.

My big takeaway from the lesson: there are many distributions of Linux for a reason; each one is optimized for its own application; interested parties must know exactly what they want their system to do before they reach for the prettiest one and dig in

According to my prior research, Ubuntu seems to be my best shot, but I am not sure yet. Back to research.

I found another New-to-Linux video. Uploaded by Joe Collins, his video, Top 5 Mistakes New Linux Users Make, is aimed at brand new Linux users, like me. He says he has tons of experience with getting people into Linux. Based on his recommendation, I think I want to check out Ubuntu MATE (Ma-Té) and hope it works with Gazebo and ROS. He also gave a warning about “borking” a computer. Read: user induced software meltdown. My system is pretty stable as it is. He recommends getting a separate system to play around on. I think I may take that route.

In any case, I doubt I will be installing Linux THIS week. If it weren’t for this blog, I probably would be losing focus at this point. I’m already invested a little, and I don’t want to stop here. Besides, I think setting up a separate Linux computer for my private MineCraft server will be a good stepping stone project. I may even spend some time learning how to remote in from my Windows 10 machine.

In the meantime, I think I’m just going to try and take consistent steps on my overall project, even if some of those steps are finding out I had severely underestimated the next planned step.

In closing: No Linux today, expect another slow update next week. Maybe I will look into the way you are supposed to get software. I hear it isn’t by just Googling for it and downloading. Final Question: Do you use Linux? If so, how common is it to really mess something up when you are changing an innocent enough looking setting?