<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Mel on Medium]]></title>
        <description><![CDATA[Stories by Mel on Medium]]></description>
        <link>https://medium.com/@mecro928?source=rss-89ef2326dc35------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*6viAJ86_F3l72vGqBkVibg@2x.jpeg</url>
            <title>Stories by Mel on Medium</title>
            <link>https://medium.com/@mecro928?source=rss-89ef2326dc35------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 07:24:07 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mecro928/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Installing a LAMP Web app]]></title>
            <link>https://medium.com/@mecro928/installing-a-lamp-web-app-c030cf2ad494?source=rss-89ef2326dc35------2</link>
            <guid isPermaLink="false">https://medium.com/p/c030cf2ad494</guid>
            <category><![CDATA[linux-tutorial]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[rhcsa]]></category>
            <dc:creator><![CDATA[Mel]]></dc:creator>
            <pubDate>Wed, 05 Dec 2018 23:24:34 GMT</pubDate>
            <atom:updated>2018-12-05T23:24:34.344Z</atom:updated>
            <content:encoded><![CDATA[<p>Installing a LAMP Web app</p><p>Create a VM</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/680/0*CCNhEZHL7--ktdNW" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/690/0*Y3eIT5wjzZ9MDF_v" /></figure><p>Configure the VM</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/771/0*QRQvL8tyvaj6j4oV" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/651/0*ERqVS4gtT25g8KQw" /></figure><p>Ping the VM to test if it works.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/692/0*9JT4yAh0ErmORvMD" /></figure><p>Next we will SSH into the VM and install Apache as well as PHP and PHP Modules</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/514/0*SjF4OSoRODYz57JV" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/610/0*6VKKtoi5YbY6rP_G" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/551/0*BKh1Lzwe_YXXxl4L" /></figure><p>Now we will install PHP and EPEl repository</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/661/0*-kvCPGJYdegE_LTm" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/559/0*8NdCZaZy-qT4mvIP" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/593/0*WB11LqmvWQYGBBbo" /></figure><p>Start and enable the web Server</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/713/0*R3sHLiPPHexcHYV5" /></figure><p>Start and enable MariaDb as well</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/836/0*0HngeLwoeI2LBNmQ" /></figure><p>Lets secure MariaDB</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/686/0*sR5XtH16cJtyv06p" /></figure><p>Create a Database for the Application and DB user for the Database</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/688/0*zozINyvzpkG7A_xI" /></figure><p>Switch to the osticket directory and download the Web Application with Curl</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/559/0*Uz1n3Hh1W2ns8H5C" /></figure><p>Unzip the file to extract the Web Application</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/558/0*fNPlbKw9QIuz9xnb" /></figure><p>Move the Web Application into the Document</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/724/0*XaNzGNobEk2_WrS1" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/543/0*AnFwhmGrLyht-MLi" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*rQcoMsfiroV2x5vY" /></figure><p>Once you change the owner of the ost-config.php to Apache you can now access it through the web link <a href="http://10.23.45.20/">http://10.23.45.20</a>​. Once you click on the link you will see the screen below.</p><p>Once you get to the screen below enter the following</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*GmkSgxNzvycsVl03" /></figure><p>Afterwards you will see this screen.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/926/0*SsLgW93ptPfr7AJ-" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/737/0*7tqUwhOLQQAN0akc" /></figure><p>Start and enable the web Server</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c030cf2ad494" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Recovering Root Password on CentOS/Redhat]]></title>
            <link>https://medium.com/@mecro928/recovering-root-password-on-centos-redhat-c29f17241a80?source=rss-89ef2326dc35------2</link>
            <guid isPermaLink="false">https://medium.com/p/c29f17241a80</guid>
            <category><![CDATA[centos]]></category>
            <category><![CDATA[terminal]]></category>
            <category><![CDATA[linux-tutorial]]></category>
            <category><![CDATA[redhack]]></category>
            <category><![CDATA[linux]]></category>
            <dc:creator><![CDATA[Mel]]></dc:creator>
            <pubDate>Tue, 27 Nov 2018 01:33:06 GMT</pubDate>
            <atom:updated>2018-11-27T01:38:38.867Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*BTSc6W1-YATu4IG7uoCm4g.png" /></figure><p>Hello,</p><p>In this quick tutorial I’m going to show you how to recover your root password in case of certain situations happening like you forgetting your password or you accidentally messed up a very important configuration file. In my studies I made a horrible mistake of inputting one small mistake into the /etc/fstab file which led me to recovering my root password and editing the /etc/fstab configuration file while in recovery mode. I hope this tutorial can be useful for you or someone you know in the future.</p><p>Melvin Cross</p><p><strong>Root Password Reset</strong></p><ol><li>Once you start your system type “e” at the boot menu. Once you press “e” the screen will appear.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*H0xkvwYFs4yC0OQV" /></figure><p>2. Scroll down with your cursor to where it says “ linux 16” and then press “ CTRL + E” to go to the end of the line.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*2HZH8Z2xCJsx4UyU" /></figure><p>3. Once you have gotten to the end of the line hit space and type in “ rd.break enforcing=0”. Once you are done press “ CTRL-X”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*6jfpyBbRBv_iMu_Y" /></figure><p>4. At the prompt type “mount -o remount, rw /sysroot” and enter.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*CJ8u0yvn7Ljjn7HR" /></figure><p>5. Create temporary root directory with chroot /sysroot and enter.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*R8GzDPsmdiXtPW-_" /></figure><p>6. Set new passwd for root</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*OozkRYakQtF5y7TV" /></figure><p>7. Run the following commands in order in below ending with a reboot.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ZdhAHhDvbJNCcnYq" /></figure><p>8. Once your box has done rebooting you will be able to login as root.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*R2OhmfezZ_G3thbR" /></figure><p><strong>and thats it, we’re all done.</strong></p><h3>Thanks for visiting.</h3><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c29f17241a80" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[YUM Repo Installation Practice]]></title>
            <link>https://medium.com/@mecro928/yum-repo-installation-practice-cc91527690c3?source=rss-89ef2326dc35------2</link>
            <guid isPermaLink="false">https://medium.com/p/cc91527690c3</guid>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[rhcsa]]></category>
            <category><![CDATA[repositories]]></category>
            <dc:creator><![CDATA[Mel]]></dc:creator>
            <pubDate>Sun, 25 Nov 2018 17:02:55 GMT</pubDate>
            <atom:updated>2018-11-25T17:08:05.925Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*BTSc6W1-YATu4IG7uoCm4g.png" /></figure><p>Hello,</p><p>For this exercise I’m going to show you how to install and setup a repository on your CentOS operating system.</p><ol><li>First thing you need to do is scp CentOS to Server</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/654/1*GMuRolOGHnd32Gjfx6Nd_g.jpeg" /></figure><p>2. Make sure to have a holding place available before you scp, so create /var/tmp/dvd/ and then verify.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/644/1*utQ0s47Ye3WG9cb2qjaSpw.jpeg" /></figure><p>3. Ls /mnt to verify</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/590/1*j2ECHGG6AVC1-ykOJSV45Q.jpeg" /></figure><p>4. Create /repo to hold packages and verify with ls -la /repo.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/546/1*kqvO8W-6pqR7oN0Yq3XiDg.jpeg" /></figure><p>5.copy packages to repo with cp/mnt/Packages/ * /repo</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/240/1*3-uCu5KvzZ7CAhkBNFk9fA.jpeg" /></figure><p>6. BEFORE YOU MOVE PACKAGES TO bakrepo YOU MUST INSTALL “ YUM CREATEREPO” OR IT WILL NOT ALLOW YOU TO DO SO. I wasn’t able to get a screenshot of this because it took me few different tries to figure it out.</p><p>7. Run “ createrepo”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/543/1*MH4ZFVVJ1856wS8aa_W6rA.jpeg" /></figure><p>8.go to /etc/yum.repos.d/ and create the vi local repository file “ vi /etc/yum.repos.etc/local.repo and enter the following below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/328/1*ymH9-JXpbeReHpn_xfP7Bg.jpeg" /></figure><p>9. Run makecache fast</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/654/1*uWbXcLBIZnlNjEwoQBXwbw.jpeg" /></figure><p>10. Run yum clean all</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/676/1*RqRNtf1Q01s-Rn8Xo5Vipg.jpeg" /></figure><p>11. Make sure to test the Repo Install and you’re all done.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cc91527690c3" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>