Ubuntu Server 13.04 Quiet Giant for ODROID-X (20140101)

Locked
User avatar
robroy
Posts: 3401
Joined: Mon Feb 25, 2013 2:29 am
languages_spoken: English
ODROIDs: Q2, X, X2, U2, U3, XU-E, XU3, XU4, C1, C1+, C2
Location: San Francisco, California
Contact:

Ubuntu Server 13.04 Quiet Giant for ODROID-X (20140101)

Unread post by robroy » Sun Sep 22, 2013 11:02 am

I created a Linaro Ubuntu Server 13.04 Raring Ringtail image, forked from the official Hard Kernel release, with a core suite of applications for an Internet server.

Download the image here:
http://oph.mdrjr.net/robroyhall/images/ ... 101.img.xz

European mirror by @traxo:
http://odroid.txmonitor.de/

Want to upgrade your existing Quiet Giant image?
Kernel updates: http://builder.mdrjr.net/tools/kernel-update.sh

Username: root
Password: odroid

Username: odroid
Password: odroid

Servers: Mail, DNS, Tomcat, MySQL, Apache 2, JRuby, PHP 5, FTP, Samba, Open SSH and Minecraft/Spigot.

If you enjoy my contributions to the Hard Kernel community, please consider donating an amount of your choice via the link in my signature.

Customizations left for you upon burning the image to your card:
  • 1. Resize the "rootfs" partition to fit your SD card. This is best done on another Linux system using the GParted utility.
    2. Remove unused servers with tasksel to free up memory and processor cycles.
    3. Change your server time zone from UTC using "dpkg-reconfigure tzdata".
    4. Change the MySQL admin password which defaults to blank.
Improvements and upgrades:
  • 1. To overclock to 1.92GHz, type "sudo gedit /etc/rc.local" in Terminal and remove the "#" from the beginning of the line that starts with "echo 1920000".
    2. All upgrades and updates have been run using aptitude and apt-get.
    3. All orphaned and obsolete packages have been purged, including the original kernel.
Features in this release:
  • Official HK kernel 3.8.13.11 (commit 4d40140b44917be7fa344cc8242b8ed0f3e89e97)
    Oracle JDK8 September 2013
    Blackbox Desktop Environment
    Headless server (SSH, USB-UART serial output, or HDMI desktop)
    Apache 2 web server running JRuby and PHP 5
    Samba shares at /var/www/, /var/lib/tomcat7/webapps/ROOT, and /home/odroid/Documents for sandbox website development
    MySQL server integrated with Spigot, Tomcat and Apache
    Spigot 1.6.4 server with Factions, Factions Plus, Hunger Games, PVP Arena, Kit PVP, World Edit, Vault, Essentials and more
    Installable on 8GB eMMC
