Moonglade

Modern Markdown blogging with AI-powered localization and search.

Tag: Ubuntu


Ubuntu resize an ext4 partition without LVM

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...

Views 442
Disk Linux Partition Ubuntu ext4 fdisk





Mount Windows SMB folder to Ubuntu

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...

Views 204
Linux SMB Share Ubuntu Windows Server bash

Run WeChat in Ubuntu

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...

Views 888
China Linux Ubuntu WeChat Wine bash

Install Nextcloud on an Ubuntu 20.04/22.04 server ★

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.

Views 696
Apache2 Certbot IT Linux MySQL Nextcloud PHP Storage Ubuntu Web