Ubuntu 22.04

 Triviality  Comments Off on Ubuntu 22.04
Apr 262022

Ubuntu 22.04 was just released, I managed to upgrade my WordPress site (running on VM and only publish static site), it was not as smooth as I thought, there were quite some small problems here and there, but eventually it worked after like 4 hours of troubleshooting, and so on.

As a side note, I no longer running Parallels since I found it tricked me to subscription which involves $79.99 per year, luckily I noticed the weird charge on my credit card so was able to cancel it the same day. I’m running my VM on UTM now, I didn’t notice performance difference between UTM and Parallels, though Parallels does provide more convenient features like desktop integration, snapshot, etc.

I think I’ve been running Ubuntu since 10.04, but I’m seriously thinking of moving away from it now due to snap, there are more and more applications over Ubuntu dropped deb support and are solely on snap only, I don’t mind a distro changes its package management tool like yum to dnf, but I just don’t want to have 2 package management mechanism at the same time.

I may not run Fedora as I need LTS, I cannot choose Rocky as it (actually RHEL) lacks of aarch64 support. Most likely I’m going to play with Debian or Arch.

May 252015

Just to remind myself in case I get lost again:

  • Install Oracle JRE 7, at least for now JRE 8 is not recommended
    • Edit /etc/apt/sources.list.d/webupd8team-java.list with these lines:
      deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main               
      deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main
    • Import GPG
      sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EEA14886
    • Install
      sudo apt-get update
      sudo apt-get install oracle-java7-installer
  • Install Cassandra
    • Edit /etc/apt/sources.list.d/cassandra.source.list with these lines
      deb http://debian.datastax.com/community 2.1 main
      deb-src http://debian.datastax.com/community 2.1 main
    • Import keys
      curl -L http://debian.datastax.com/debian/repo_key | sudo apt-key add -
    • Install
      sudo apt-get update
      sudo apt-get install cassandra
Mar 222015

echo package-name hold | sudo dpkg --set-selections

So that it will not be upgraded.

Reason: a package’s ppa has a brand new version that is not compatible with previous version, but since the new version is there so Ubuntu downloaded and installed the new version, and it made almost everything on my system broken.

Have to lock down that package, unless I’m so sure I can upgrade it.

Mar 052015

I don’t like or dislike upstart or whatever system service management facility, however, I do hope Ubuntu can give me a single solution to handle system service.

So to disable a service, you can try System-V style:
update-rc.d apache2 disable

or upstart style:
echo manual > /etc/init/cron.override

or try chkconfig though it’s less common on Ubuntu. Sure, you may want to check /etc/rc.local as well for auto-start services that are not system service.

Apr 212014

Several issues found after upgrade various version of Ubuntu to latest 14.04 LTS, luckily things are not that hard to fix.

ejabberd does not work, turned to be ejabberd was trying to get rid of asn1, and there were some problem caused by that. Though ejabberd fixed the problem right away, it seems Ubuntu took the wrong version. What you should do is upgrade ejabberd from 2.1.11 to 2.1.12 (later version may work as well, but I didn’t try), Continue reading »

May 302013

Give up MacBook Pro to someone else, and moved back to PC laptop.

I was thinking of running Ubuntu on the new laptop so to fully utilize the 16G memory and 4-core i7 processor. However, after two days’ painful trial, I finally gave up and moved back to Windows, and you can image – I moved back to Windows 7 instead of 8.

The problem with Ubuntu and Windows 8 are similar, they were not designed by following people’s common sense, or direct sense, whatever you want to name it. I, personally, believe the usability is OSX > Windows 7 (Windows XP as well) > Ubuntu (Windows Vista is almost the same) > Windows 8.

Heard of Windows 8 is to be upgraded to have something like start button and program folders, etc. though it is still rumor so far. Shall we just name these changes as “graceful downgrade” in case they are really true? 😀

BTW, I turned on Hyper-Thread on i7 processor so logically, I’m running a 8-core machine with 16G memory – this is my dreaming machine several years ago 😉

Apr 082013

Finally I found this Debian Binary Package Building HOWTO.

Actually I’ve been searching online for sometime, however, most search results lead me to Ubuntu or Debian Wiki which are totally useless, thinking of they are using lots of (and different) tools plus need user interact with it.

On the other hand, the how-to page mentioned above did a clear step-by-step turtorial, without any fancy tools. Surely you still need dpkg package and lintian.

I’m also learning how to write a good how-to like this one, it seems learn by sample is always easier.

I guess now I understand why I don’t want to go to school again.

May 302012

It’s my fault not checking the status after upgrading the system, but obviously mysql upgrade on Ubuntu hit some problems and stopped in the middle leave the mysql totally inaccessible, which means, my site was down for two days.

Well, I was really busy on job related stuffs, dealing contextual algorithms while playing with network, but this is not the real cause – I do need a monitoring tool to make sure my site is up and running, though it is not that critical.