This article is divided into multiple parts to fully describe the process of installing the Ubuntu system and related tools on a computer, including some problems encountered, analysis of the causes, and final solutions.
Since the complete installation steps are very long, the article is divided into parts 1, 2, and 3. This article is the first one.
The main points of this article are as follows:
1. Download the system image file
1.1 Choose to install the ubuntu version and linux kernel version
Compare the Linux kernel required by our company’s encryption software and choose a high-end version first.
64bit Ubuntu 18.04
Kernel 5.4.80
Start downloading ubuntu and linux kernel
1.2 download free
Enter Ubuntu Releases
Entering 18.04, the ubuntu version is as follows:
In fact, there is only 18.04.6, which does not meet the requirements of Yisaitong. You can only find it in the old version:
Select 18.04 to enter, as follows:
Download the ISO file.
1.3 Download the kernel
Index of /~kernel-ppa/mainline
Enter:
Download after entering
1.4 Download the kernel from non-ubuntu official website
In 1.2, there is no detailed Ubuntu version required for encryption software, as follows:
You can only download it from the Ubuntu old kernel website, the address is:
Find version 18.04.5, download the ISO file, and then make a boot disk.
2. Make a boot disk
It is very convenient to use the rufus tool. It is a free tool and can be downloaded.
Start: rufus-3.15p.exe
3. Install the operating system
Start the computer that needs to install the system, click F12 during startup (some computers may be F2), and then select the startup disk. Select the inserted U disk and start the installation step by step according to the prompts.
(I installed the 20.4 version for the first time. It was not suitable, so I had to install 18.04. When prompted to install, I chose to format everything)
Installation takes about an hour.
Basic operations after installation is complete:
3.1 Configure the network
Update the system first:
sudo apt-get update
Install the ifconfig tool and execute the command to view the network
Sudo apt-get install net-tools
3.2 Install smbda
sudo apt-get install samba
3.3 Modify smbda configuration file
Back up the smbda configuration file first:
sudo cp /etc/samba/smb.conf /etc/samba/smb.conf.bak
sudo vim /etc/samba/smb.conf
(If it prompts that there is no vim, you need to install vim first)
Modify the samba file and set the homes option as follows:
[homes]
comment = Home Directories
browseable = no
read only = no
create mask = 0755
directory mask = 0755
valid users = %S