In this article, we will see how to configure a reverse proxy on Apache to access Cockpit via HTTPS, with support for WebSocket. This configuration is useful to improve security and accessibility when using Cockpit on an internal network. Prerequisites A server with Apache installed and configured to support HTTPS. Cockpit installed on a server…
Read more
Upgrading OpenSSH server on your Ubuntu distribution manually can be necessary when the default repositories do not provide the latest version. Follow these steps to manually upgrade OpenSSH server on Ubuntu. Step 1: Download the Latest Version First, download the latest version of OpenSSH:
1 |
wget https://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-9.8p1.tar.gz |
Step 2: Remove the Existing Installation Stop the current SSH…
Read more
BasicAuth for Microsoft Office365 is deprecated. But if you have a WebDav share in your lan that use the user/password auth method you can add your domain to a “BasicAllowList” on your Office settings. To add your domain in your Office365 you need to edit your Windows Registy via regEdit. Suppose you have Xtumble as…
Read more
Set up an Access Point in minutes with Ubuntu / Linux usually even without a graphical interface.
Test Ubuntu 22.04: Ubuntu 22.04 Server distro for Intel / AMD x64 on virtualization environments (all configured with 4core and 2virt, 8GB, 40GB SSD): VMWare Fusion for MacOSX –> passed no issue VMWare Workstation –> passed no issue KVM –> passed no issue Ubuntu 22.04 Server on this hardware conf: Dell T440 Intel Xeon…
Read more
Configuring NFS Server: Installing NFS services on your ubuntu system
1 2 3 4 |
sudo nano /etc/fstab sudo apt install nfs-kernel-server sudo apt-get install nfs-kernel-server portmap nfs-common |
1 |
sudo showmount -a |
configure mount folders and define sub nets can access to
1 |
sudo nano /etc/exports |
/etc/export sample:
1 2 3 4 5 6 7 8 9 10 11 12 |
<span style="color: #06989a;"># /etc/exports: the access control list for filesystems which may be exported</span> <span style="color: #06989a;"># to NFS clients. See exports(5).</span> <span style="color: #06989a;">#</span> <span style="color: #06989a;"># Example for NFSv2 and NFSv3:</span> <span style="color: #06989a;"># /srv/homes hostname1(rw,sync,no_subtree_check) hostname2(ro,sync,no_subtree_check)</span> <span style="color: #06989a;">#</span> <span style="color: #06989a;"># Example for NFSv4:</span> <span style="color: #06989a;"># /srv/nfs4 gss/krb5i(rw,sync,fsid=0,crossmnt,no_subtree_check)</span> <span style="color: #06989a;"># /srv/nfs4/homes gss/krb5i(rw,sync,no_subtree_check)</span> <span style="color: #06989a;">#</span> /home/<mymountfolder> 192.168.XXX.XXX/24(rw,sync,no_subtree_check,crossmnt,fsid=0,no_root_squash) /home/<mymountfolder> 192.168.MMM.MMM/24(rw,sync,no_subtree_check,crossmnt,fsid=0,no_root_squash) |
Verify export options
1 |
sudo exportfs -arv |
1 2 |
sudo systemctl restart nfs-kernel-server sudo service nfs restart |
Configure your MS-Windows 10 client: Configure your MacOSX client:
1 2 3 4 5 6 7 8 9 10 11 12 13 |
mkdir /Users/<yourusername>/<yourmountpoint> sudo mount -o resvport,rw,noowners -t nfs 192.168.JJJ.JJJ:/home/<mymountfolder> /Users/<yourusername>/<yourmountpoint> sudo nano /etc/fstab poi scrivi dentro 192.168.JJJ.JJJ:/home/<mymountfolder> /Users/<yourusername>/<yourmountpoint> nfs rw,nolockd,resvport,hard,bg,initr,tcp,nfc,rsize=65536,wsize=65536 sudo automount -vc |
Configure your Ubuntu client: Install requirements and create your mount…
Read more