<?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 Sunay Niftaliyeva on Medium]]></title>
        <description><![CDATA[Stories by Sunay Niftaliyeva on Medium]]></description>
        <link>https://medium.com/@nifteliyeva.sunay?source=rss-e9f06d4f661e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*RB85kwDI54_cl5F2</url>
            <title>Stories by Sunay Niftaliyeva on Medium</title>
            <link>https://medium.com/@nifteliyeva.sunay?source=rss-e9f06d4f661e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 00:40:39 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@nifteliyeva.sunay/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[Setting Up Ubuntu and CentOS for Remote Access]]></title>
            <link>https://medium.com/@nifteliyeva.sunay/setting-up-ubuntu-and-centos-for-remote-access-2d169d909327?source=rss-e9f06d4f661e------2</link>
            <guid isPermaLink="false">https://medium.com/p/2d169d909327</guid>
            <dc:creator><![CDATA[Sunay Niftaliyeva]]></dc:creator>
            <pubDate>Sun, 29 Sep 2024 14:14:56 GMT</pubDate>
            <atom:updated>2024-09-29T14:19:43.588Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>Step 1.</blockquote><p><strong><em>Install Ubuntu and CentOS on VirtualBox.</em></strong></p><p>1.<em>Installation of Ubuntu:</em></p><p>Firstly, download the Ubuntu ISO from this site: <a href="https://ubuntu.com/download/desktop">https://ubuntu.com/download/desktop</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*oFAa6NBFZXvvGM0-LdJAnw.png" /></figure><p>Add Ubuntu to VirtualBox and start the installation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*qT5Grvj2miVFYZ2hAQP04w.png" /><figcaption>After downloading, we need to add Ubuntu to VirtualBox.</figcaption></figure><p>Choose “Normal Installation” and install updates.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/734/1*cm7DciiKmSpmIdxZVE9K4w.png" /></figure><p>Set up your name, username, and password.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/695/1*uJIy_Bb-HuB-WbFpoAnlKg.png" /></figure><p>Complete installation and restart.</p><p><em>2. Installation of CentOS:</em></p><p>Download CentOS from the: <a href="http://mirror.hostart.az/centos/7.9.2009/isos/x86_64/">http://mirror.hostart.az/centos/7.9.2009/isos/x86_64/</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*49eRCPtYauwr-VSqfSeZ1g.png" /></figure><p>Add CentOS to VirtualBox and start the installation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*HsLor4aFdrba8zI4XY415w.png" /></figure><p>Select your language and configure the installation destination.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/620/1*ioFBSa-kFGttX-A3t9KAng.png" /></figure><p>Click on INSTALLATION DESTINATION and select ATA VBOX HARD DISK:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/622/1*h6Dsci4INlPjMZMQTpBUow.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/622/1*MMTxOOnqpPHgg4GroeotdA.png" /></figure><p>Click on this section and switch Ethernet from off to on:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/342/1*ZI69TnDy3ajmouR4Pbp8Vg.png" /></figure><p>Set up a user with a username and password.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/628/1*Db-zcZ6ekNrdM039NqsuIw.png" /></figure><p>In this part, we enter the usarname and password we created.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/484/1*NQrbFNNJCQYwJqUyk2Mtng.png" /></figure><blockquote>Step 2.</blockquote><p><strong><em>SSH connection without password.</em></strong></p><p>Generate an SSH key pair with the ssh-keygen command on Ubuntu.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/764/1*UjNBZiZFBtyXlPCKNW7eJA.png" /></figure><p>Find the IP of CentOS using ip --brief addr show command.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/517/1*vQLnFQLgE-k4PVH7QNdu3w.png" /></figure><p>Use ssh-copy-id &lt;username&gt;@&lt;IP&gt;to transfer the public key to CentOS. Replace username with your CentOS username and write IP address of the CentOS.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*KjqBNXEd8PRjfZ1_BlvJvA.png" /></figure><p>You have now SSH connection from your Ubuntu machine to the CentOS machine without being prompted for a password.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/464/1*frweXhodb0FfjidPzKSGBQ.png" /></figure><blockquote>Step 3.</blockquote><p><strong><em>Install PuTTY for Remote Access.</em></strong></p><p>Download and install PuTTY from this link: <a href="https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html">https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*wmNU349PZJitK1CMRb3krw.png" /></figure><p>After installation, launch the PuTTY program. Enter your Ubuntu IP here. In order to create a SSH connection, we need to write 22, which is the port of SSH.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/706/1*UmbGILtFdNqjORh-WXigzw.png" /></figure><p>Enter your Ubuntu username and password.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*rB-6rC-6qApiHNytZhEuuw.png" /></figure><blockquote>Step 4.</blockquote><p><strong><em>Set Up Remote Desktop Protocol (RDP).</em></strong></p><ol><li><em>Install RDP in Ubuntu:</em></li></ol><p>Install xRDP using sudo apt install xrdpcommand.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*t_L5ufxa3BTqNHITFiTWJQ.png" /></figure><p>Start and enable the xRDP service.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*2BawuKs1Qth2wSt5tKOHvw.png" /></figure><p>We checked status using sudo systemctl status xrdp. This indicates that the status is active.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*ay5ew9GARkoUQzOTybiYHA.png" /></figure><p>This command is allowing incoming TCP traffic on port 3389 from any source IP address to any destination IP address on the system where UFW is being configured.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*hOScpniKulrzKTNVwFlJAw.png" /></figure><p><em>2. Install RDP in CentOS:</em></p><p>Install xRDP using commands.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/639/1*J6zugMaicV3YUBdkNLk1Sg.png" /></figure><p>Enable the xRDP.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/652/1*1QFdOy13ZHgA0Zpw8Ls4dg.png" /></figure><blockquote>Step 5.</blockquote><p>Open RDP on Windows.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*ANJu_MXXnqi9Qk62a_mP3A.png" /></figure><p>Write Ubuntu’s IP Address.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/673/1*YSRdH-EoCj6oPkdCwgYB-A.png" /></figure><p>Enter Ubuntu’s username and password.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/302/1*YMdwn1XqiTWiosRbSSzACA.png" /></figure><p>Now you entered Ubuntu with RDP.☻</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*2EA0FJcmVS5dmveKChesGA.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2d169d909327" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Installation of Plan 9]]></title>
            <link>https://medium.com/@nifteliyeva.sunay/installation-of-plan-9-3a2aee510175?source=rss-e9f06d4f661e------2</link>
            <guid isPermaLink="false">https://medium.com/p/3a2aee510175</guid>
            <dc:creator><![CDATA[Sunay Niftaliyeva]]></dc:creator>
            <pubDate>Fri, 24 Nov 2023 21:32:01 GMT</pubDate>
            <atom:updated>2023-11-24T21:32:01.664Z</atom:updated>
            <content:encoded><![CDATA[<p>Firstly, download Plan 9 from this site: <a href="https://9p.io/plan9/download.html">https://9p.io/plan9/download.html</a></p><p>After downloading, we will add Plan 9 to VirtualBox and configure it later.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*LEQGiGpqExX0u1ViQBO1Pg.png" /></figure><p>We added Plan 9 to VirtualBox. Now click on “start” button to run and configure it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*7-vIJwU8YrQ6kfrmHZf6fw.png" /></figure><p>We choose 1 here because this process is used to install the Plan 9 operating system on the storage device.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*W5PTGju1QYnuxl-TgSg8kA.png" /></figure><p>During the installation process, you configure various installation options.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*idE4EfdCxxV-or43V3l7QQ.png" /></figure><p>➞Type <strong>“sdC0”</strong>. It refers to a storage device.</p><p>➞<strong>“Install mbr”</strong> refers to the process of installing the Master Boot Record onto a storage device. So, we wrote<strong> “yes”</strong>.</p><p>➞<strong>“w”</strong> and <strong>“q”</strong> means write and quit.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*4OL9aP8hEyuRuZu4L5DYzg.png" /></figure><p>In this part we wrote <strong>“/dev/sdDo/data”</strong>. It means that the Plan 9 is kept on the first SCSI disk with the identifier “D0” and the files can be found within the “/data” on that disk.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*SIUv_PkyWl5CnFtHoQe-3w.png" /></figure><p>Devices&gt;Optical Drives&gt;plan9.iso</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*crrowPqR59d7zSI8kjE2EA.png" /></figure><p>Go to the Machine section and click Reset.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*kTe_zJ8S0sZakyXeRIPlUg.png" /></figure><p>Type <strong>“Glenda”</strong> and click on Enter.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*iOYQVuFwXcs3LXAW0_Xdjg.png" /></figure><p>Then create and open a terminal and type <strong>“ipconfig” </strong>and <strong>“ipconfig -D”</strong>.</p><p>Go to the bottom of the file, add these lines, then save them:</p><ul><li><strong>“ipconfig”</strong> — to display network interface information</li><li><strong>“ipconfig -D”</strong> — to delete the configuration for a specific network interface</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*sjUcsC4b0GNnrxAnK9uoqg.png" /></figure><p><strong>“/lib/ndb/local”</strong> is for network configuration.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*H-V5AqW6BEHZdFdL5xOU5g.png" /></figure><p>In this part we changed the IP from 127.0.0.1 to 10.0.2.15.We also changed <strong>“sys”</strong> and<strong> “dom”.</strong></p><p>Then we wrote <strong>“dns=8.8.8.8”</strong>. The IP address “8.8.8.8” is known as the Google Public DNS server.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*-JJ0EBWV3P3uUk1jkfSzGA.png" /></figure><p>Type <strong>“ip/ping -n 2 </strong><a href="http://www.google.com/"><strong>www.google.com</strong></a><strong>&quot;</strong>. But we had an error there. Fix this error with <strong>“ndb/dns -r”</strong> code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*v3lNg50siRgc773xtiL2Lw.png" /></figure><p>When we wrote <strong>“webfs”</strong> we saw that there was an error, so we fixed it with this code: <strong>touch/usr/glenda/lib/webcookies</strong></p><p>Then click the middle button of mouse and type <strong>“http://www.google.com&quot;</strong> in the field that opens:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*yUKDmM6t3Z9a9oO7ERXAcQ.png" /></figure><p>Finally, we were able to open google in Plan 9.</p><p>Now you can type the site you want in the search. I typed <strong>“chatgpt”</strong> in the search.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*y5mtu7nr76tj_4vGlOBLRQ.png" /></figure><p>It is the final result.☻</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3a2aee510175" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>