Chapter 5 Installation of Application Server and Management
Chapter 5 Installation of Application Server and Management
Functionality:
DHCP Server: Automatically assigns IP addresses to client devices,
ensuring proper communication over the network.
DHCP Client: Receives IP information by default (e.g., PCs, mobile
devices, IoT endpoints).
DHCP Relaying: Centralized DHCP servers handle requests from multiple
subnets via routers or hosts.
Comparison:
IP address allocation
2. Domain Name System (DNS)
Purpose: Converts human-readable domain names (like "FS.com") to IP
addresses.
Functionality:
Each domain can correspond to multiple IP addresses.
Comparison:
DHCP: Assigns IP addresses.
Functionality:
Allows users to log in remotely and execute commands.
Comparison:
DHCP and DNS serve different purposes.
and management
Open SSH: secure network communication
SSH and SCP for remote administration and secure file transfer.
These powerful tools are essential for managing remote servers
and transferring files between hosts
1. SSH (Secure Shell)
To connect to a remote host using SSH, you can use the following
command:
ssh yourusername@yourserver
Replace your username with your actual username
and your server with the server's address. You'll be
prompted for your password.
SSH is commonly used for remote shell access, executing
commands, and managing servers.
1. SCP (Secure Copy)
SCP (secure copy) is built on top of SSH and allows you to copy files securely
between hosts.
It's useful for transferring files, creating backups, and synchronizing data.
scp yourusername@yourserver:/path/to/remote/file
/path/on/your/computer
Cont’d
Cont’d
Note:
Be cautious when copying files with the same name and location,
as SCP will overwrite them without warning.
Remember
Both SSH and SCP rely on secure authentication (usually via
passwords or SSH keys).
Use these tools wisely to manage your remote systems
effectively.
FTP and setting up Mail service and client
6. Name your new FTP site and enter the path to the FTP folder where you want to
send and receive files.
7. You can also use the Make New Folder button to create a specific folder for your
FTP files.
8. Leave all the default settings for Binding and SSL Settings, but change the SSL
option to No SSL(Note: In a business environment or for sensitive data, consider
configuring SSL).
Note !!!
Your email account will start syncing, and you'll be able to send
and receive emails using the Mail app.
Remember to update your account settings if needed, and adjust
mailbox sync settings as necessary.
Network information services (NIS)and sharing file system (NFS)
2. Network File System (NFS): NFS is a distributed file system that allows
sharing files between separate hosts.
An NFS server has one or more file systems that are mounted by NFS clients.
NFS file systems are mounted using the standard Unix mount command, and
Unix utilities work seamlessly with NFS-mounted files just like local files.
NFS simplifies system administration by eliminating the need to maintain
multiple copies of files on various machines.
All NFS clients share a single copy of the file on the NFS server.
Cont’d
Users benefit from NFS as well. Instead of logging into different systems and
transferring files between them, users can stay on one system and access all necessary
files within a consistent file tree.
In summary, NIS provides the framework for using NFS. While NFS manages the
resource users care about most—their files —NIS ensures that hosts agree on essential
configuration information such as usernames and host addresses.
SAMBA: Linux and windows files and printer sharing
Install the necessary Samba client packages. On the client machine, install
the samba-common and samba-client packages.
# yum install samba-client samba-common -y
Check if you can access the shares from the server using either the hostname
or IP address
# smbclient -U user -L 192.168.1.122
This command will display available shares, including printer drivers and
home directories.
Create a directory to use as your mount point (e.g., /mnt/myshare):
# mkdir /mnt/myshare
Mount the share using the following command
(replace user and 192.168.1.122 with appropriate values):
Cont’d
You can either provide credentials directly in /etc/fstab or create a credential file:
To map a drive to the Samba share, open PowerShell and issue the
following command:
To set up BIND: