<?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 vijay yadav on Medium]]></title>
        <description><![CDATA[Stories by vijay yadav on Medium]]></description>
        <link>https://medium.com/@vijayy424?source=rss-786201b96ded------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*B5hXLngbUsACvfEN</url>
            <title>Stories by vijay yadav on Medium</title>
            <link>https://medium.com/@vijayy424?source=rss-786201b96ded------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 02:04:22 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@vijayy424/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[Convert PPK to PEM in Linux]]></title>
            <link>https://medium.com/@vijayy424/convert-ppk-to-pem-in-linux-28a50a11e932?source=rss-786201b96ded------2</link>
            <guid isPermaLink="false">https://medium.com/p/28a50a11e932</guid>
            <category><![CDATA[ppk]]></category>
            <category><![CDATA[cli]]></category>
            <category><![CDATA[putty]]></category>
            <category><![CDATA[pem]]></category>
            <category><![CDATA[ubuntu]]></category>
            <dc:creator><![CDATA[vijay yadav]]></dc:creator>
            <pubDate>Thu, 20 Jul 2023 10:54:25 GMT</pubDate>
            <atom:updated>2023-07-20T10:54:25.101Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/964/0*mJgABCIpq1SX-Uet" /></figure><p>Use the below steps to install the required packages and convert ppk to a pem file.</p><h3>Step 1 — First of all, install the putty tools on your Linux system using the below command.</h3><blockquote>sudo apt-get install putty-tools</blockquote><h3>Step 2 — Now, convert the ppk file to a pem file using the Puttygen command line tool.</h3><blockquote>puttygen server1.ppk -O private-openssh -o server1.pem</blockquote><h3>Step 3 — Change the .pem file permissions. Set the read-only permissions to the owner of the file, and remove any permission to the group and others. Otherwise, ssh will refuse this key for use.</h3><blockquote>chmod 400 server1.pem</blockquote><h3>Step 4 — Finally, connect to your remote Linux server with ssh using this pem key.</h3><blockquote>ssh -i server1.pem ubuntu@remote.host</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=28a50a11e932" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Create a Mysql user with read-only access]]></title>
            <link>https://medium.com/@vijayy424/create-a-mysql-user-with-read-only-access-fb427db723ba?source=rss-786201b96ded------2</link>
            <guid isPermaLink="false">https://medium.com/p/fb427db723ba</guid>
            <category><![CDATA[rds]]></category>
            <category><![CDATA[rds-mysql]]></category>
            <category><![CDATA[privileged-access]]></category>
            <category><![CDATA[mysql]]></category>
            <dc:creator><![CDATA[vijay yadav]]></dc:creator>
            <pubDate>Fri, 28 Apr 2023 10:03:13 GMT</pubDate>
            <atom:updated>2023-04-28T10:03:13.576Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*T0WWkwG4ypZn--efvfOoMg.png" /></figure><h3>Introduction</h3><p>There are times when you need to create a user only to have read-only access to a database. The user can view or read the data in the database but they cannot make any changes to the data or the database structure.</p><h3>Creating a New User Account</h3><p>To create a read-only database user account for MySQL do the following steps:</p><ul><li>First, log in as a MySQL administrator from your terminal/command prompt using the following command:</li></ul><blockquote>mysql -u root -p</blockquote><ul><li>You’ll be prompted to enter the password. Type the password for the root account.</li><li>Create a new MySQL user account.</li></ul><blockquote>CREATE USER ‘’@’%’ IDENTIFIED BY ‘Password’;</blockquote><p>The % in the command above means that the user report can be used to connect from any host. You can limit the access by defining the host from where the user can connect. Omitting this information will only allow the user to connect from the same machine.</p><ul><li>Grant the SELECT privilege to users.</li></ul><blockquote>GRANT SELECT ON databasename.* TO ‘user’@’%’;</blockquote><ul><li>Execute the following command to make the privilege changes saved and take effect.</li></ul><blockquote><strong>FLUSH</strong> <strong>PRIVILEGES</strong>;</blockquote><p>Type quit exiting from the MySQL shell.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fb427db723ba" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Best DevOps tools to learn.]]></title>
            <link>https://medium.com/@vijayy424/best-devops-tools-to-learn-f384fb6fe2e2?source=rss-786201b96ded------2</link>
            <guid isPermaLink="false">https://medium.com/p/f384fb6fe2e2</guid>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[jenkins]]></category>
            <category><![CDATA[ansible]]></category>
            <dc:creator><![CDATA[vijay yadav]]></dc:creator>
            <pubDate>Tue, 28 Feb 2023 06:18:57 GMT</pubDate>
            <atom:updated>2023-02-28T06:36:57.247Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*o4GRdlRN5cyFKJMkEAkt_Q.png" /></figure><p>DevOps is a rapidly growing field with new tools emerging all the time. Here are some popular and useful DevOps tools to consider learning.</p><h3>Docker</h3><p>Docker is a containerization tool that allows developers to create and deploy applications in a portable and efficient way.</p><h3>Kubernetes</h3><p>Kubernetes is an open-source container orchestration tool that helps to automate the deployment, scaling, and management of containerized applications.</p><h3>Jenkins</h3><p>Jenkins is an open-source automation server that helps to automate the software build, testing, and deployment processes.</p><h3>Ansible</h3><p>Ansible is an open-source configuration management and automation tool that helps to automate the deployment and management of IT infrastructure.</p><h3>Git</h3><p>Git is a version control system that allows developers to track changes to their codebase and collaborate with other team members.</p><h3>Puppet</h3><p>Puppet is an open-source configuration management tool that helps to automate the configuration and management of IT infrastructure.</p><h3>Terraform</h3><p>Terraform is an open-source infrastructure as code tool that helps to automate the provisioning and management of IT infrastructure.</p><h3>Grafana</h3><p>Grafana is an open-source data visualization tool that helps to visualize and monitor metrics and logs from different data sources.</p><h3>Nagios</h3><p>Nagios is an open-source monitoring tool that helps to monitor the availability and performance of IT infrastructure.</p><h3>Prometheus</h3><p>Prometheus is an open-source monitoring and alerting tool that helps to collect and analyze metrics from different sources and generate alerts based on predefined rules.</p><p>Learning these DevOps tools can help you to automate and streamline the software development, testing, and deployment processes and improve the overall efficiency and reliability of IT infrastructure.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f384fb6fe2e2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to configure amazon RDS in PHPMyAdmin]]></title>
            <link>https://medium.com/@vijayy424/how-to-configure-amazon-rds-in-phpmyadmin-3108e3b86309?source=rss-786201b96ded------2</link>
            <guid isPermaLink="false">https://medium.com/p/3108e3b86309</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[phpmyadmin]]></category>
            <category><![CDATA[rds-mysql]]></category>
            <category><![CDATA[mysql]]></category>
            <category><![CDATA[aws-rds]]></category>
            <dc:creator><![CDATA[vijay yadav]]></dc:creator>
            <pubDate>Tue, 28 Feb 2023 05:35:45 GMT</pubDate>
            <atom:updated>2023-02-28T05:35:45.181Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ji6Bg2yGNdH1EJGcwTgstw.png" /></figure><h3>Lesson Objectives</h3><ul><li>Understanding PHPMyAdmin</li><li>Download PHPMyAdmin and Configure it for RDS</li><li>Call on the browser and test</li></ul><h3>PHPMyAdmin</h3><p>PHPMyAdmin is a free software tool written in PHP, intended to handle the administration of MySQL over the Web. phpMyAdmin supports a wide range of operations on MySQL and MariaDB.</p><h3>Install and configure phpMyAdmin</h3><p>You need to go to the root directory of the project. Like my project is in /var/www/html</p><pre>cd /var/www/html/</pre><p>Now Download the phpMyAdmin from an authorized website using wget command</p><pre>wget https://files.phpmyadmin.net/phpMyAdmin/4.7.3/phpMyAdmin-4.7.3-all-languages.zip</pre><p>Unzip phpMyAdmin</p><pre>unzip phpMyAdmin-4.7.3-all-languages.zip</pre><p>Now rename phpMyAdmin and go to phpMyAdmin Directory</p><pre>mv phpMyAdmin-4.7.3-all-languages phpmyadmin</pre><p>And go into the renamed Directory</p><pre>cd phpmyadmin</pre><p>Here we need to Rename and Edit the configuration file for phpMyAdmin, using the following commands.</p><pre>mv config.sample.inc.php config.inc.php</pre><p>Open the config.inc.php using</p><pre>vim config.inc.php</pre><p>As Amazon RDS, you need to add the following lines after the block of localhost config.</p><pre>$i++;<br>$cfg[&#39;Servers&#39;][$i][&#39;host&#39;] = &#39;xxxxxxxxxxxx.ap-northeast-1.rds.amazonaws.com&#39;;<br>$cfg[&#39;Servers&#39;][$i][&#39;port&#39;] = &#39;3306&#39;;<br>$cfg[&#39;Servers&#39;][$i][&#39;socket&#39;] = &#39;&#39;;<br>$cfg[&#39;Servers&#39;][$i][&#39;connect_type&#39;] = &#39;tcp&#39;;<br>$cfg[&#39;Servers&#39;][$i][&#39;extension&#39;] = &#39;mysqli&#39;;<br>$cfg[&#39;Servers&#39;][$i][&#39;auth_type&#39;] = &#39;cookie&#39;;</pre><p>Save file and Close.</p><p>You can get ‘RDS MYSQL ENDPOINT’ from AWS RDS console.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*0WruLs8aNMqvM9Rz" /></figure><h3>Restart Apache</h3><pre>Sudo systemctl restart apache2.service</pre><p>Also check your RDS inbound port 3306 is Open in the RDS Security group for access MySQL to phpMyAdmin</p><h3>Access phpMyAdmin from your local browser.</h3><p>Enter <a href="http://server_ip/phpMyAdmin">http://SERVER_IP/phpMyAdmin</a> enter the username and password of your RDS. and access it.</p><h3>Now you can access phpMyAdmin and choose your host.</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*-Q4hJvCv9rKdEwCr" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3108e3b86309" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>