Professional Documents
Culture Documents
INT-362
Step 1:- Download type 2 -hypervisor-:—
VMware Workstation,VirtualBox for Windows and
VirtualBox ,VMWare Fusion or parallel desktop for MacOS
- Ensure, VMware Workstation is installed on your machine.
Step 2:- Download Ubuntu ISO
- Download the Ubuntu Desktop ISO from the official
Ubuntu website: [Ubuntu Desktop]———
https://ubuntu.com/download/desktop
Step 3:- Create a Virtual Machine (VM) using Ubuntu ISO file:
•1. Click on "Create a New Virtual Machine."
•2. Select "Typical" and click "Next."
•3. Choose "Installer disc image file (iso)" and browse to the
downloaded Ubuntu Desktop ISO file.
•4. Complete the virtual machine creation wizard(By giving username
and password of your choice and disk allocation should be more than
40GB).
Step 4:- Install Ubuntu Desktop:
1. Power on the VM.
2. Follow the Ubuntu Desktop installation prompts:
- Select language, keyboard layout, etc.
- Choose "Normal Installation" and ensure the "Download
updates while installing Ubuntu”
- complete installation
Step 5:- Update and Upgrade Ubuntu:
Open a terminal on the Ubuntu VM and run the following commands:
#sudo apt update
The sudo apt update command is the most essential command in Linux to keep a system healthy and up-
to-date. This command installs and downloads all the latest package information available for the
packages currently installed on the system.
In case of error :—
user is not in the sudoers file. this incident will be reporte
Type :—
$s
$ apt install sud
$ user mod -aG sudo vboxuser-nam
$ restar
$ reboo
network
version: 2
renderer: NetworkManager
ethernets:
ens33:
dhcp4: n
addresses: [your machine ip]
gateway4: your gateway ip
nameservers
addresses: [8.8.8.8,8.8.8.4
Press ctrl+s ——to save
Press ctrl+x——- to exit
• Go to the netplan directory located at /etc/netplan. Netplan is the default network management tool for the latest Ubuntu versions. Configuration files for Netplan are written
using YAML and end with the extension .yaml. I'll create a file named 01-network-manager-all.yaml.
• The top-level node in a Netplan configuration file is a network: mapping that contains version: 2 (means that it is using network definition version 2).
• Next, add a renderer, that controls the overall network. The renderer is systemd-networkd by default, but we'll set it to NetworkManager.
• As we are setting a static IP and we do not want to dynamically assign an IP to this network adapter, we'll set dhcp4 to no. Now we'll specify the specific static IP we noted in
step #2 depending on our subnet and the usable IP range. It was 192.168.122.129/24.
• Next, specify the gateway, which is the router or network device that assigns the IP addresses. Mine is on 192.168.122.2.
• Next, define nameservers. This is where you define a DNS server or a second DNS server. Here the first value is 8.8.8.8 which is Google's primary DNS server and the
second value is 8.8.8.4 which is Google's secondary DNS server.
:
version: 2
renderer: networkd
ethernets:
ens33:
bridge0:
interfaces: [ens33]
dhcp4: no
dhcp6: no
addresses: [192.168.122.129/24]
gateway4: 192.168.122.2
nameservers:
chronyd is a daemon process that runs in the background. chronyd is used to adjust the system clock that
runs in the kernel to synchronize with the NTP server. chronyd computes the rate at which the system clocks
gains or loses time, and compensates the system clock at the rate.
Step 12:—- Install JDK
Install JDK
[mysqld]
server-id=1
innodb_rollback_on_timeout=1
innodb_lock_wait_timeout=600
max_connections=350
log-bin=mysql-bin
binlog-format = ‘ROW’
Securing the MySQL server deployment.
STRONG Length >= 8, numeric, mixed case, special characters and dictionary file
Skipping password set for root as authentication with auth_socket is used by default.
If you would like to use password authentication instead, this can be done with the "ALTER_USER" command.
Remove anonymous users? (Press y|Y for Yes, any other key for No) : y
Success.
sudo service mysql restart
Normally, root should only be allowed to connect from
Disallow root login remotely? (Press y|Y for Yes, any other key for No) : y
Success.
Remove test database and access to it? (Press y|Y for Yes, any other key for No) : y
Reload privilege tables now? (Press y|Y for Yes, any other key for No) : y
Success.
All done!
sudo mysql
\q ###### to quit
sudo exportfs -a