<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Sumit Kumar</title><link>http://sumone.me/</link><description>Recent content on Sumit Kumar's website</description><atom:link href="http://sumone.me/index.xml" rel="self" type="application/rss+xml"/><item><title>Objective of RHCSA</title><link>http://sumone.me/blog/objective-of-rhcsa/</link><pubDate>Tue, 30 Apr 2024 00:00:00 +0000</pubDate><guid>http://sumone.me/blog/objective-of-rhcsa/</guid><description>&lt;p>Study points for the exam&lt;/p>
&lt;pre>&lt;code>RHCSA exam candidates should be able to accomplish the tasks below without assistance. These have been grouped into several categories.
&lt;/code>&lt;/pre>
&lt;p>Understand and use essential tools&lt;/p>
&lt;pre>&lt;code> Access a shell prompt and issue commands with correct syntax
Use input-output redirection (&amp;gt;, &amp;gt;&amp;gt;, |, 2&amp;gt;, etc.)
Use grep and regular expressions to analyze text
Access remote systems using SSH
Log in and switch users in multiuser targets
Archive, compress, unpack, and uncompress files using tar, gzip, and bzip2
Create and edit text files
Create, delete, copy, and move files and directories
Create hard and soft links
List, set, and change standard ugo/rwx permissions
Locate, read, and use system documentation including man, info, and files in /usr/share/doc
&lt;/code>&lt;/pre>
&lt;p>Create simple shell scripts&lt;/p>
&lt;pre>&lt;code> Conditionally execute code (use of: if, test, [], etc.)
Use Looping constructs (for, etc.) to process file, command line input
Process script inputs ($1, $2, etc.)
Processing output of shell commands within a script
&lt;/code>&lt;/pre>
&lt;p>Operate running systems&lt;/p>
&lt;pre>&lt;code> Boot, reboot, and shut down a system normally
Boot systems into different targets manually
Interrupt the boot process in order to gain access to a system
Identify CPU/memory intensive processes and kill processes
Adjust process scheduling
Manage tuning profiles
Locate and interpret system log files and journals
Preserve system journals
Start, stop, and check the status of network services
Securely transfer files between systems
&lt;/code>&lt;/pre>
&lt;p>Configure local storage&lt;/p>
&lt;pre>&lt;code> List, create, delete partitions on MBR and GPT disks
Create and remove physical volumes
Assign physical volumes to volume groups
Create and delete logical volumes
Configure systems to mount file systems at boot by universally unique ID (UUID) or label
Add new partitions and logical volumes, and swap to a system non-destructively
&lt;/code>&lt;/pre>
&lt;p>Create and configure file systems&lt;/p>
&lt;pre>&lt;code> Create, mount, unmount, and use vfat, ext4, and xfs file systems
Mount and unmount network file systems using NFS
Configure autofs
Extend existing logical volumes
Create and configure set-GID directories for collaboration
Diagnose and correct file permission problems
&lt;/code>&lt;/pre>
&lt;p>Deploy, configure, and maintain systems&lt;/p>
&lt;pre>&lt;code> Schedule tasks using at and cron
Start and stop services and configure services to start automatically at boot
Configure systems to boot into a specific target automatically
Configure time service clients
Install and update software packages from Red Hat Network, a remote repository, or from the local file system
Modify the system bootloader
&lt;/code>&lt;/pre>
&lt;p>Manage basic networking&lt;/p>
&lt;pre>&lt;code> Configure IPv4 and IPv6 addresses
Configure hostname resolution
Configure network services to start automatically at boot
Restrict network access using firewall-cmd/firewall
&lt;/code>&lt;/pre>
&lt;p>Manage users and groups&lt;/p>
&lt;pre>&lt;code> Create, delete, and modify local user accounts
Change passwords and adjust password aging for local user accounts
Create, delete, and modify local groups and group memberships
Configure superuser access
&lt;/code>&lt;/pre>
&lt;p>Manage security&lt;/p>
&lt;pre>&lt;code> Configure firewall settings using firewall-cmd/firewalld
Manage default file permissions
Configure key-based authentication for SSH
Set enforcing and permissive modes for SELinux
List and identify SELinux file and process context
Restore default file contexts
Manage SELinux port labels
Use boolean settings to modify system SELinux settings
Diagnose and address routine SELinux policy violations
&lt;/code>&lt;/pre>
&lt;p>Manage containers&lt;/p>
&lt;pre>&lt;code> Find and retrieve container images from a remote registry
Inspect container images
Perform container management using commands such as podman and skopeo
Build a container from a Containerfile
Perform basic container management such as running, starting, stopping, and listing running containers
Run a service inside a container
Configure a container to start automatically as a systemd service
Attach persistent storage to a container
&lt;/code>&lt;/pre></description></item><item><title>Create Your Own git server</title><link>http://sumone.me/blog/create-git-server/</link><pubDate>Sat, 27 Apr 2024 00:00:00 +0000</pubDate><guid>http://sumone.me/blog/create-git-server/</guid><description>&lt;p>[I] Create user Name git&lt;/p>
&lt;pre>&lt;code>useradd -m git -d /var/git -s (any shell bin path)
&lt;/code>&lt;/pre>
&lt;p>[II] Setup passwd of git user&lt;/p>
&lt;pre>&lt;code> sudo passwd git
&lt;/code>&lt;/pre>
&lt;p>[III] Copy ssh pub key from already exist user or set your own&lt;/p>
&lt;pre>&lt;code>cp -r .ssh /git user home dir path...
[***]See the authorized_keys file Content
&lt;/code>&lt;/pre>
&lt;p>[IV] Make git user normal user to root user&lt;/p>
&lt;pre>&lt;code> sudo usermod -aG sudo git
&lt;/code>&lt;/pre>
&lt;p>[V] Give Permissions and Change Ownership of .ssh dir&lt;/p>
&lt;pre>&lt;code>sudo chmod 700 .ssh &amp;amp;&amp;amp; sudo chmod 600 authorized_keys
sudo chown git .ssh &amp;amp;&amp;amp; sudo chown git .ssh/authorized_keys
&lt;/code>&lt;/pre>
&lt;p>[VI] Add user or group of in /usr/ssh/sshd_config file allowuser or allowgroups *username&lt;/p>
&lt;pre>&lt;code> sudo usermod -aG ssh-access *user_name
vim /etc/ssh/sshd_config
&lt;/code>&lt;/pre>
&lt;p>[VI] rstart the sshd deamon&lt;/p>
&lt;pre>&lt;code> service sshd restart
&lt;/code>&lt;/pre>
&lt;p>[VI] Create Bare Repo for Git server&lt;/p>
&lt;pre>&lt;code> git init --bare /projects/*.git
&lt;/code>&lt;/pre>
&lt;p>[VII] push and ferch url&lt;/p>
&lt;pre>&lt;code> git remote add (remote name) git@hostname:projects/*.git
&lt;/code>&lt;/pre>
&lt;p>[^_^] Now you can push and Fetch the repo using thie url&lt;/p>
&lt;p>URL:git@hostname:projects/*git&lt;/p>
&lt;p>So, Creating git server in your home in very easy&amp;hellip;&lt;/p></description></item></channel></rss>