<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Server on Michael’s Domain</title><link>https://jeltsch.org/en/tags/server/</link><description>Recent content in Server on Michael’s Domain</description><generator>Hugo</generator><language>en-us</language><copyright>Copyright © 2002 - 2026 Michael Jeltsch.</copyright><lastBuildDate>Fri, 24 Jul 2026 00:18:18 +0300</lastBuildDate><atom:link href="https://jeltsch.org/en/tags/server/index.xml" rel="self" type="application/rss+xml"/><item><title>Instructions how to convert an Asustor AS7004T into an Ubuntu Server</title><link>https://jeltsch.org/en/AS7004T/</link><pubDate>Sat, 22 Nov 2025 00:00:00 +0000</pubDate><guid>https://jeltsch.org/en/AS7004T/</guid><description>&lt;p&gt;This weekend, I upgraded our old Asustor AS7004T NAS to run an Ubuntu 24.04 server. The ADM OS had not been received any updates anymore for more than a year and it had been switched off and sitting on shelf since. This is a shame because there was absolutely nothing wrong with it. I had early on upgraded the original 2 GB memory of the device with an 8 GB module to a total of 10 GB. But you can run an Ubuntu server on 2 GB if you wanted to… What do you need for the conversion? Obviously, you need to plug in a USB-keyboard and a mouse. Apple USB keyboards do not work. The cheaper the keyboard the better. Sometimes there were problems with the mouse and then it helped to plug it into another USB port. And of course you need to connect the NAS to a monitor via an HDMI cable. I recommend to install Ubuntu Server 24.04.3. Ubuntu Desktop 24.03 also works (I tested it), but I don&amp;rsquo;t need it and the server has a much smaller footprint. Unlike with older Asustor NAS devices and distributions, fan control worked without problems. However, LED control and display info do not work: The display always shows &amp;ldquo;Starting system. Please wait…&amp;rdquo;.&lt;/p&gt;</description></item><item><title>Netstat</title><link>https://jeltsch.org/en/netstat/</link><pubDate>Fri, 10 Jun 2016 00:00:00 +0000</pubDate><guid>https://jeltsch.org/en/netstat/</guid><description>&lt;p&gt;To list all ports that a server is listening to:&lt;code&gt;sudo netstat -plnt&lt;/code&gt;&lt;/p&gt;</description></item><item><title>Getting Ubuntu Trusty Tahr onto the CuBox Pro</title><link>https://jeltsch.org/en/getting_ubuntu_trusty_tahr_onto_the_cubox_pro/</link><pubDate>Wed, 14 May 2014 00:00:00 +0000</pubDate><guid>https://jeltsch.org/en/getting_ubuntu_trusty_tahr_onto_the_cubox_pro/</guid><description>&lt;p&gt;e&lt;strong&gt;UPDATE: The Cubox guys have moved the documentation about how to install to the Cubox Pro. If you need Trusty Tahr for your Cubox Pro, you can download a 4GB image: 
 &lt;a href="https://drive.google.com/open?id=1CgbSfy17-UrWZwBjZtZpHYTkPgw0MXFq" target="_blank" rel="noopener noreferrer nofollow"&gt;https://drive.google.com/open?id=1CgbSfy17-UrWZwBjZtZpHYTkPgw0MXFq&amp;nbsp;






 
 
 
 &lt;svg class="svg-inline--fa fas fa-up-right-from-square fa-2xs" fill="currentColor" aria-hidden="true" role="img" viewBox="0 0 512 512" overflow="visible"&gt;&lt;use href="#fas-up-right-from-square"&gt;&lt;/use&gt;&lt;/svg&gt;&lt;/a&gt;
