matrixpost.net » Ubuntu
179 FOLLOWERS
Hi! I'm Marcus Rath. The main purpose of this blog is to use it as my own knowledge base. You can read articles on .Net, C#, Office365, Linux, Ubuntu, Windows, and more on my blog.
matrixpost.net » Ubuntu
9M ago
In this post we will see how to host and publish a blazor server web app on Ubuntu and apache. Therefore just a few steps are necessary to get your app up and running on Ubuntu and apache.
Table Of Contents
Install the .NET SDK or .NET Runtime on Ubuntu
Publish and Copy over the App
Publish the App by using Apache
Enable and start the Web App by default and on OS boot using Systemd
Publish the App as Platform-Specific and Self-Contained
Links
Install the .NET SDK or .NET Runtime on Ubuntu
First we need to install the .NET SDK or .NET Runtime on Ubuntu. About ho ..read more
matrixpost.net » Ubuntu
1y ago
In this post we will see how we can run a .NET Core Console App on Ubuntu. Therefore I will use a little C# console app which will just create a WebSocket and waiting for incoming TCP/IP connections.
Table Of Contents
Introduction
Install the .NET Runtime on Ubuntu
Install the .NET SDK on Ubuntu
Publish .NET Console App
Links
Introduction
In order to run .NET Core applications on Ubuntu, we first need to install the .NET SDK or .NET Runtime on Ubuntu.
You can also publish your app as self-contained, which produces an application that includes the .NET runtime and libraries and yo ..read more
matrixpost.net » Ubuntu
1y ago
In this post I want to set up the sssd daemon on Ubuntu to join an AD domain and authenticate users against a Active Directory Domain Controller by using the AD provider from sssd.
In previous versions of sssd, it was possible to authenticate using the ldap provider. Nevertheless for authenticating against a Microsoft Windows AD Domain Controller, it was generally necessary to install the POSIX AD extensions on the Domain Controller.
sssd – Open Source Client for Enterprise Identity Management
Enroll your Linux machine into an Active Directory, FreeIPA or LDAP domain. Use remote identities, p ..read more
matrixpost.net » Ubuntu
2y ago
In order to install Ubuntu as a Generation 2 Hyper-V virtual machine, you have to switch the Secure Boot Template to Microsoft UEFI Certificate Authority as follows.
Ubuntu guest operating system support
Generation 2 is supported for:
Ubuntu 20.04
Ubuntu 18.04
Ubuntu 16.04
Ubuntu 14.04
Source: https://docs.microsoft.com/en-us/windows-server/virtualization/hyper-v/plan/should-i-create-a-generation-1-or-2-virtual-machine-in-hyper-v#ubuntu-guest-operating-system-support
What are the advantages of using generation 2 virtual machines?
– Secure Boot
– Larger boot volume
Source: https://docs.mi ..read more
matrixpost.net » Ubuntu
2y ago
In this post I will install and configure Libmodsecurity which is a complete rewrite of the ModSecurity platform (aka ModSecurity v2.x) and functions as an Open Source Web Application Firewall (WAF).
Libmodsecurity is a complete rewrite of the ModSecurity platform. When it was first devised the ModSecurity project started as just an Apache module. Over time the project has been extended, due to popular demand, to support other platforms including (but not limited to) Nginx and IIS. In order to provide for the growing demand for additional platform support, it has became necessary to remove th ..read more
matrixpost.net » Ubuntu
2y ago
In this post I want to go through the separate steps, to set up the open source software MediaWiki on Ubuntu 20.04.3 LTS.
The steps we need to do are:
install and configure the Apache web server
install and configure the MySQL server
install PHP 8.0
download and extract MediaWiki to the web root folder
set up the wiki itself
Install Apache
First we will install the Apache web server as follows.
$ sudo apt-get install apache2
You can check the installed version with
$ apache2 -v
Install MySQL 8.0
You can install MySql 8.0 by using the default repository from Ubuntu 20.04.3 LTS which w ..read more
matrixpost.net » Ubuntu
2y ago
By default the home directory will be installed within the OS hard drive and root partition. Below you will see how to outsource the home directory to a dedicated separate mounted disk.
This topic is well documented in the following article and I will refer to it.
Partitioning/Home/Moving
https://help.ubuntu.com/community/Partitioning/Home/Moving
Part 1 will show how to create a new partition on a further added hard drive. You can skip these steps in case you still have an existing partition you want to use dedicated for the home directories and go directly to Part 2.
Table Of Contents
P ..read more
matrixpost.net » Ubuntu
2y ago
Microsoft introduced in Windows 10 1609 a subsystem for Linux and later also for Windows Server 2019.
The Windows Subsystem for Linux lets developers run a GNU/Linux environment — including most command-line tools, utilities, and applications — directly on Windows, unmodified, without the overhead of a traditional virtual machine or dualboot setup.
What is WSL 2?
WSL 2 is a new version of the Windows Subsystem for Linux architecture that powers the Windows Subsystem for Linux to run ELF64 Linux binaries on Windows. Its primary goals are to increase file system performance, as well as ..read more
matrixpost.net » Ubuntu
2y ago
In this post I will set up an Ubuntu 20.04.1 LTS VM in order to install Docker and Compose to deploy a superset container image.
I will use the following documentation to set up the VM. This is already well documented but I want to bring all documentation in one post together.
Installing Superset Locally Using Docker Compose
https://superset.apache.org/docs/installation/installing-superset-using-docker-compose
Install the Ubuntu 20.04.1 LTS VM
As the VM runs inside the on-premises network on Hyper-V, I will use the legacy image from
http://cdimage.ubuntu.com/ubuntu-legacy-server/releases ..read more
matrixpost.net » Ubuntu
2y ago
In another post, I described how to set up a central log server with the syslog-ng daemon on FreeBSD, this time I want to do the same but now using the rsyslog daemon on Ubuntu.
The rocket-fast Syslog Server
https://www.rsyslog.com/
RSyslog Documentation
https://www.rsyslog.com/doc/master/index.html
As I use Ubuntu 18.04, which uses rsyslog by default, I will first check if it is really installed with
rsyslogd -v
Further I will check if the daemon is still running with
systemctl status rsyslog
In case it is not installed, you can install, start an enable rsyslog as follows
apt instal ..read more