I currently have a minecraft server running on one of my virtual machines on my server. This requires me to move a decent amount of data whenever I update the mods to newer versions. Normally this is only a couple mods that I will push the Jars to dropbox and use wget to download them onto the server. This last weekend however I updated close to 50% of the mods and it was going to be easier to just copy the entire mods folder from my test server (on my desktop) then individually moving each Jar and deleting the older version. This however left me needing to move over 100 MB of data.
The VmSphere client has an easy way to upload files to the hosts datastore. Nothing hard there, push the button and choose the file. The problem I was having was figuring out how to get the file from the datastore into the VMs local filesystem. I found an easy solution of setting up SSH on the host and using scp from the guests console. Setting up SSH from the VmSphere client was easy once I knew where to look. Here is an article with how to turn on SSH and here is the article with using scp.
TL;DR ssh is turned on in the security profiles configuration and then run scp root@hostserver:/vmfs/volumes/datastorename/path/to/files/*
Over the past weekend I got around to setting up my server. The physical machine has two sides which are each their own computer. For the last year I have only been using one of them. While talking with the IT guy at work, he mentioned that Vmware has a barebones free hypervisor. So I decided I would load it on the other half of my server.
Install was quite easy. After registering on Vmwares site, I downloaded the ISO to create a boot disk from. I don’t have a disk drive on the server so I wanted to boot from a USB flash drive. After reading a few articles I went with unetbootin and couldn’t have been happier. Downloaded, ran, selected Ubuntu for the planned OS (I read somewhere that was the one to use) and selected my flash drive and the VmSphere ISO file. This I then plugged into the server and booted it up. Just left all the defaults during install, choose a root user password and that was it! Once it booted up I did change some settings (static IP, etc) but there wasn’t much more. So easy!
Back on my desktop I first navigated to the machines IP in my web browser as I had read that Vmware had a web interface. Apparently that is for a more complex (paid) setup but there was a nice little webpage shown explaining that I should go get the Vmsphere client.
The client asks for the machines IP and your login info that you set during install. This then presented a screen with some info about the machine and resources available. I was planning on moving a minecraft server I have been running on my desktop over and have some experience with Ubuntu so I went and got the latest ISO for the server edition. You could use a desktop edition too as the Vmsphere client gives you a “console” into the virtual machine that is graphical. Last time I tried installing Ubuntu without a CD I had a horrible time (12.04 had some known bug with installing from a USB flash drive) so I was a little anxious to see how it would go now.
new virtual machines are incredibly easy to spin up. The best part in my opinion is that the Vmsphere client can load ISO (from the computer running the client) into a virtual drive on the VM. This made installing Ubuntu very trivial. The only problem I faced was that I couldn’t seem to see any USB flash drives I stuck into the server. It took me a while to figure out that I never selected that I wanted any USB hardware available to the VM. This was fixed by shutting down the VM and adding in USBs in its properties (make sure you add the real ones and not vmwares virtual ones). When I started up the VM and Ubuntu the USB drive showed up under /dev as it was supposed to.
All in all it was a very strait forward process and setting up the host hypervisor was actually the easiest and least time consuming part. I am very happy so far with it.
After watching some of the Yogcast videos previewing a very early version of StarMade I decided to check it out for myself.
The initial run was pretty fun but I died pretty early and couldn’t figure out how to start a new world. It looks like it will be a pretty awesome game but for now I will be playing more Space Engineers instead. Can’t wait for more of the features to be polished.
The build system is awesome, very easy to use and build. I also love all the worlds you can visit and fly around in.
Once I re-install and get a new world made I’ll be sure to update my findings.
For a while now I have been thinking of creating a mod for minecraft. Something based around The Matrix’s construct. Some of the ideas had seemed a little far fetched but after seeing iChun’s Sync mod I really think it could be fun.
So first things first, I dived into setting up the latest version of Forge/MCP etc to start modding minecraft. With the latest version of minecraft (1.7) Forge and MCP have gone through a large overhaul. The new way of downloading and setting up everything is handled through Gradle. I had set up a Forge environment on an older edition but never really got around to doing much more then some basic tutorials. I am currently in a remote area for work and as such have a very slow internet connection. I started the install process but quickly got an error after it had downloaded a few things. I tried again but still got an “overlappingFIleLockException”. I searched the forums and google to no avail. I assumed something got messed up with whatever it was downloading but couldn’t seem to find or refresh it. Gradle caches what it downloads and there are no commands to clear it from the “gradlew.bat” file. I tried rebooting, getting a new version of java, deleting the gradle folder and redownloading. Every time I got the same error. I finally came across the “-g” command that will allow you to specify a new folder for the cache. This worked for me. Everything downloaded and installed (after a very long time).
After poking around the example file I decided to setup a github repo for my new mod. I have already used github and github for windows before and had that already setup. I was however getting confused on how to get all my code (which is inside all the forge stuff) without changing the namespace or repo to one or the other (I wanted different names). I eventually decided to put all the gradle/forge stuff into the repo folder and use .gitignore to ignore everything but the folder my mod will be in.
Hope this helps anyone that came across the same problems as me.