萬法唯心 – Impermanence

Archive for the 'Linux' category

1U server – AM1H-ITX 5350 build

October 28, 2014 8:25 pm

Just finished building a 1U ITX server for home router, web and email server with AM1.

Case: X-Case ITX 19-02 – 1U Rackmount
Mobo: Asrock AM1H-ITX
APU: AMD Athlon 5350 (Asrock “Cool’n’Quiet” using powernow-k8 driver)
Heatsink: FM2+ heatsink Gelid Slim Silence AM1
PSU: DLH 90W Ultra Slim Travel Laptop Power Supply
RAM: 1600MHz 2x4GB @ 1.325V
HDD: 2 x 500GB 2.5″ HDD
NIC: HP NC360T

AM1H-ITX 1U server build

Did have a problem with the install, Proxmox 3.3 won’t directly from a USB disk and needed to install it on to the HDD from a different computer first. Proxmox working properly with the following VM:

  • Sophos UTM Home Edition 9.2 VyOS – KVM
  • Debian 6 turnkey lamp – OpenVZ LXC
  • Ubuntu 13.04-x86_64 – OpenVZ LXC
  • Zimbra Open Source Edition 8.5 – OpenVZ LXC

First time trying out Sophos UTM and really like it, definitely one of the best if not the best UTM (home router) I’ve used so far. Still a problem with the upload speed, possibly with the KVM virtio NIC driver. I’ve already disabled TSO and GSO with ethtool, but I can get 94Mbps download speed, but only around 45Mbps upload speed on a 100/100 fibre optic connection.

Also managed to get the Asrock “Coll ‘n’ Quiet” working with the powernow-k8 driver:

modprobe powernow-k8

vi /etc/modules
powernow-k8

vi /etc/default/cpufrequtils
GOVERNOR=”conservative”

Just a few things to improve on:

  • either adding a SSD or another HDD to making it into a raid-1
  • Cooling on the processor, perhaps by diverting more cool air to it. Currently the AM1 5350 does run quite hot at around 50℃ even with the FM2+ heatsink which is larger than the original AM1 heatsink.
  • Change to long ribbon cable for the dual gigabit NIC card to a proper 1u riser

Ubuntu 9.10

November 5, 2009 10:14 pm

Ubuntu 9.10 has been out for about a week now. Just got around to upgrade my desktop to Ubuntu 9.10. I skipped 9.04 on my desktop and only tried it on my laptop. Upgrading from 8.04 is very smooth and easy, I had 8.04 and XP dual boot on my desktop, used the manual partitioner to overwrote 8.04 and keeping /home and other partitions. I only had to spend around an hour to install:

  • Wireless card (WPN111) using ndiswrapper-1.9. More stable than it is on 8.04 as it used to cut off
  • Chromium (Linux Chrome)
  • VPN

Ubuntu is getting better and better :). Support open source! Ubuntu Cloud looks interesting too, might be useful for work.

Ubuntu 9.04

May 8, 2009 8:28 pm

Just got to try out the new Ubuntu 9.04. Download the iso and burnt it to a CD, loaded it up and install it dual boot with XP on my laptop (Toshiba Tecra-S1). No problem at all, worked out of the box! If I’m installing Windows, the first thing I will need to do is to download all the security updates, then install a Anti-Virus software then find all the missing drivers. You don’t have to do any of these for Linux, no need to install any drivers (in my case), no tweaking, even WiFi works! If you don’t mind not having MS Office (which I don’t really use anymore) and not being able to play many games, you should give Ubuntu a go. It’s so simple and it’s open source too :).

Ubuntu 8.10

November 3, 2008 9:25 pm

Tried out Ubuntu’s latest version (8.10 – The Intrepid Ibex) over the weekend on a laptop and a old Dell desktop, both of them works without any problem. The big improvement for my laptop (Toshiba Tecra-S1) that I noticed is the xorg settings in gnome for external monitors. I didn’t need to go and change the xorg.conf manually this time, I only need to set it from the GUI, restart and everything works. It even works on a 22″ HD ready monitor (LG 22LS4D) displaying the correct resoluation (1920×1080) which didn’t work with Ubuntu 7.10 nor 8.04. I would recommend trying this version if xorg hasn’t been working properly for you in previous version.

