Get pip, venv, and git:
sudo apt install python3-pip
apt-get install python3-virtualenv
sudo apt install python-is-python3
sudo apt install git
Set up LEMP stack following this tutorial.
Get pip, venv, and git:
sudo apt install python3-pip
apt-get install python3-virtualenv
sudo apt install python-is-python3
sudo apt install git
Set up LEMP stack following this tutorial.
Jordan Ellenberg – How not to be wrong
A cornucopia of charming mathematical anecdotes and facts
Switching to the NVIDIA proprietary graphics driver led to a crash. I did not have a live disk, so I had to do a full re-install.
Couple of tweaks. First of all, there is a more rigorous fix for the NVIDIA driver boot issue here. At least there is now a Grub menu so that debugging is possible.
I have not yet dared to use the NVIDIA driver again. But in the start-up logs there is still an error related to the open source driver which seems to slow down the boot process.
To see boot errors:
journalctl -b | grep error
One of the things I try is this to solve the NXDOMAIN error that I saw in the boot log:
sudo rm -r /etc/resolv.conf
sudo ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf
Also followed this tip and re-installed Gnome:
sudo apt-get install --reinstall systemd gnome-settings-daemon gnome-settings-daemon-common
And enabled canonical-livepatch with a new token, as described here.
sudo snap install canonical-livepatch
sudo canonical-livepatch enable [#yourverylongtoken#]
Regularly I got a ‘white noise’ screen after closing/opening the laptop lid without logging out. Apparently that is a graphics driver issue. Luckily there is a simple way to switch over to the proprietary Nvidia driver.
As I was sitting on the coach I wanted to do this via remote desktop from my Windows computer. Also that was quite straightforward.
Still have to test the new graphics driver, though…
And update, one day later:
OUCH. Restart does not work. Everything dead. Not ssh connection. Reboot aborts. Black screen. Need to re-install everything.
Errors:
This solved both the ssh connection and made sure the screen woke up again after re-opening: https://askubuntu.com/questions/1059705/keep-a-laptop-running-with-closed-lid
Closing the lid for a long time when logging still gives color noise. Apparently it is an issue with the open source driver. There is however a NVIDIA proprietary driver. More about that later.
My old MacBook Pro (mid 2010) had 2x2GB RAM installed.
Maximum capacity is 2x4GB.
It is easy to upgrade, following this tutorial.
The purposeful one-sided rant makes the book lose all credibility, in particular since the arguments can easily be reversed – especially in the wake of Trump’s desperate challenge the US election outcome.
SMB is the service that sets your Linux box up as a file server.
Quite a bit seems to have changed in Windows security settings and there are quite a lot of outdated howto ages out there.
I found one tutorial that works… almost.
MokListRT error at start-up.
Luckily there is a cure:
https://askubuntu.com/questions/1279602/ubuntu-20-04-failed-to-set-moklistrt-invallid-parameter
And there is the bugging icon size…
But I did not see a real difference after trying that out 🙁
First find your public IP address:
curl https://ipinfo.io/ip
That way we know what to connect to.
At this point, SSH from phone on 4G with public IP address does not work, whereas it works over wifi using internal IP address.
Next we need to adjust the firewall, following the relevant part of this tutorial.
But that is still not enough:
To find the right port on the right device behind the Ziggo Connect Box, we need to allow port forwarding.
Out-of-the-box, Ziggo has disabled port forwarding. They need to push an update of the firmware in order to enable this. You can ask via twitter @ZiggoSupport, chat or phone 0900-1884. And they fix it the same day (in my case).
Once that is set-up (Check if port forwarding show under “Geavanceerd > Beveiliging” in het Connect Box menu!) follow this tutorial.
And…. BANG. I can get into my own linux box via 5G using (JuiceSSH on my phone).
By the way, after validating that it worked I have upped firewall protection so that I can only access the server from inside my home network.
Installed JuiceSSH client on Samsung phone. Following the reco from here.
On Ubuntu box needed to install openssh-server:
sudo apt-get install openssh-server
And net-tools also did not come pre-installed:
sudo apt install net-tools
Once that is in place, check the IP address like so:
ifconfig
On the Windos laptop I already had Putty installed.
Just to be sure, I added some security measures, following this guide.
The secret key I generated on the client (windows laptop) using Puttygen as explained here https://www.u.tsukuba.ac.jp/en-puttygen-keypair/.
Next step will be to configure the firewall for external access.
Daryl Collins – Portfolios of the poor
Thorough application of small data that provides valuable insight in how people live on less than 2$ a day – and what that implies for microfinance.
always hard to go back to essentials when you want to do cool stuff, but probably wise to invest some time in this.
Day 2 on Ubuntu. Wifi is gone. Apparently a well-known issue on Mac.
Error message when trying to fix:
Errors were encountered while processing:
bcmwl-kernel-source
E: Sub-process /usr/bin/dpkg returned an error code (1)
Tried a lot of options. In the end this one worked. Whereas question refers to Ubuntu 16.04 the answer mentions Ubuntu 20.04 explicitly.
Distribution: Ubuntu 20.04
Hardware: MacBook Pro 15-inch (mid 2010) that was lying around.
The MacBook Pro “Core i5” 2.4 15-Inch (Mid-2010) is powered by a 32 nm, dual-core 2.4 GHz Intel “Core i5” I5-520M (Arrandale) processor, with dedicated 256k level 2 cache for each core and an 3 MB a level 3 cache. This system also supports “Turbo Boost” — which “automatically boosts the processor speed based on workload” up to 2.93 GHz for this model — and “Hyper Threading” — which allows the system to recognize four “virtual cores” or “threads.”
Best guide I found, works like a charm: https://www.wikihow.com/Install-Ubuntu-Linux#Preparing-to-Install
Best thing: I can also boost RAM from 4G to 8G. More about that later.
Worst thing: the CPU is not modern enough for most machine learning tasks (as shown here).
Benjamin Labatut – When we cease to understand the world
A highly entertaining fictionalized history of landmark scientific breakthroughs.
Filled with highly interesting statistics about the evolution of public perception on ethical issues.
Adrian Daub – What tech calls thinking
Entertaining and polemic book, although many of the author’s points hardly need to be argued.
Jonathan Rodden – Why cities lose
In the US election system, geographic concentration puts democrats at a fundamental disadvantage.
Colin Tudge – The secret life of trees
There is a limit to the degree of suspense that you can bring into taxonomy.