{"id":1111,"date":"2015-01-03T18:02:21","date_gmt":"2015-01-03T18:02:21","guid":{"rendered":"http:\/\/kraftek.com\/blog\/?p=1111"},"modified":"2015-01-03T18:02:21","modified_gmt":"2015-01-03T18:02:21","slug":"create-minecraft-server-in-linux","status":"publish","type":"post","link":"\/blog\/index.php\/create-minecraft-server-in-linux\/","title":{"rendered":"Create minecraft server in linux"},"content":{"rendered":"<p>Make sure you have the latest java from oracle<\/p>\n<pre>\r\n# java -version\r\njava version \"1.8.0_25\"\r\nJava(TM) SE Runtime Environment (build 1.8.0_25-b17)\r\nJava HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)\r\n<\/pre>\n<pre>\r\nMake a diretory for the server\r\n<pre>\r\n# mkdir \/opt\/minecraft\r\n<\/pre>\n<p>Download minecraft jar<\/p>\n<pre>\r\n# cd \/opt\/minecraft && wget https:\/\/s3.amazonaws.com\/Minecraft.Download\/versions\/1.8.1\/minecraft_server.1.8.1.jar\r\n<\/pre>\n<p>Run the server for the first time, it will create its settings file and ask you to accept the eula<\/p>\n<pre>\r\n# java -Xms32M -Xmx512M -jar \/opt\/minecraft\/minecraft_server.1.8.1.jar nogui\r\n<\/pre>\n<p>Quit by issuing ctrl-c and then edit eula.txt,set eula=true<br \/>\nSet your admin user in ops.json<\/p>\n<pre>\r\n[\r\n  {\r\n    \"uuid\": \"093953b0-ee80-4a0c-a00e-5f13a1a69f25\",\r\n    \"name\": \"CDDO\",\r\n    \"level\": 4\r\n  }\r\n]\r\n<\/pre>\n<p>You can get your user's uuid in http:\/\/minecraft-techworld.com\/uuid-lookup-tool<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Make sure you have the latest java from oracle # java -version java version &#8220;1.8.0_25&#8221; Java(TM) SE Runtime Environment (build 1.8.0_25-b17) Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode) Make a diretory for the server # mkdir \/opt\/minecraft Download minecraft jar # cd \/opt\/minecraft &#038;&#038; wget https:\/\/s3.amazonaws.com\/Minecraft.Download\/versions\/1.8.1\/minecraft_server.1.8.1.jar Run the server for the first time, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1111","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1111","targetHints":{"allow":["GET"]}}],"collection":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=1111"}],"version-history":[{"count":1,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1111\/revisions"}],"predecessor-version":[{"id":1112,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1111\/revisions\/1112"}],"wp:attachment":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=1111"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=1111"},{"taxonomy":"post_tag","embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=1111"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}