<?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 Sreelekshmi on Medium]]></title>
        <description><![CDATA[Stories by Sreelekshmi on Medium]]></description>
        <link>https://medium.com/@sreelekshmig27?source=rss-dcdbff13f368------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*jeMLOLwV2Z_0O8bn.jpg</url>
            <title>Stories by Sreelekshmi on Medium</title>
            <link>https://medium.com/@sreelekshmig27?source=rss-dcdbff13f368------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 22:35:28 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sreelekshmig27/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[Install Go on Linux (Red hat/ RHEL 8) and Run your first program]]></title>
            <link>https://sreelekshmig27.medium.com/install-go-on-linux-red-hat-rhel-8-and-run-your-first-program-f37bf0706928?source=rss-dcdbff13f368------2</link>
            <guid isPermaLink="false">https://medium.com/p/f37bf0706928</guid>
            <category><![CDATA[rhel-8]]></category>
            <category><![CDATA[google]]></category>
            <category><![CDATA[go]]></category>
            <category><![CDATA[rhel]]></category>
            <category><![CDATA[linux]]></category>
            <dc:creator><![CDATA[Sreelekshmi]]></dc:creator>
            <pubDate>Mon, 22 Aug 2022 10:10:39 GMT</pubDate>
            <atom:updated>2022-08-22T10:10:39.202Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/367/1*5n9k20uLpsITVHWSYXluhw.png" /></figure><p>The Go programming language is an open source project to make programmers more productive.</p><p>Go is expressive, concise, clean, and efficient. Its concurrency mechanisms make it easy to write programs that get the most out of multicore and networked machines, while its novel type system enables flexible and modular program construction. Go compiles quickly to machine code yet has the convenience of garbage collection and the power of run-time reflection. It’s a fast, statically typed, compiled language that feels like a dynamically typed, interpreted language.</p><p>In this article we are going to install Go on RHEL 8 Linux and create our first program in Go.</p><p><strong>Installation</strong></p><p>Step 1: Download installer with wget to your local system:</p><pre>wget https://storage.googleapis.com/golang/getgo/installer_linux</pre><p>Step 2: Make the file executable:</p><pre>chmod +x ./installer_linux</pre><p>Step 3: Run the installer from your current terminal shell:</p><pre>./installer_linux</pre><p>Step 4: Run `source ~/.bash_profile` to persist the new environment variables to your current session:</p><pre>source ~/.bash_profile</pre><p>Step 5: Check Go version:</p><pre>go version</pre><p><strong>Coding</strong></p><p>Step 1: Create a file named helloworld.go</p><p>Step 2: Write the below code print “Hello World”:</p><pre>package main</pre><pre>import &quot;fmt&quot;</pre><pre>func main() {</pre><pre>fmt.Println(&quot;Hello World&quot;)</pre><pre>}</pre><p>Step 3: Run your program:</p><p>There are two ways to run the program.</p><p>A) This command creates a temporary binary that gets executed.</p><pre>go run helloworld.go</pre><p>B)This command will create a binary</p><pre>go build helloworld.go</pre><p>And if you run “ls” command, then you can see the binary is created. Simply run that binary to execute your program.</p><pre>./helloworld</pre><p>Congratulations! You have successfully created and execute your first program in Go :)</p><p><strong>Note: While you are running the <em>go run helloworld.go</em> or <em>go build helloworld.go</em> command and if you are seeing the below error:</strong></p><blockquote><strong><em>helloworld.go:1:1: expected ‘package’, found ‘EOF’</em></strong></blockquote><p><strong>Execute this:</strong></p><pre><strong>go env -w GO111MODULE=off</strong></pre><p><strong>GO111MODULE=off forces Go to behave the GOPATH way, even outside of GOPATH</strong></p><p>Hope you enjoyed reading. Have a good day !</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f37bf0706928" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Install Java 11 on Linux (Red Hat) and How to switch between different Java versions]]></title>
            <link>https://sreelekshmig27.medium.com/install-java-11-on-linux-red-hat-and-how-to-switch-between-different-java-versions-e5100764164f?source=rss-dcdbff13f368------2</link>
            <guid isPermaLink="false">https://medium.com/p/e5100764164f</guid>
            <category><![CDATA[swtich-java-version]]></category>
            <category><![CDATA[install-java]]></category>
            <category><![CDATA[java11]]></category>
            <category><![CDATA[install-java-on-linux]]></category>
            <category><![CDATA[how-to-install-java]]></category>
            <dc:creator><![CDATA[Sreelekshmi]]></dc:creator>
            <pubDate>Thu, 11 Aug 2022 13:27:09 GMT</pubDate>
            <atom:updated>2022-08-11T13:27:09.536Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*-qqdQ9PqwCDcUKaR4_4fjA.png" /><figcaption>Java 11</figcaption></figure><p>Hello Java techies,</p><p>Java 11 was released by Oracle in September 2018, only 6 months after its predecessor, version 10. Java 11 is the first long-term support (LTS) release after Java 8. Oracle also stopped supporting Java 8 in January 2019. As a consequence, a lot of us will upgrade to Java 11.</p><p>In this article, we will be going through the steps to install Java 11 on Red Hat version on Linux and will also look at how to switch between different versions of Java on the machine.</p><p><strong>Step 1</strong>: To identify the version or OS release of your Linux execute the below command</p><pre><em>cat /etc/os-release</em></pre><p>If you have Red Hat Enterprise Linux Server as you OS version, please follow the below article to install and switch between Java versions.</p><p><strong>Step 2</strong>: JDK 11 is available in standard yum repositories, and therefore just execute the following command</p><pre><em>sudo dnf install -y java-11-openjdk</em></pre><p><strong>Step 3</strong>: Check the Java version</p><pre><em>java -version</em></pre><p>Your output should look like</p><p><em>openjdk version “11.0.15” 2022–04–19 LTS</em></p><p><em>OpenJDK Runtime Environment 18.9 (build 11.0.15+9-LTS)</em></p><p><em>OpenJDK 64-Bit Server VM 18.9 (build 11.0.15+9-LTS, mixed mode, sharing)</em></p><p>If you have previous versions of Java installed, the above command would not immediately show the new version say for example if you have Java 8 installed on your Linux machine, then when you execute the version check command you will see the output for Java 8</p><p>In the following section, we will see how to switch the Java versions on Linux</p><p><strong>Step 4</strong>: Check the available Java versions<strong> </strong>on your Linux system by using update-alternatives command:</p><pre>sudo update-alternatives --display java</pre><p>Output will look something like below (displays all the java versions installed on the machine.</p><p>For example, I have Java 7 and Java 11 installed.</p><p><em>usr/lib/jvm/java-11-openjdk-11.0.15.0.9–2.el7_9.x86_64/bin/java</em></p><p><em>/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.261–2.6.22.2.el7_8.x86_64/jre/bin/java — family java-1.7.0-openjdk.x86_64 priority 1700261</em></p><p><strong>Step 5</strong>: Java versions can be switched among available Java JREs by running the following command:</p><pre>sudo update-alternatives --config java</pre><p>Then the prompt displays as below, the + denotes the current Java version and you have to type in the number for selection of your particular version needed.</p><pre>There are 3 programs which provide ‘java’.</pre><pre>Selection Command</pre><pre> — — — — — — — — — — — — — — — — — — — — — — — -</pre><pre>1 java-1.7.0-openjdk.x86_64 (/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.261–2.6.22.2.el7_8.x86_64/jre/bin/java)</pre><pre>+ 2 java-11-openjdk.x86_64 (/usr/lib/jvm/java-11-openjdk-11.0.15.0.9–2.el7_9.x86_64/bin/java)</pre><pre>* 3 java-1.8.0-openjdk.x86_64 (/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.332.b09–1.el7_9.x86_64/jre/bin/java)</pre><pre>Enter to keep the current selection[+], or type selection number:</pre><p><strong>Step 6</strong>: Now check the java version.</p><pre>java -version</pre><p><em>Congratulations, you have now successfully installed Java 11. Hope you enjoyed reading and if you think the article helped you please follow me and leave a comment. Thanks :)</em></p><p>Note: If you have JAVA_HOME variable set on the machine, you need to change that to point to the current version of Java.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e5100764164f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to overcome the throttling issue of Docker while pulling images?]]></title>
            <link>https://sreelekshmig27.medium.com/how-to-overcome-the-throttling-issue-of-docker-while-pulling-images-5aa5c35ac78?source=rss-dcdbff13f368------2</link>
            <guid isPermaLink="false">https://medium.com/p/5aa5c35ac78</guid>
            <category><![CDATA[dockerhub]]></category>
            <category><![CDATA[pull-image]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[professional-workarounds]]></category>
            <category><![CDATA[docker-image]]></category>
            <dc:creator><![CDATA[Sreelekshmi]]></dc:creator>
            <pubDate>Mon, 18 Jul 2022 11:24:10 GMT</pubDate>
            <atom:updated>2022-07-18T11:24:10.679Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/320/1*Bjfmruqip9QFhRGDlACDwQ.jpeg" /></figure><p>While working with docker, many of us might have come across the throttling issue while pulling an image or trying to create a pod using an image from docker.</p><p>Here I am going to explain a simple method to overcome the throttling issue caused by Docker.</p><p>To start with let me explain what actually is a throttling issue.</p><p><strong>Problem Statement:</strong></p><p>While creating a pod using an image from Docker Hub using the command:</p><p><em>kubectl run ngnix — image=nginx</em></p><p>and when tried to check the pods using kubectl get pods, I got the below error</p><p>NAME READY STATUS RESTARTS AGE</p><p>ngnix 0/1 ErrImagePull 0 4s</p><p><strong>Analysis:</strong></p><p>I tried to analyse the pod using the command</p><p><em>kubectl describe pod ngnix</em></p><p>and here is what I found:</p><p>Failed to pull image “nginx”: rpc error: code = Unknown desc = Error response from daemon: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: <a href="https://www.docker.com/increase-rate-limit">https://www.docker.com/increase-rate-limit</a></p><p>This is called the throttling issue of Docker.</p><p><strong>Solution</strong></p><p>Don’t try to pull images from Docker Hub, instead try to use <a href="https://aws.amazon.com/ecr/">ECR(Elastic Container Registry) </a>for private images and <a href="https://gallery.ecr.aws/">Amazon ECR Public Gallery</a> for public docker images.</p><p>For example:</p><p><em>kubectl run ngnix — image=public.ecr.aws/breezeware/ngnix:latest</em></p><p>NAME READY STATUS RESTARTS AGE</p><p>ngnix 1/1 Running 0 22m</p><p>Hope you enjoyed reading. Thanks :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5aa5c35ac78" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How To Crack Oracle’s OCAJP 8(Oracle Certified Associate Java SE 8 Programmer) Exam in 2021]]></title>
            <link>https://sreelekshmig27.medium.com/how-to-crack-oracles-ocajp-8-oracle-certified-associate-java-se-8-programmer-exam-in-2021-8e6f2b46bd?source=rss-dcdbff13f368------2</link>
            <guid isPermaLink="false">https://medium.com/p/8e6f2b46bd</guid>
            <category><![CDATA[java-certification]]></category>
            <category><![CDATA[java]]></category>
            <category><![CDATA[ocajp]]></category>
            <category><![CDATA[java8]]></category>
            <category><![CDATA[javacareer]]></category>
            <dc:creator><![CDATA[Sreelekshmi]]></dc:creator>
            <pubDate>Wed, 20 Jan 2021 18:41:53 GMT</pubDate>
            <atom:updated>2021-01-20T18:41:53.904Z</atom:updated>
            <content:encoded><![CDATA[<p>With tips for exam preparations, online resources, and the best mock exam simulators</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/450/1*L2onsimKwot6VcMGETJTEw.png" /></figure><p>Hello Java Enthusiasts,</p><p>I recently cleared the OCAJP certification exam for Java SE 8 and hence thought of sharing with you some tips, resources, and mock exam simulators that I used to prepare for the certification. If you are preparing for OCAJP certification, this article is for you.</p><p>It is worthwhile to get this certification as it has many benefits. If you are already an experienced developer, it adds value to your resume/CV and also will help you to stand out from other non-certified Java professionals. Java certification is a difficult exam to pass but can be cleared easily if prepared in a very organized and efficient manner. It requires a deep understanding of the concepts in Java to crack the exam.</p><h3>Best Books for OCAJP exam</h3><h4>1.OCA: Oracle Certified Associate Java SE 8 Programmer I Study Guide: Exam 1Z0–808 By Jeanne Boyarsky, Scott Selikoff:</h4><p><a href="https://www.wiley.com/en-us/OCA%3A+Oracle+Certified+Associate+Java+SE+8+Programmer+I+Study+Guide%3A+Exam+1Z0+808-p-9781118957424">OCA: Oracle Certified Associate Java SE 8 Programmer I Study Guide: Exam 1Z0-808</a></p><p>This book covers all the objectives of the certification exam and also contains practice questions at the end of each module.</p><h4>2. OCA/OCP Java SE 8 Programmer: Practice Tests By Jeanne Boyarsky, Scott Selikoff:</h4><p><a href="https://www.wiley.com/en-us/OCA+OCP+Java+SE+8+Programmer+Practice+Tests-p-9781119363392">OCA / OCP Java SE 8 Programmer Practice Tests</a></p><p>Once you have grasped all the concepts, you can test your knowledge using these practice tests. It will help you to identify your weak areas.</p><p><strong><em>I referred only to these two books and hence I don&#39;t want to overload you with a list of other books that I haven&#39;t used. But there are a lot of them out there. If you understand the concepts and practice the tests from the above-listed books, it is sufficient to clear the exam.</em></strong></p><h3>Best Online Course for OCAJP exam</h3><h4>1.Oracle Java Certification — Pass the Associate 1Z0–808 Exam: <a href="https://www.udemy.com/user/learn-programming-academy/"><strong>Tim Buchalka’s Learn Programming Academy</strong></a></h4><p><a href="https://www.udemy.com/course/oracle-java-associate-certification-exam-course-1z0-808/">Oracle Java Certification (Pass the Associate 1Z0-808 Exam)</a></p><p><strong><em>This course goes hand in hand with the book, OCA: Oracle Certified Associate Java SE 8 Programmer I Study Guide: Exam 1Z0–808, and the course also provides previous exam questions at the end of each module.</em></strong></p><h3>Best Mock Exam Simulator for OCAJP exam</h3><h4>1.Enthuware:</h4><p><a href="https://enthuware.com/java-certification-mock-exams/oracle-certified-associate/ocajp-1z0-808">https://enthuware.com/java-certification-mock-exams/oracle-certified-associate/ocajp-1z0-808</a></p><h4>2.Whizlabs:</h4><p><a href="https://www.whizlabs.com/learn/course/ocajp-8-online-course/">https://www.whizlabs.com/learn/course/ocajp-8-online-course/</a></p><p><strong><em>I used both of them as they are affordable and had a good set of quality questions. I prefer Enthuware mock tests because some of the questions in Whizlabs seem to be out of the objectives of the exam and also some of the answers were wrong. The mock exam questions were really tough than the actual exam questions. So, Don&#39;t panic :)</em></strong></p><h3>Tips</h3><p>Here I will share with you some preparation strategy I used for the exam:</p><ol><li>I am a working professional, so I used to prepare 4 hours daily for the exam by reading books and by watching the video course.</li><li>It took about 2 months for me to become confident finally to attempt the exam (I rescheduled the exam 3 times as I felt I was not ready to give the exam yet).</li><li>Please don&#39;t try to attempt the mock exams before understanding the core Java concepts because you will get terrible scores and hence demotivated:(</li><li>By attempting the mock exams several times would improve your score, but it is your brain that is memorizing the answers. It doesn&#39;t measure your knowledge level or readiness for the exam.</li><li>While watching the video course, I also tried out the code snippets in IDE and also try to play around with code and see what are the exceptions and compile-time errors you get. It is fun :)</li><li>You do not need exam dumps to crack this exam, because using dumps you can only pass the exam. You won&#39;t be having any knowledge of the concepts.</li><li>All questions in the original exam are code-based.</li></ol><p>Thank you for reading this article. Hope you find it useful, if so please share it with your friends and colleagues. If you have some better suggestions for resources or preparation strategies, feel free to drop a note.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8e6f2b46bd" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>