Andrew Moa Blog Site

Install Ansys2025R1 on Ubuntu24.04

1. Preparation

161GB of disk space is required for the full installation. Please ensure that the remaining available disk space meets the requirements. You can choose the installation content according to your needs.

e8b6a55779447694ef28a8a9560f2bab.png
3f912a7795844465627dc878eb409e95.png

At least 8GB of memory is required during the installation process, and 16~32GB of memory is recommended.

6 minutes to read
Andrew Moa

Ubuntu24.04 builds Samba server

Since Ubuntu runs in a virtual machine, when you mount a Windows shared folder through Ubuntu, some CAE software will report a calculation error when running it in the mount point. Consider sharing the Ubuntu folder with Windows, so you need to build a Samba server on the Ubuntu system.

First, install the samba package on Ubuntu:

sudo apt install samba -y

Create a shared folder:

mkdir ${HOME}/LinuxShare

Edit the Samba configuration file /etc/samba/smb.conf:

2 minutes to read
Andrew Moa

Hyper-V Virtual Switch NAT Setting Static IP

I have mentioned before that you can use NAT+port mapping to access a virtual machine, but I found a problem during use: every time the host machine is restarted, the default Default Switch IP address will change, causing the virtual machine to be unable to access the gateway and thus unable to connect to the Internet.

In order to ensure that the virtual machine is connected to the Internet, you must manually set the IP address of the adapter corresponding to the Default Switch every time you restart the machine, which is very inconvenient. The following is a solution given in reference to the Microsoft official document .

3 minutes to read
Andrew Moa