<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Ajocha ivo fonga </title>
    <description>The latest articles on DEV Community by Ajocha ivo fonga  (@ivofonga25).</description>
    <link>https://dev.to/ivofonga25</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F2973046%2F2c971d86-f8ce-4518-b467-bfc44f064aed.png</url>
      <title>DEV Community: Ajocha ivo fonga </title>
      <link>https://dev.to/ivofonga25</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ivofonga25"/>
    <language>en</language>
    <item>
      <title>Setting up and customizing an Apache web server on Linux</title>
      <dc:creator>Ajocha ivo fonga </dc:creator>
      <pubDate>Fri, 02 May 2025 19:58:18 +0000</pubDate>
      <link>https://dev.to/ivofonga25/setting-up-and-customizing-an-apache-web-server-on-linux-4ae1</link>
      <guid>https://dev.to/ivofonga25/setting-up-and-customizing-an-apache-web-server-on-linux-4ae1</guid>
      <description>&lt;h2&gt;
  
  
  &lt;strong&gt;Introduction&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;In this blog post, i will walk you through the proces of installing and customizing an Apache web server on linux system (Ubuntu). this project has helped me understand the practical steps of web server setup and give me hands on experience with customizing a live webpage.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;step1: Chosing the Web Server&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;For this project, i decided to chose Apache due to its long-standing popularity, extensive documentation and ease of usage.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;step2: Installing Apache&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;First of all, i had to update my package list to make sure the latest software version is available.&lt;br&gt;
      &lt;code&gt;sudo apt update&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flsqgp1u466gsb9g0qqt7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flsqgp1u466gsb9g0qqt7.png" alt="Image description" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Next, i installed Apache with the command&lt;/p&gt;

&lt;p&gt;&lt;code&gt;sudo apt install Apache2&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyzkvks0wa4b9rbm3bzdv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyzkvks0wa4b9rbm3bzdv.png" alt="Image description" width="800" height="234"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;step3: verifying the installation&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;To verify that Apache is runing, i use the command &lt;/p&gt;

&lt;p&gt;&lt;code&gt;sudo systemctl status apache2&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxy1c2q78eahtfg678fbu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxy1c2q78eahtfg678fbu.png" alt="Image description" width="800" height="370"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The output confirmed that Apache is active and (running)&lt;/p&gt;

&lt;p&gt;Then i opened the web browser and visited &lt;code&gt;http://localhost&lt;/code&gt;. The default Apache2 Ubuntu Default page loaded successfully, indicating that the server was working properly.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;step4 Customizing the Default Index Page&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;I navigated the default document root buy using the cammand&lt;/p&gt;