. You just need to write it to an SD card (using dd) in order to get your system going. If you have a larger SD card, never mind: just dd the image to the SD card and then use 
 &lt;a href="https://gparted.org/" target="_blank" rel="noopener noreferrer nofollow"&gt;gparted&amp;nbsp;






 
 
 
 &lt;svg class="svg-inline--fa fas fa-up-right-from-square fa-2xs" fill="currentColor" aria-hidden="true" role="img" viewBox="0 0 512 512" overflow="visible"&gt;&lt;use href="#fas-up-right-from-square"&gt;&lt;/use&gt;&lt;/svg&gt;&lt;/a&gt;
 or something similar to expand the second partiton (the root partition) to fill the entire SD card. Password/login: cuboxpro/cuboxpro. SSH is enabled, so you should be able to login remotely. It&amp;rsquo;s the desktop version, so you can also connect an HDMI cable and login via the GUI. There is still a youtube video (
 &lt;a href="https://www.youtube.com/watch?v=XfLJAchNu2c" target="_blank" rel="noopener noreferrer nofollow"&gt;https://www.youtube.com/watch?v=XfLJAchNu2c&amp;nbsp;






 
 
 
 &lt;svg class="svg-inline--fa fas fa-up-right-from-square fa-2xs" fill="currentColor" aria-hidden="true" role="img" viewBox="0 0 512 512" overflow="visible"&gt;&lt;use href="#fas-up-right-from-square"&gt;&lt;/use&gt;&lt;/svg&gt;&lt;/a&gt;
 ) on how to use the original cubox installer (
 &lt;a href="http://download.solid-run.com/pub/solidrun/cubox/installer/%29" target="_blank" rel="noopener noreferrer nofollow"&gt;http://download.solid-run.com/pub/solidrun/cubox/installer/)&amp;nbsp;






 
 
 
 &lt;svg class="svg-inline--fa fas fa-up-right-from-square fa-2xs" fill="currentColor" aria-hidden="true" role="img" viewBox="0 0 512 512" overflow="visible"&gt;&lt;use href="#fas-up-right-from-square"&gt;&lt;/use&gt;&lt;/svg&gt;&lt;/a&gt;
, but the latest version of Ubuntu that you can install with that method seems to be 13.10 at the moment of this writing.&lt;/strong&gt; I have been buying a 
 &lt;a href="http://www.solid-run.com/" target="_blank" rel="noopener noreferrer nofollow"&gt;CuBox&amp;nbsp;






 
 
 
 &lt;svg class="svg-inline--fa fas fa-up-right-from-square fa-2xs" fill="currentColor" aria-hidden="true" role="img" viewBox="0 0 512 512" overflow="visible"&gt;&lt;use href="#fas-up-right-from-square"&gt;&lt;/use&gt;&lt;/svg&gt;&lt;/a&gt;
: perhaps the world&amp;rsquo;s smallest desktop computer. Both at work and at home I need to replace an old, loud LAMP server with something modern. I don&amp;rsquo;t even need a GUI, I am happy to run the server headless. Neither do I need much much speed.The CuBox seems like a great idea: No noise, little power consumption, no space requirements and a decent performance. However, getting it to work was far from trivial. It is definitely not an end user toy, but aimed at the tinckerer. The first difficulty was buying the box. The producer didn&amp;rsquo;t sell it directly at the time (now they do) and the only company that sold it to Finland was UK-based 
 &lt;a href="https://www.newit.co.uk/shop/" target="_blank" rel="noopener noreferrer nofollow"&gt;NewIT&amp;nbsp;






 
 
 
 &lt;svg class="svg-inline--fa fas fa-up-right-from-square fa-2xs" fill="currentColor" aria-hidden="true" role="img" viewBox="0 0 512 512" overflow="visible"&gt;&lt;use href="#fas-up-right-from-square"&gt;&lt;/use&gt;&lt;/svg&gt;&lt;/a&gt;
. Because on the producers homepage they only present their newest models (the &amp;ldquo;CuBox-i&amp;rdquo; models), I wasn&amp;rsquo;t even aware of how many different models they had released. I actually bought the CuBox Pro (but I didn&amp;rsquo;t know about it, because there is also the &amp;ldquo;CuBox-i4Pro&amp;rdquo;, which is the one I rather should have bought. Israel-based SolidRun could do definitely a better job with their web pages. They seem to have a rapid product cycle and drop quickly all links to their &amp;ldquo;older&amp;rdquo; products from their main page. This is irresponsible especially since these products are still sold.I bought the device shortly before 
 &lt;a href="http://www.ubuntu.com" target="_blank" rel="noopener noreferrer nofollow"&gt;Ubuntu&amp;nbsp;






 
 
 
 &lt;svg class="svg-inline--fa fas fa-up-right-from-square fa-2xs" fill="currentColor" aria-hidden="true" role="img" viewBox="0 0 512 512" overflow="visible"&gt;&lt;use href="#fas-up-right-from-square"&gt;&lt;/use&gt;&lt;/svg&gt;&lt;/a&gt;
 14.04 LTS (Trusty Tahr) was released with the intention to install the server version on this device. I bought it with the 4GB SD card with the preinstalled ancient Ubuntu 10.04 (Oneiric Ozelot). I connected it via HDMI to our (not full HD) TV screen and at least the first boot succeeded and the desktop appeared usable, although not snappy. But what the heck, I want to use it as a sever.So the first thing I tried to do was to upgrade to 14.04. I was sure that this would work because the community is stepping in where CuBox fails. Namely by providing ready-to-go disk images to flash to the SD card. I tried Arch Linux, Debian and an early Ubuntu 14.04 release. However, when I inserted the SD card after flashing, the CuBox did not want to boot.Because the Oneiric image (which came on the 4GB card with the device) worked, I flashed it back from a backup (which I had made using dd). Again, Oneric booted up fine. I started to upgrade the distribution to 12.04, which worked somehow, but I lost the graphics display (which I didn&amp;rsquo;t care about). But then the upgrade from 12.04 to 14.04 failed completely. And I definitely want the 14.04, because I want to set it up and forget about it for the next 5 years.However, none of the images provided (by CuBox or the community) wanted to boot (I don&amp;rsquo;t even want a GUI, I am fine with a command line access as I want to use it as a server). I have tried flashing them from Windows and Linux, but it didn&amp;rsquo;t make a difference. What could the reason have been? The partitions on the card are mounted automatically without error when I insert the card to my Ubuntu 14.04 laptop. I finally googled the Model number &amp;ldquo;CBP-300-P&amp;rdquo; which is printed on a sticker on the bottom of the cube. I had started to suspect that it is not me, but some incompatibility or broken hardware. I came across 
 &lt;a href="http://server.vijge.net/static/cubox/irclog/201404/cubox-20140425.html" target="_blank" rel="noopener noreferrer nofollow"&gt;this irc conversation&amp;nbsp;






 
 
 
 &lt;svg class="svg-inline--fa fas fa-up-right-from-square fa-2xs" fill="currentColor" aria-hidden="true" role="img" viewBox="0 0 512 512" overflow="visible"&gt;&lt;use href="#fas-up-right-from-square"&gt;&lt;/use&gt;&lt;/svg&gt;&lt;/a&gt;
 and I realised that I had been pulling the OS images from the CuBox-i wiki pages, whereas my model was a CuBox Pro.The relevant forum is 
 &lt;a href="http://www.solid-run.com/phpbb/viewtopic.php?f=11&amp;amp;t=1638" target="_blank" rel="noopener noreferrer nofollow"&gt;here&amp;nbsp;






 
 
 
 &lt;svg class="svg-inline--fa fas fa-up-right-from-square fa-2xs" fill="currentColor" aria-hidden="true" role="img" viewBox="0 0 512 512" overflow="visible"&gt;&lt;use href="#fas-up-right-from-square"&gt;&lt;/use&gt;&lt;/svg&gt;&lt;/a&gt;
 and the instructions do work. The instructions are not for the faint of heart, but also not overly difficult. You need a HDMI connection to a full HD screen (1920x1080). If you have less than that, you need to connect to the serial console using a mini-USB cable from another computer and use a terminal emulator as they explain 
 &lt;a href="http://wiki.solid-run.com/doku.php?id=products:imx6:microsom:usbuart" target="_blank" rel="noopener noreferrer nofollow"&gt;here&amp;nbsp;






 
 
 
 &lt;svg class="svg-inline--fa fas fa-up-right-from-square fa-2xs" fill="currentColor" aria-hidden="true" role="img" viewBox="0 0 512 512" overflow="visible"&gt;&lt;use href="#fas-up-right-from-square"&gt;&lt;/use&gt;&lt;/svg&gt;&lt;/a&gt;
. The suggested Putty did refuse to make a connection to ttyS0 (from Ubuntu 14.04), but I managed with minicom. However, there was no color coding, but it worked also without.Because you are running the whole OS from the SD card, you might want to limit memory swapping and do a few other changes to prolong the life of the memory card, essentially 
 &lt;a href="https://sites.google.com/site/easylinuxtipsproject/ssd" target="_blank" rel="noopener noreferrer nofollow"&gt;the same as is done for SSD drives&amp;nbsp;






 
 
 
 &lt;svg class="svg-inline--fa fas fa-up-right-from-square fa-2xs" fill="currentColor" aria-hidden="true" role="img" viewBox="0 0 512 512" overflow="visible"&gt;&lt;use href="#fas-up-right-from-square"&gt;&lt;/use&gt;&lt;/svg&gt;&lt;/a&gt;
.&lt;/p&gt;</description></item><item><title>Webalizer on our server</title><link>https://jeltsch.org/en/webalizer_on_our_server/</link><pubDate>Wed, 04 Apr 2007 00:00:00 +0000</pubDate><guid>https://jeltsch.org/en/webalizer_on_our_server/</guid><description>&lt;p&gt;The log files of virtual hosts are located in /var/log/httpd/vhost_name/ and named vhost_name-access_log etc. Webalizer config files for each virtual host are located in /etc/webalizer/ and are named vhost_name.conf. Also history files (vhost_name.hist and vhost_name.current) are located in the same directory.&lt;/p&gt;</description></item></channel></rss>