Another additional feature that I found interesting is that it allow auto login, so you no longer have to type in your username and password on startup. The default timeout for this auto login is 10 seconds, which I can see is quite handy if you are using it solely at home as a desktop but obvious the draw back is that the system is less secure if auto login used. Haven’t found any problem with it yet, another great release, thanks to everyone who worked on this!

Ubuntu 7.10 Gusty

November 1, 2007 7:13 pm

For some reason I didn’t keep up to date this time, I only found out about the new Ubuntu 7.10 Gusty release being told by a friend. I think my demand for my home PC is dropping, mainly using it for surfing the internet really! Surprisingly the new release doesn’t work for me!

So no luck for me with Ubuntu this time because firstly the upgrade manager (7.04 to 7.10) wouldn’t work… so I did a fresh install (keeping my /home directory). After that everything seems to work but it wouldn’t display correctly on the external montior (Xerox XA7), I tried almost all the settings I can think of including manually editing the xorg.conf and using the auto-config tools, just wouldn’t go above 800×600! Imagine a 19″ monitor on 800×600 resolution! I can stand a lot of the features not working, but working on a proper resolution is one of the min. requirements.

As much as I like Ubuntu, I have decided that I will try something different, may be something very simple, something very fast and stable, doesn’t have to look good but run very fast on my laptop (Toshiba Tecra-S1), and of course supporting 1280×1024. Decided to try out FreeBSD and may be with gnome 2 since the main upgrade in Ubuntu 7.10 is the support of the new gnome, but I know that it’s very possible that it’s gnome 2 which is not compatible with my monitor and or my ATI graphics card! Will see how that goes, but conclusion is, simple is good…

On a side note, about simplicity, I have come to like a very old text editor (VI) very much. It must be one of the oldest text editor that comes with Linux, it’s great because it’s so simple, don’t even need the mouse to operate it, your hand can stand on the keyboard all the time while performing search, replace, etc… There are Windows version (e.g. VIM) which people have developed. Also I’m using a web browser called Epiphany is great too, very simple and fast, but less feature as compare to FireFox. Something that’s worth trying out.

VMware

September 7, 2007 7:01 pm

Last week, I decided to install VMware to run Linux (Ubuntu) and Vista on the computer at work. The process was quite simple, installed VMWARE Workstation, configure the Virtual Machines that I want to create, load it up and start installing. After everything installed, I put the VM images on to my USB harddisk and took them home.

Everything ran ok with the VMware player under Windows which is quite impressive. I can still remember the time when I first formatted my computer to install Linux. But running Ubuntu on Linux is not what I really want, it make more sense to have Linux has the host since that’s the OS I use at home. However when I tried to play the images with the VMware player in Ubunt, it says that the version I’m using is older than the images :(. Still haven’t sort that out… but here is a screenshots in XP (with Vista theme)

VMWARE XP Vista Ubuntu

I’m also quite impress with the computer at work, not top of the range, but it’s a dual core Athlon 3600+ with 2GB RAM, it can run Ubuntu on VMware faster than my laptop running it direct. When I tried to run both Vista and Ubuntu at the same time on my laptop under XP, I think it took at least 10mins to load up Vista! Just can’t handle it. When I did the screenshot, I had the Ubuntu displayed on my Laptop screen (1024×768) and Windows on the main monitor (1280×1024). Will be the other way round when I get the VMW player working under Linux. Would recommend VMware if you want to try Linux but can’t escape from Windows :D, but I think a dual core processor + 2GB RAM is the min requirement to have it running smoothly.

— Update —

Found out that the VMware player that is installed by aptitude is version 1, that means the installation will have to be done manually. Downloaded the latest version 2.0 from the VMware website, installed it following a few steps and got the VM Vista running on Ubuntu 7.04 Feisty Fawn. Since the problem is solved, I used the workstation to install a XP. Did a update on Ubuntu, not very clever since that upgraded the Kernel to 2.6.20-16! Restarted and VMware player wouldn’t work anymore. If you have the same problem, just uninstall it by:

sudo ./vmware-uninstall.pl

and do the recompile/installation again since the kernel has been upgraded. However it didn’t went that smoothly for me, it gave me an error when I try to uninstall vmware:

Virtual ethernet failed

In my case, I need to disable the VMware Virtual Networking Driver with the Restricted Driver Manager, restart my comp and then run the installation or the reconfiguration tool:

sudo /usr/bin/vmware-config.pl

After that everything works fine :). XP is running a lot faster on my laptop than vista.

Vista and XP on Ubuntu