&lt;p&gt;&lt;code&gt;cd /var/www/html&lt;/code&gt; to open the file &lt;code&gt;index.html&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F22spbonntvgwvr64fivi.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F22spbonntvgwvr64fivi.png" alt="Image description" width="800" height="204"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Then i use the command &lt;code&gt;sudo vi /var/www/html/index.html&lt;/code&gt;to replace the existing content with the following custom&lt;br&gt;
&lt;code&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;br&gt;
&amp;lt;html&lt;br&gt;
&amp;lt;head&amp;gt;&lt;br&gt;
  &amp;lt;title&amp;gt;Welcome to My Website&amp;lt;/title&amp;gt;&lt;br&gt;
  &amp;lt;head&amp;gt;&lt;br&gt;
    body {&lt;br&gt;
  &amp;lt;/style&amp;gt;&lt;br&gt;
&amp;lt;/head&amp;gt;&lt;br&gt;
&amp;lt;body&amp;gt;&lt;br&gt;
  &amp;lt;h1&amp;gt;Welcome to My Apache Web Server!&amp;lt;/h1&amp;gt;&lt;br&gt;
  &amp;lt;p&amp;gt;this page was customize by[NAME]&amp;lt;/p&amp;gt;&lt;br&gt;
&amp;lt;/body&amp;gt;&lt;br&gt;
&amp;lt;/html&amp;gt;&lt;br&gt;
&lt;/code&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6xp5rkdh3n0slpby3ld7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6xp5rkdh3n0slpby3ld7.png" alt="Image description" width="747" height="311"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;After editing,saving and exiting the editor,i restarted Apache to apply the changes using the command &lt;br&gt;
&lt;code&gt;sudo systemctl restart apache2&lt;/code&gt;&lt;br&gt;
I refresh the browser and saw my custom web page&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fz36ztwrazw5l5dp37nns.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fz36ztwrazw5l5dp37nns.png" alt="Image description" width="714" height="234"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;step5: reflection and challenges&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;The process went smoothly overall, but I did encounter some issues: I initially forgot to use sudo, while editing the index file, which led to a “Permission denied” error, i also forgot to&lt;code&gt;restarting ststemctl&lt;/code&gt; after i installed Apache to ensure the server is running. Once I ran the editor with sudo, and restart the systemctl it worked perfectly.&lt;/p&gt;

&lt;p&gt;This task taught me the basics of server configuration, the structure of a Linux web environment, and how small customizations can personalize your site. It was a great exercise in both system administration and web development.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Conclution&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Setting up an Apache server is simpler than it seems! By following just a few commands, I was able to host my own web page. This experience has definitely boosted my confidence in working with Linux and web servers.&lt;br&gt;
After reading should you have any question put it at the coment section &lt;br&gt;
and if you have sujestion for improvment. thank you A.Ivo &lt;/p&gt;

</description>
    </item>
    <item>
      <title>linux beginners guide and essential commands</title>
      <dc:creator>Ajocha ivo fonga </dc:creator>
      <pubDate>Thu, 03 Apr 2025 20:40:27 +0000</pubDate>
      <link>https://dev.to/ivofonga25/linux-beginners-guide-and-essential-commands-592h</link>
      <guid>https://dev.to/ivofonga25/linux-beginners-guide-and-essential-commands-592h</guid>
      <description>&lt;p&gt;&lt;strong&gt;Introduction&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Linux, as an open-source operating system, has earned its reputation as a versatile and powerful tool in the world of computing. It’s widely used for everything from personal computing to running servers, cloud infrastructures, and even powering many Android devices. Linux is a key player in the fields of system administration, cybersecurity, DevOps, and cloud computing. Its flexibility, stability, and security make it essential for anyone working with IT systems.&lt;/p&gt;

&lt;p&gt;Before diving into the world of Linux commands, I had a basic understanding of the operating system but had little hands-on experience. I knew Linux was a command-line-based system, but the vast array of commands and their applications seemed daunting. I was curious about how system administrators manage files, users, processes, and packages without relying on a graphical interface. This module has been an eye-opening experience, providing me with the foundational knowledge to navigate Linux efficiently.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Key Commands Learned&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Filesystem Navigation Commands&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The first set of commands I encountered were used for navigating the filesystem. These are essential for moving through directories and viewing contents.&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;• ls – This command lists files and directories in the current working directory. Options like **ls -l** provide detailed information about the files, including permissions, owner, size, and modification time. 

• cd – The cd (change directory) command is used to navigate between directories. For instance, **cd /home/user/Documents** takes you to the Documents directory.

• pwd – The pwd (print working directory) command shows the current directory you are working in, ensuring you never lose track of where you are.

• mkdir – This command is used to create directories. For example, mkdir new_directory creates a new folder named “new_directory.”

• rm – The rm (remove) command is used to delete files. It is a powerful command, and caution is needed, especially when using options like -r for recursive removal, which deletes entire directories.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;File Management Commands&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Managing files is at the heart of using Linux efficiently. The following commands help in manipulating and managing files:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;• cp – The cp (copy) command allows you to duplicate files and directories. For example, cp file.txt backup.txt copies “file.txt” to “backup.txt.

• mv – This command moves or renames files and directories. For example, mv old_name.txt new_name.txt renames a file.

• touch – The touch command is used to create empty files or update the timestamp of existing ones. touch new_file.txt creates an empty text file.

• cat – The cat command displays the contents of a file on the terminal. It is also used to concatenate multiple files together.

• grep – A powerful search tool, grep searches through files for specific patterns or keywords. For example, grep "error" log.txt will find and display lines in the log.txt file that contain the word “error.”
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;User &amp;amp; Permissions Commands&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Linux is built around the concept of users and permissions, ensuring that only authorized individuals can access certain files and actions.&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;• sudo – The sudo command is used to execute commands with superuser (root) privileges. For instance, sudo apt update is used to update the package database with root privileges.

• usermod – This command allows you to modify user accounts. For example, usermod -aG sudo username adds a user to the sudo group, granting them elevated privileges.

• chmod Command – The chmod command changes file permissions. For example, chmod 755 file.sh gives read, write, and execute permissions to the owner, and read and execute permissions to others.

• chown Command – This command changes the ownership of a file or directory. For example, chown user:group file.txt assigns ownership of the file to the specified user and group.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Process Management Commands&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Managing processes is crucial to system administration and troubleshooting. These commands allow you to view and control running processes.&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;• ps – The ps (process status) command provides information about active processes. It’s useful for identifying what’s running on the system.

• kill – The kill command is used to terminate processes. For example, kill 1234 sends a termination signal to the process with ID 1234.
• the "top" command – This command displays a dynamic, real-time view of system processes, memory usage, and CPU load.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Package Management Commands&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Package management is crucial in Linux for installing, updating, and removing software. Different distributions use different package managers.&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;• apt – Commonly used on Debian-based distributions like Ubuntu, apt is a package manager used for installing, updating, and removing software. For example, sudo apt install package-name installs a package.

• yum – The yum (Yellowdog Updater, Modified) command is used in Red Hat-based distributions for managing packages. It’s similar to apt but tailored for distributions like CentOS and Fedora.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;• dnf – dnf is the next-generation package manager for Fedora, replacing yum. It is faster and more efficient, offering advanced features like automatic dependency resolution.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Real-World Application&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The Linux commands I’ve learned are critical in various IT domains. In system administration, these commands are used to manage users, maintain the filesystem, and monitor system performance. Cybersecurity professionals rely on Linux commands for tasks like inspecting file permissions, managing system updates, and troubleshooting suspicious processes. In DevOps and cloud computing, these commands form the backbone of automation and configuration management. For instance, automating the installation of packages or managing cloud infrastructure resources relies on efficient command-line interactions. In server management, commands like ps, top, and kill are vital for performance monitoring and process control.&lt;/p&gt;

&lt;p&gt;Challenges &amp;amp; Takeaways&lt;/p&gt;

&lt;p&gt;One of the challenges I faced was understanding the full potential of permissions and file management. Linux’s powerful permissions system can be overwhelming at first, but it’s an essential part of maintaining system security. I also had to be cautious with commands like rm and chmod, as they can cause irreparable changes if misused.&lt;/p&gt;

&lt;p&gt;The most exciting command for me was grep, as it allows you to sift through files to find exact information, making it invaluable for troubleshooting and analyzing logs. I also found sudo crucial for gaining elevated privileges when executing system-level commands.&lt;/p&gt;

&lt;p&gt;Conclusion&lt;/p&gt;

&lt;p&gt;My journey through learning basic Linux commands has been both challenging and rewarding. These fundamental skills have given me a solid foundation to build upon as I continue to explore more advanced aspects of Linux. Moving forward, I plan to deepen my understanding of automation, scripting, and network management, while also gaining hands-on experience with different Linux distributions to solidify my skills further.&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
