This post will tell you how to make the partition extend to full disk after resizing the disk. First, check current usage: bash sudo df Th We will resize sdb1 . bash sudo fdisk /dev/sdb n – Create partition p – print partition table g reset as GPT partition table d – delete a par...
Backgrounds Recently, I have a lot of Linux servers created. Those servers are really a lot that I'm tired upgrading those every day. And I just keep doing the same thing: Login Run sudo apt update Run sudo apt upgrade y Run reboot Why upgrade those automatically? Save time. Get ...
It's simple. Install First: bash sudo apt install cockpit y Authentication Ensure you have a user instead of root is in the sudo group. Please follow the instructions from: Best practice for authentication Fix network issue You may see the following error after installation: text...
Here are some tips when I am using CaddyV2 as a reverse proxy. Build your own caddy to support proxy protocol bash Install Golang sudo add apt repository ppa:longsleep/golang backports sudo apt update sudo apt install golang go Install xcaddy. apt install y debian keyring debian ...
Configure NFS in Windows Server On Windows Server, creating a new NFS server is simple. First install this: And then click the folder properties. And enable that. Configure NFS in Ubuntu Run: bash sudo apt update sudo apt install nfs kernel server y sudo mkdir p /mnt/nfs share su...
How to mount remote SMB folder to local Ubuntu server First, install tools: bash sudo apt install cifs utils Create a new folder: bash sudo mkdir /mnt/share To mount: bash sudo mount t cifs o username=your name //your server/your path /mnt/share your name is your Windows user nam...
Install and configure Wine. First, install Wine. bash sudo apt install wine64 After installing, open winecfg. bash winecfg Ajust the dpi to a higher value. I'm using 192 for 4K display. Download and configure fonts Download and configure fonts. Run the following commands: bash su...
This article details the complete deployment process for a Nextcloud server, from basic configuration to advanced optimization. First, it is necessary to modify `overwrite.cli.url` in `config.php` and set up Cron mode to automate background tasks. Second, it is recommended to install practical plugins such as two-factor authentication, task management, and notes. To expand storage capacity, create a new partition, format it, and mount a large-capacity hard drive, while ensuring that the data directory migration and permission settings are correctly configured. Additionally, the article covers region settings, preview feature optimization, and mail server configuration. It focuses on installing and configuring the Redis caching system, including APCu local caching and distributed lock settings, to resolve performance warnings and improve system efficiency. To prevent data loss, write an automated backup script to regularly sync the application directory, data files, and database to independent storage. Finally, a Caddy reverse proxy configuration solution is provided for specific needs, along with a guide for setting up a GPU acceleration environment if using the Recognize app, aiming to build a high-performance, secure, and easy-to-maintain private cloud environment.
If you have bought a server from an external provider, usually it's not following the Linux authentication best practices. You need to set it up properly before hosting services on it. Preparation Check the server layout After buying a new server, at least you need to understand ...
Bash is the major shell client I use. On Windows 10 I really enjoy git bash. But how to set bash to the default terminal in the new Windows terminal? Brief steps: Install a Linux style shell like git bash. Install the Windows Terminal Make git bash the default terminal in Windows...