Notes:
  • All servers are started on boot except for Spigot.

    Approximately 350MB of RAM is used when all 8 servers are running, leaving 1.65GB free for server use.

    Use "shutdown -h now" when powering down to avoid single-user maintenance mode, ensuring that the rootfs unmounts cleanly.

    When the image is booted without the wired LAN plugged in, the clock time may become out-of-sync, unless you are using a clock battery. In Linaro, this time difference causes the root file system to be mounted as read-only. If this happens, type "fsck /" when logged in as root, then reboot with the LAN properly attached. This will unlock the file system and re-synchronize the clock with Internet time via NTP.

    Swap is enabled in the kernel, which extends memory beyond 2GB (more here: http://www.cyberciti.biz/faq/linux-add- ... ile-howto/)

    Apache is available at http://127.0.0.1:80, and Tomcat is at http://127.0.0.1:8080.

    Follow this guide to use Nginx instead of Apache after uninstalling Apache: http://forum.odroid.com/viewtopic.php?f=52&t=167

    Spigot version 1.6.4 is installed in /home/odroid/Public/, and may be started with:

    Code: Select all

    cd ~/Public/spigot
    ./spigot.sh
    
    Image
Last edited by robroy on Fri Jan 03, 2014 2:10 am, edited 22 times in total.
Rob Roy, Editor-in-Chief of ODROID Magazine (submit an article | make a donation)

Kelnt
Posts: 17
Joined: Sat Mar 23, 2013 4:35 am
languages_spoken: english
ODROIDs: ODROID-X
Contact:

Re: Ubuntu Server 13.05 Quiet Giant for ODROID-X (20130921)

Unread post by Kelnt » Sun Sep 22, 2013 9:45 pm

The first link yields a 500 Internal Server Error and this image does not appear in the images/ubuntu/x/ directory of the second.

User avatar
robroy
Posts: 3401
Joined: Mon Feb 25, 2013 2:29 am
languages_spoken: English
ODROIDs: Q2, X, X2, U2, U3, XU-E, XU3, XU4, C1, C1+, C2
Location: San Francisco, California
Contact:

Re: Ubuntu Server 13.05 Quiet Giant for ODROID-X (20130921)

Unread post by robroy » Mon Sep 23, 2013 12:43 am

Kelnt wrote:The first link yields a 500 Internal Server Error and this image does not appear in the images/ubuntu/x/ directory of the second.
I'm still testing the images, check back later tonight :)

EDIT: The image is now available, enjoy!
Rob Roy, Editor-in-Chief of ODROID Magazine (submit an article | make a donation)

Kelnt
Posts: 17
Joined: Sat Mar 23, 2013 4:35 am
languages_spoken: english
ODROIDs: ODROID-X
Contact:

Re: Ubuntu Server 13.05 Quiet Giant for ODROID-X (20130921)

Unread post by Kelnt » Tue Sep 24, 2013 2:37 pm

Excellent! Unfortunately, UFW does not work for me (I have updated the kernel as per the instructions). Is that a known problem or did it just crop up with the newest kernel?

Code: Select all

sudo ufw allow 80
ERROR: initcaps
[Errno 2] ip6tables v1.4.12: can't initialize ip6tables table `filter': No chain/target/match by that name
Perhaps ip6tables or your kernel needs to be upgraded.

User avatar
robroy
Posts: 3401
Joined: Mon Feb 25, 2013 2:29 am
languages_spoken: English
ODROIDs: Q2, X, X2, U2, U3, XU-E, XU3, XU4, C1, C1+, C2
Location: San Francisco, California
Contact:

Re: Ubuntu Server 13.05 Quiet Giant for ODROID-X (20130921)

Unread post by robroy » Tue Sep 24, 2013 8:07 pm

You may need to recompile the kernel with some custom options (more here: http://www.linuxquestions.org/questions ... r'-577212/)

Please post back with any recommendations for updating the kernel configuration for use with UFW.
Rob Roy, Editor-in-Chief of ODROID Magazine (submit an article | make a donation)

Kelnt
Posts: 17
Joined: Sat Mar 23, 2013 4:35 am
languages_spoken: english
ODROIDs: ODROID-X
Contact:

Re: Ubuntu Server 13.05 Quiet Giant for ODROID-X (20130921)

Unread post by Kelnt » Tue Sep 24, 2013 10:45 pm

Oh. OK. I just figured that because this is is a server something like a firewall would be part of the default configuration.

I've not yet had to recompile a custom kernel and honestly, I'd rather continue using that automagic server update script so I guess I'll ask mdrjr about this in his thread about it.

User avatar
robroy
Posts: 3401
Joined: Mon Feb 25, 2013 2:29 am
languages_spoken: English
ODROIDs: Q2, X, X2, U2, U3, XU-E, XU3, XU4, C1, C1+, C2
Location: San Francisco, California
Contact:

Re: Ubuntu Server 13.05 Quiet Giant for ODROID-X (20130921)

Unread post by robroy » Tue Sep 24, 2013 11:54 pm

Kelnt wrote:Oh. OK. I just figured that because this is is a server something like a firewall would be part of the default configuration.
I use my Quiet Giant image as a sandbox server for web development, so I rely on my router for the firewall. I'm glad that you're reinforcing the security for heavy use ;)

Since this is the first community Server image, it's important for you to do some testing and make recommendations for fixing any problems that you find, beyond simply stating that something is broken.

The post that I linked for you outlines specific commands for testing the UFW dependencies, as well as a portal to a second article that outlines specific IP6 kernel options that need to be included in the build for IP6_tables to work.

Did you take the time to read the blog post?
I've not yet had to recompile a custom kernel and honestly, I'd rather continue using that automagic server update script so I guess I'll ask mdrjr about this in his thread about it.
I encourage you to try adjusting options and compiling your own kernel at least once. There is a very popular thread by @mdrjr in the How-To forums with a step by step guide. Put a fresh copy of Dream Machine onto a spare SD card and use it to build your updated kernel according to his instructions.

Once you've tested the kernel changes on your local system, then you can confidently recommend to @mdrjr the changes that he needs to merge into the mainline branch.
Rob Roy, Editor-in-Chief of ODROID Magazine (submit an article | make a donation)

User avatar
robroy
Posts: 3401
Joined: Mon Feb 25, 2013 2:29 am
languages_spoken: English
ODROIDs: Q2, X, X2, U2, U3, XU-E, XU3, XU4, C1, C1+, C2
Location: San Francisco, California
Contact:

Re: Ubuntu Server 13.05 Quiet Giant for ODROID-X (20131004)

Unread post by robroy » Sat Oct 05, 2013 3:30 am

New features in this release:
  • Upgraded kernel to 3.8.13.10
Enjoy!
Rob Roy, Editor-in-Chief of ODROID Magazine (submit an article | make a donation)

User avatar
robroy
Posts: 3401
Joined: Mon Feb 25, 2013 2:29 am
languages_spoken: English
ODROIDs: Q2, X, X2, U2, U3, XU-E, XU3, XU4, C1, C1+, C2
Location: San Francisco, California
Contact:

Re: Ubuntu Server 13.04 Quiet Giant for ODROID-X (20131030)

Unread post by robroy » Mon Nov 04, 2013 12:16 am

New features in this release: Enjoy !

Want to upgrade your existing Quiet Giant image ?

1. Add the file /etc/e2fsck.conf with the following contents:

Code: Select all

[problems]

# Superblock last mount time is in the future (PR_0_FUTURE_SB_LAST_MOUNT).
0x000031 = {
    preen_ok = true
    preen_nomessage = true
}

# Superblock last write time is in the future (PR_0_FUTURE_SB_LAST_WRITE).
0x000032 = {
    preen_ok = true
    preen_nomessage = true
}
Rob Roy, Editor-in-Chief of ODROID Magazine (submit an article | make a donation)

User avatar
robroy
Posts: 3401
Joined: Mon Feb 25, 2013 2:29 am
languages_spoken: English
ODROIDs: Q2, X, X2, U2, U3, XU-E, XU3, XU4, C1, C1+, C2
Location: San Francisco, California
Contact:

Re: Ubuntu Server 13.04 Quiet Giant for ODROID-X (20140101)

Unread post by robroy » Fri Jan 03, 2014 2:50 am

New features:
  • Restored ~/.bashrc, ~/.bash_logout and ~/.profile from /etc/skel/
    Updated /etc/default/rcS to include FSCKFIX=yes
Enjoy!
Rob Roy, Editor-in-Chief of ODROID Magazine (submit an article | make a donation)

Locked

Return to “Ubuntu”

Who is online

Users browsing this forum: No registered users and 1 guest