<?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 Amila Sadigova on Medium]]></title>
        <description><![CDATA[Stories by Amila Sadigova on Medium]]></description>
        <link>https://medium.com/@sadiqovamile?source=rss-25f4ac636f27------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*dmbNkD5D-u45r44go_cf0g.png</url>
            <title>Stories by Amila Sadigova on Medium</title>
            <link>https://medium.com/@sadiqovamile?source=rss-25f4ac636f27------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 00:10:57 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sadiqovamile/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[First of all, install 20.04 version of Ubuntu in VirtualBox:]]></title>
            <link>https://medium.com/@sadiqovamile/first-of-all-install-20-04-version-of-ubuntu-in-virtualbox-be33d9b59b45?source=rss-25f4ac636f27------2</link>
            <guid isPermaLink="false">https://medium.com/p/be33d9b59b45</guid>
            <dc:creator><![CDATA[Amila Sadigova]]></dc:creator>
            <pubDate>Fri, 01 Dec 2023 17:58:40 GMT</pubDate>
            <atom:updated>2023-12-01T17:58:40.458Z</atom:updated>
            <content:encoded><![CDATA[<p>First of all, install 20.04 version of Ubuntu in VirtualBox:</p><p><a href="https://releases.ubuntu.com/focal/ubuntu-20.04.6-desktop-amd64.iso">ubuntu-20.04.6-desktop-amd64.iso</a></p><p>Configure it, then start to install MAAS on your Ubuntu</p><ol><li>Be a root user on Ubuntu:</li></ol><p><strong>sudo su</strong> =&gt; press enter</p><p>2. Update packages with this command:</p><p><strong>sudo apt update </strong>=&gt; press enter</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/630/1*DNq3ncCyxiSu032IsMFh6Q.jpeg" /></figure><p>3. Install MAAS:</p><p><strong>sudo snap install maas</strong> =&gt; press enter</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/642/1*-ZfGUBNEjP1RevE00sGH4Q.jpeg" /></figure><p>4. We must check for updates:</p><p><strong>sudo apt update –y</strong> =&gt; press enter</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/638/1*dFoKxJM5r3Sa9ImU9HXecg.jpeg" /></figure><p>*For production, we need to Initialize MAAS. Therefore, we checked for updates</p><p>5. Then install PostgreSQL:</p><p><strong>sudo apt install –y postgresql </strong>=&gt; press enter</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/644/1*l7XEY11K4EFIaflTvGTHFQ.jpeg" /></figure><p>6. Create a database for MAAS. Here the database is called maas, user named maasuser, the password is maas123:</p><p><strong>sudo –u postgres psql</strong> =&gt; press enter</p><p><strong>create user maasuser with encrypted password ‘maas123’; </strong>=&gt; press enter</p><p><strong>create database maas;</strong> =&gt; press enter</p><p><strong>grant all privileges on database maas to maasuser;</strong> =&gt; press enter</p><p><strong>\q</strong> =&gt; press enter</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/636/1*IfzyZqB8xaVB3mToriXCPA.jpeg" /></figure><p>7. You need to edit the file /etc/postgresql/12/main/pg_hba.conf:</p><p><strong>sudo nano /etc/postgresql/12/main/pg_hba.conf </strong>=&gt; press enter</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/638/1*HAQCtWzsK991LDdQccGpWA.jpeg" /></figure><p>You will see this page:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/631/1*3jQ3QG849xp_uWLKajUouA.jpeg" /></figure><p>8. Add the following line:</p><p><strong>host maas maaszeljko 0/0 md5</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/632/1*EV_2xZAgYA6XMTI25_R7LA.jpeg" /></figure><p>Save it (Ctrl+O) and exit the text editor(Ctrl+X)</p><p>9. Start initializing MAAS:</p><p><strong>sudo maas init region+rack — database-uri “postgres://maasuser:maas123@localhost/maas”</strong> =&gt; press enter</p><p>Press enter again*</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/632/1*RL67uiZ_J_yN2ubS5IRofg.jpeg" /></figure><p>*Replace maasuser with your username just created, maas123 by your password</p><p>10. Create the admin account for the web interface, run:</p><p><strong>sudo maas createadmin</strong> =&gt; press enter</p><p>Give a username, password and email what you want*</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AjRz2VbTlZZeSUxdPql_Zg.jpeg" /></figure><p>11. Check MAAS service status, run:</p><p><strong>sudo maas status</strong> =&gt; press enter</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/630/1*Nse_IVI67avwMRVBiOnyVw.jpeg" /></figure><p>12. Open your browser(firefox) and access your MAAS URL:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/644/1*b9ypQJGgTcBw3FXKBWPVmw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/641/1*eW1gsIMP_xng52PQcQes6g.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=be33d9b59b45" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Installing JAVA on Ubuntu]]></title>
            <link>https://medium.com/@sadiqovamile/installing-java-on-ubuntu-851f9776110b?source=rss-25f4ac636f27------2</link>
            <guid isPermaLink="false">https://medium.com/p/851f9776110b</guid>
            <dc:creator><![CDATA[Amila Sadigova]]></dc:creator>
            <pubDate>Fri, 01 Dec 2023 17:25:18 GMT</pubDate>
            <atom:updated>2023-12-01T17:25:18.433Z</atom:updated>
            <content:encoded><![CDATA[<p>🔹<strong>Installing JAVA on Ubuntu</strong></p><ol><li>We should be a root user on Ubuntu in order to access system files and run commands to make changes to the system configuration. Be a root user with this command:</li></ol><p><strong>sudo su</strong> =&gt; press enter</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/840/1*MSYTY0s49tTP586MIF9ihA.jpeg" /></figure><p>2. Before doing anything on Ubuntu, please update and upgrade it with the help of these commands:</p><p><strong>sudo apt-get update</strong> =&gt; press enter</p><p><strong>sudo apt-get upgrade</strong> =&gt; press enter</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Lvh_u_htXfCoWvcjcQHGSA.jpeg" /></figure><p>3. Install Java with this command:</p><p><strong>sudo apt install default-jdk gnupg2 –y </strong>=&gt;<strong> </strong>press enter</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tbcojKxz2JGAJii83pGjxQ.jpeg" /></figure><p>4. Check Java’s version in order to verify your installation:</p><p><strong>java –version</strong> =&gt; press enter</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Prsegk5kxbvYsvYTpltCSg.jpeg" /></figure><p>🔹<strong>Install XWiki on Ubuntu</strong></p><ol><li>Add the GPG public key with this command:</li></ol><p><strong>sudo wget </strong><a href="https://maven.xwiki.org/xwiki-keyring.gpg"><strong>https://maven.xwiki.org/xwiki-keyring.gpg</strong></a><strong> -P /usr/share/keyrings/ </strong>=&gt; press enter</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2Lb63F3p__8zRfX2Y50zIg.jpeg" /></figure><p>2. Add the XWiki repository with the help of this command:</p><p><strong>sudo wget “https://maven.xwiki.org/stable/xwiki-stable.list&quot; -P /etc/apt/sources.list.d/ </strong>=&gt; press enter</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yTMqBtNq86bhr0EqN46aQw.jpeg" /></figure><p>3. Update the system again</p><p><strong>sudo apt update –y</strong> =&gt; press enter</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ylu0sKylHeCENH0cKl9DRA.jpeg" /></figure><p>4. Install XWiki with Tomcat and MariaDB:</p><p><strong>sudo apt install xwiki-tomcat9-common xwiki-tomcat9-mariadb –y </strong>=&gt; press enter</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rWL2EKcO5LjSz2yPfC5ntg.jpeg" /></figure><p>5. Press “<strong>yes</strong>” to continue</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*39r6l2qOfvcxIIk1GInu_Q.jpeg" /></figure><p>6. You can set a MySQL password for XWiki on Ubuntu and press <strong>OK</strong>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Zh2oUZUlY3Psa615xm567g.jpeg" /></figure><p>7. Check the mariaDB is active and running:</p><p><strong>sudo systemctl status mariadb =&gt; press enter</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XuTY4T-3wZQ3MgrjKZEYhQ.jpeg" /></figure><p>8. Be sure that the Tomcat service is active and running:</p><p><strong>sudo systemctl status tomcat9 </strong>=&gt; press enter</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*050Ma18C3UxiYPMtuCxEmg.jpeg" /></figure><p><strong>🔷Install Nginx on Ubuntu</strong></p><ol><li>Install nginx:</li></ol><p><strong>sudo apt install nginx</strong> =&gt; press enter</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qr04-CeEpKsi_VG0mGMUag.jpeg" /></figure><p>2. Configure Nginx to set up the reverse proxy for accessing the XWiki installation. You should create the Nginx virtual host file. We will use vi editor:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Xt8jHZ-8g0FxnPWuJLrGnQ.jpeg" /></figure><p>3. Write this text to the Nginx virtual host file:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1rNjDhr578TtIeENmRDLDA.jpeg" /></figure><p>*This is used for setting up Nginx as a reverse proxy for another web server or application running on <a href="http://127.0.0.1:8080/"><strong>http://127.0.0.1:8080</strong></a></p><p>*Press on ESC button on your keyboard and save this file with :q! And press enter</p><p>4. Activate the Nginx virtual host:</p><p><strong>sudo ln -s /etc/nginx/conf.d/xwiki.conf /etc/nginx/sites-enabled/ </strong>=&gt; press enter</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*O8PhD4d8QASjCeDJ8_wW3Q.jpeg" /></figure><p>5. Open the file with any text editor. Again, we will use “vi”:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0d1XbLsY-heG9Uzn1yMnGg.jpeg" /></figure><p>6. You will see this page:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7ykAvb-y4bwj_JoGiTuA4g.jpeg" /></figure><p>If you cannot edit something here: press on Shift+I</p><p>Go to http section and look for <strong>“server_names_hash_bucket_size 64;”</strong> line:</p><p>7. Uncomment(delete #) this(<strong>mentioned above</strong>) line:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rob4aXBtTE_CciqLxhCM6g.jpeg" /></figure><p>*Press on ESC button on your keyboard and save this file with :q! And press enter</p><p><strong>🔷Access the XWiki web interface</strong></p><ol><li>Check the IP Address of your Ubuntu:</li></ol><p><strong>ip — -brief addr show</strong> =&gt; press enter</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JtPuJvIyJi3h7v34h28TYg.jpeg" /></figure><p>2. Open FireFox app and write:</p><p><strong>http://&lt;ip address of ubuntu&gt;:8080/xwiki</strong></p><p>On my ubuntu, it’s <a href="http://192.168.1.89:8080/xwiki"><strong>http://192.168.1.89:8080/xwiki</strong></a></p><p>3. After typing this, the site will open. Click on the <strong>“continue” </strong>button here:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7Xy0jxw-dwJZhFy0jPgu9w.jpeg" /></figure><p>4. In Admin User section, fill the right information according to the given parts. Next, press register and login:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DytIrzZV8Hpyfc6ZhPjL9A.jpeg" /></figure><p>5. Choose “XWiki Standard Flavor 15.9” and click on the install this flavor:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UYNC_NuG05HPXvgcYbqkpw.jpeg" /></figure><p>6. Click on the continue button until your installation gets complete:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-LUatvGAHSA0Pi2giMCzPw.jpeg" /></figure><p>7. After the flavor being installed, click on continue to finish with the installation:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tAy-3b5CCqGiWnqNW99zSw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1J69Hit_n7i2i8IDqVOxrg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vMlYS66uPSrouhZKOUSHQg.jpeg" /></figure><p>That is all, xWiki is installed :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=851f9776110b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Creating and integrating Hadoop software on a computer]]></title>
            <link>https://medium.com/@sadiqovamile/creating-and-integrating-hadoop-software-on-a-computer-1814afbfd9db?source=rss-25f4ac636f27------2</link>
            <guid isPermaLink="false">https://medium.com/p/1814afbfd9db</guid>
            <dc:creator><![CDATA[Amila Sadigova]]></dc:creator>
            <pubDate>Fri, 01 Dec 2023 15:39:27 GMT</pubDate>
            <atom:updated>2023-12-01T15:39:27.797Z</atom:updated>
            <content:encoded><![CDATA[<p>🔷<strong>Creating and integrating Hadoop software on a computer</strong></p><p><strong>What is Hadoop?</strong></p><p>Hadoop is an open source framework based on Java that manages the storage and processing of large amounts of data for applications.</p><ol><li>Install Java JDK on ubuntu:</li></ol><p><strong>NOTE:</strong> JDK in Java is an abbreviation for Java Development Kit. It is a bundle of software development tools</p><p>sudo apt-get install openjdk-8-jdk =&gt; press enter</p><p>*Enter your password</p><p>cd /usr/lib/jvm =&gt; press enter</p><p>ls =&gt; press enter</p><p>*You will see the file that you installed there</p><p>cd =&gt; press enter</p><p>2. Go to browser and search for ‘codewithharjun.medium.com’:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jTTLG1r1XecT-x5cNsDwpw.jpeg" /></figure><p>You will see there <strong>Install Hadoop on ubuntu OS</strong></p><p>Click on this link and copy these commands there:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AuJkwKcuv1RgYKDv396www.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ymxY4NDB5UR06hFJc7ON9A.jpeg" /></figure><p>3. Open bash page</p><p>sudo nano .bashrc =&gt; press enter</p><p>*There will be a page on your screen. Go to the bottom of this file. And follow these steps:</p><p>Go to terminal, bash window:</p><p>Ctrl+Shift+V =&gt; press enter (to paste the commands that you copied before)</p><p>Ctrl+O =&gt; press enter (to writeout)</p><p>Ctrl+X =&gt; press enter (to exit)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8WAt9ms4BZlpZOpwvHktGQ.jpeg" /></figure><p>4. Installation of SSH</p><p>sudo apt-get install ssh =&gt; press enter</p><p>5. Go to browser and search for:</p><p>‘apache hadoop download’. Click on the first site and download the latest version of it binary:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tEb6fxnywP9Rby0J27vC-A.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SrlbfRQCecAb5mR3AQInXw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HCdfk9ZuBYCw5pB_1BHfmg.jpeg" /></figure><p>6. Looking up the files</p><p>cd =&gt; press enter</p><p>tar -zxvf ~/Downloads/hadoop file(hdoop 3. 3. 6. tar.gz) =&gt; press enter</p><p><strong>ERROR: </strong>Cannot open. No such a file or directory.</p><p>Type these commands:</p><p>wget<a href="https://dlcdn.apache.org/hadoop/common/hadoop-3.3.6/hadoop-3.3.6.tar.gz">https://dlcdn.apache.org/hadoop/common/hadoop-3.3.6/hadoop-3.3.6.tar.gz </a>=&gt; press enter</p><p>tar xvf hdoop 3. 3. 6. tar.gz =&gt; press enter</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dEbTFbPiwRNMCiakML1sNA.jpeg" /></figure><p>7. Get the all files</p><p>cd hadoop-3.2.3/ =&gt; press enter</p><p>cd etc/hadoop/ =&gt; press enter</p><p>ls =&gt; press enter</p><ul><li>All the files are available here</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7ONeoDvlICruoiQloABYQg.jpeg" /></figure><p>8. Making changes on some files</p><p>•Make changes on hadoop-env.sh file:</p><p>sudo nano hadoop-env.sh =&gt; press enter</p><p>Enter your password =&gt; you will see there JAVA HOME =&gt; clear # command there and paste this command:</p><p>/usr/lib/jvm/java-8-openjdk-amd64 =&gt; press enter</p><p>Click on Ctrl+o press enter and then, ctrl+x</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dmH2dZ4UYI7_AYnovVj7Qg.jpeg" /></figure><p>•Make changes on core-site.xml file:</p><p>sudo nano core-site.xml =&gt; press enter</p><p>Clear the configurations there and paste the configuration commands that you copied from article:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DwVwWpKJ8w5zjxBxXyanag.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*c7kiNU6TJcK4DS1C9U09eA.jpeg" /></figure><p>Ctrl+o =&gt; press enter and ctrl+x</p><p>•Make changes on hdfs-site.xml file:</p><p>sudo nano hdfs-site.xml =&gt; press enter</p><p>Clear the configuration and paste it:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bTsYVmSO1Y_QjJjKsy-MSw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lDAHQDlxlUif5QpzHU7aew.jpeg" /></figure><p>Ctrl+o =&gt; press enter and ctrl+x</p><p>•Make changes on map-site.xml file:</p><p>sudo nano map-site.xml =&gt; press enter</p><p>Clear the configuration and paste it:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JTcwxi4vJl0S56XvnxDIJQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pH90bTwZsJRus_-DpxUiFA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qUEhIsHA_wn5ynMGuEJD3A.jpeg" /></figure><p>Ctrl+o =&gt; press enter and ctrl+x</p><p>•Make changes on yarn-site.xml file:</p><p>sudo nano yarn-site.xml =&gt; press enter</p><p>Clear the configuration and paste it:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UoW2gAaWvv8XPAPXtYa59A.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lR2s97M0eI0yLhsORc_3RA.jpeg" /></figure><p>Ctrl+o and ctrl+x</p><p>✅ We are done making changes on the file:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*X4FKB8-qHSs4Hqrma6DU4Q.jpeg" /></figure><p>9. Enabling SSH access to localhost</p><p>ssh localhost =&gt; press enter</p><p>ssh-keygen –t rsa –P ‘ ‘ -f ~/.ssh/id_rsa</p><p>cat ~/.ssh/id_rsa.pub &gt;&gt; ~/.ssh/authorized_keys =&gt; press enter</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9qHGIIcccEEupw_QpywgCg.jpeg" /></figure><p>chmod 0600 ~/.ssh/authorized_keys =&gt;press enter</p><p><strong>NOTE: </strong>chmod 600 command is a file permission setting in Linux where read and write permission is granted to the owner, and no permission is granted to the group and user.</p><p>10. Format the file system :</p><p>hadoop-3.3.6/bin/hdfs namenode –format =&gt; press enter</p><p>export POSH RCMD TYPE=ssh =&gt; press enter</p><p>11. Start all daemons hadoop using start-all.sh</p><p>start-all.sh =&gt; press enter</p><p>12. Go to browser and search for:</p><p>localhost:9870</p><p>Click on utilities =&gt; browse the file system</p><p>hadoop fs –mkdir /user (you can see user directory there)</p><p>hadoop fs –mkdir /user/code.withamila</p><p>touch demo.csv</p><p>hadoop fs –put demo.csv /user/code.withamila</p><p>*demo.csv file has been there successfully✅</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1814afbfd9db" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Installing nmap tools and network scanning]]></title>
            <link>https://medium.com/@sadiqovamile/installing-nmap-tools-and-network-scanning-6831ead93ead?source=rss-25f4ac636f27------2</link>
            <guid isPermaLink="false">https://medium.com/p/6831ead93ead</guid>
            <dc:creator><![CDATA[Amila Sadigova]]></dc:creator>
            <pubDate>Fri, 01 Dec 2023 15:03:44 GMT</pubDate>
            <atom:updated>2023-12-01T15:03:44.001Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>🔷Installing nmap tools and network scanning</strong></p><ol><li><strong>Be a root user on Ubuntu, update and upgrade the OS:</strong></li></ol><p>sudo su =&gt; press enter</p><p>sudo apt-get update =&gt; press enter</p><p>sudo apt-get upgrade =&gt; press enter</p><p>2. <strong>Install nmap on Ubuntu:</strong></p><p>sudo apt-get install nmap =&gt; press enter</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YqxR3lPuGwBFPfEd7gxtBw.jpeg" /></figure><p>3. <strong>You can check the version of your nmap:</strong></p><p>nmap — -version =&gt; press enter</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jnyj4aqbcGEMKkjiBqX4MQ.jpeg" /></figure><p>4. <strong>You can get some nmap commands to scan network with this command:</strong></p><p>nmap — -help =&gt; press enter</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1vsRFA3-KwsENd0yXL_QHQ.jpeg" /></figure><p>5. To scan an IP address with nmap:</p><p>nmap ip address =&gt; press enter</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/816/1*aLAvXo3gasnqgAUJi1yl-g.jpeg" /></figure><p><strong>*</strong>You will get information about all ports</p><p>6. To scan a hostname and domain name with nmap:</p><p>nmap hostname =&gt; press enter</p><p><strong>NOTE:</strong> When you scan your IP address, you should have been able to the hostname. It is amila-VirtualBox for me</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ku_eS8Plb1xBJ5g4GbWvhA.jpeg" /></figure><p>7. To view verbose output with nmap:</p><p>nmap –v hostname =&gt; press enter</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UscOJjbpNxLGUIuJb7fyow.jpeg" /></figure><p>8. To scan multiple (more than 1) IP addresses:</p><p>nmap first address second address =&gt; press enter</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XO4IZZ6gJ305TXU3gjV1iA.jpeg" /></figure><p>*You will get information for each IP addresses</p><p>9. To scan a range(from … to …) of IP addresses:</p><p>nmap 172.16.249.2–6 =&gt; press enter</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Mf3lgwSg8Ma6Ody_Q_dnCg.jpeg" /></figure><p>*You will get information about all ports for each ip addresses from 2 to 6</p><p>10. Excluding a host from a nmap scanning:</p><p>nmap 172.16.249.2–6 –exclude 172.16.249.3 =&gt; press enter</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gGaoSexyOfVQB5UvRyYx1g.jpeg" /></figure><p>*It will skip 172.16.249.3 host from the range</p><p>11. Viewing service of port information:</p><p>nmap –sV 172.16.249.4 =&gt; press enter</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2egsWIejBbb6zD4SOxU-1Q.jpeg" /></figure><p>12. Detecting the Operating System:</p><p>nmap –A 10.10.10.21 =&gt; press enter</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*keFNdWOST1YjtGm0_O4x1A.jpeg" /></figure><p>*You will get information about OS</p><p>13. Seeing an entire subnet:</p><p>nmap 10.10.30.0/24 =&gt; press enter</p><p>*You will be able to see the number of hosts</p><p>**If you want to view condensed output, try this command:</p><p>nmap –sP 10.10.30.0/24 =&gt; press enter</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6831ead93ead" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Installing MariaDB on Ubuntu]]></title>
            <link>https://medium.com/@sadiqovamile/installing-mariadb-on-ubuntu-c9de73db74b0?source=rss-25f4ac636f27------2</link>
            <guid isPermaLink="false">https://medium.com/p/c9de73db74b0</guid>
            <dc:creator><![CDATA[Amila Sadigova]]></dc:creator>
            <pubDate>Fri, 01 Dec 2023 14:51:30 GMT</pubDate>
            <atom:updated>2023-12-01T14:51:30.115Z</atom:updated>
            <content:encoded><![CDATA[<p>🔹<strong>Installing MariaDB on Ubuntu</strong></p><ol><li>We should be a root user on Ubuntu in order to access system files and run commands to make changes to the system configuration. Be a root user with this command:</li></ol><p>sudo su =&gt; press enter</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NNYfi9hWvYa0LXIUrjr88A.jpeg" /></figure><p>2. Before doing anything on Ubuntu, please update and upgrade it with the help of these commands:</p><p>sudo apt-get update =&gt; press enter</p><p>sudo apt-get upgrade =&gt; press enter</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JvHQEOcsYYFtbEwklZx4Iw.jpeg" /></figure><p>3. Now we can install mariaDB server:</p><p>sudo apt-get install mariadb-server =&gt;press enter</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8HAtbksQtbFrmB0KUKw3hA.jpeg" /></figure><ul><li>If it asked, then type “y” and press enter:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iTlS9vR3m_RGvtlvZl6VUA.jpeg" /></figure><p>4. Check the current status of MariaDB service on Ubuntu and enable the MariaDB service to start automatically at system boot:</p><p>systemctl status mariadb =&gt; press enter</p><p>systemctl enable mariadb =&gt; press enter</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UdYdOl_gHQTHrAFvG-xHAA.jpeg" /></figure><p>5. Secure your MariaDB or MySQL installation by setting a root password(<strong>This is important to prevent unauthorized access to your database server</strong>):</p><p>mysql_secure_installation =&gt; press enter</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MLhl_k23miwkCPpACw88Qg.jpeg" /></figure><p>Then, pass some parts by pressing enter three times. It will ask you to change the root password?. Type your new password, re-enter it and press enter:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*M3f4Uedv70nDKJCT0CR2eQ.jpeg" /></figure><p>At next stages, pass some parts by clicking on Enter button four times.</p><p>6. And log in to the MySQL or MariaDB server as the root user with a password prompt:</p><p>mysql –u root –p =&gt; press enter</p><p>Enter your root password that you created in previous steps:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2z1QzujgFI_oAsPSKrYppg.jpeg" /></figure><p>7. Create a database called MYSQL, use it and show all databases:</p><p>CREATE DATABASE MYSQL;</p><p>USE MYSQL;</p><p>SHOW DATABASES;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9zkxqetXlztu937dBtmIEg.jpeg" /></figure><p>8. Create a user. This user will have access only from the ‘localhost’ host:</p><p>CREATE USER ‘USER1’@’localhost’ IDENTIFIED BY ‘mysql@123’;</p><p>🔸Reload the privileges from the grant tables(<strong>you also need to run this command in order for the changes to take effect immediately</strong>):</p><p>flush privileges;</p><p>🔺Grant all privileges on all databases and tables to the user named ‘USER1’ with the hostname ‘localhost’:</p><p>grant all on *.* to ‘USER1’@’localhost’ with grant option;</p><p><strong>NOTE: </strong>The “with grant option” allows ‘USER1’ to grant those permissions to other users.</p><p>🔸Then, Reload again the privileges from the grant tables:</p><p>flush privileges;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ykUWDoEHobMUon-T5X0vCQ.jpeg" /></figure><p>9. Grant the INSERT and UPDATE privileges on all databases and tables to the user ‘USER1’ with the hostname ‘localhost’:</p><p>grant insert, update on *.* to ‘USER1’@’localhost’;</p><p>Then, show grants with this command:</p><p>show grants for ‘USER1’@’localhost’;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*08WjV5q1a2S7KghXScAt3w.jpeg" /></figure><p>10. In order to remove the user, try this command:</p><p>drop USER ‘USER1’@’localhost’;</p><p>And, exit;</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c9de73db74b0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Download plan9OS and open a website]]></title>
            <link>https://medium.com/@sadiqovamile/download-plan9os-and-open-a-website-56d4fa488674?source=rss-25f4ac636f27------2</link>
            <guid isPermaLink="false">https://medium.com/p/56d4fa488674</guid>
            <dc:creator><![CDATA[Amila Sadigova]]></dc:creator>
            <pubDate>Sun, 19 Nov 2023 17:55:24 GMT</pubDate>
            <atom:updated>2023-11-19T17:55:24.759Z</atom:updated>
            <content:encoded><![CDATA[<h3>How can i install plan9 OS?</h3><h4><strong><em>Installation process:</em></strong></h4><p>First of all, download the plan9 (select CD image) here:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aa8dY2uWP2p8biRJmSABPA.jpeg" /></figure><h4><strong>Opening it in Virtualbox:</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VvnBoCYbU6rKUvJSaatvjw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*b2pIRp8EvRKVEgHXTJLjZQ.jpeg" /></figure><p>*Locate your plan9.iso file, then click next</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PK8Fo6jNdyEA1VQ7lo8_Fg.jpeg" /></figure><p>*Go to “Settings” of plan9, next Network line:</p><p>Click on advanced =&gt; Adapter type =&gt; 8254EM =&gt; ok</p><p>Start your plan9:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ba8my4Zu_D5kd5XHh-ManA.jpeg" /></figure><p>Type 1 =&gt; press enter</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QrNxrN_513W6PAvrxuB9RQ.jpeg" /></figure><p>Write the size: (1024x768x32) =&gt; press enter</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3gPNKgMoIqvKZGEm15YBBA.jpeg" /></figure><p>Press enter =&gt; Type: sdC0 =&gt; press enter =&gt; choose “y” =&gt; press enter:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GbZKxVS4Qb2q_iFsAB8mgA.jpeg" /></figure><p>Write “w”=&gt;enter and “q”=&gt;enter consecutively:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Cqs2gJhV7Kj6wWPU8I02uQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GAnAu-qRaO504rxCiVLcag.jpeg" /></figure><p>ENTER</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jKdLVyQ79LE3KGve9R2AFQ.jpeg" /></figure><p>Then we meet this page:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nsw6mHjFluGB5kx_4C2exQ.jpeg" /></figure><p>Click enter =&gt; Type: “/dev/sdC0/data” =&gt; enter:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*d841iNuEmnNVYKeNbEJKYg.jpeg" /></figure><p>Enter =&gt; type: exit</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_q9so8-Wn56bAoOj5Gqb9g.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0IB8DpzIOy8aj64Zm2FsSA.jpeg" /></figure><p>Enter =&gt; The installation of file system will begin:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tckiUBrlZ40TwlXgvd48dA.jpeg" /></figure><p>You should just click on ENTER here:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*G_re_n0OkDgV44x0KT-o2Q.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4Qo8ykljC5xgbmF09VP7Cw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dEqxhDI_90apOq1n0nrr-A.jpeg" /></figure><p>Type: “plan9”:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2d0jPSGhm--Haew_T1CkNg.jpeg" /></figure><p>Choose devices on the top =&gt; Optical drives =&gt; your plan9 file</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*16fC1I_NGX5k_wWhi7hiAA.jpeg" /></figure><p>Click on Machine on the top =&gt; opt for RESET</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*U2OcSRyYOnzf2SzuPJdNQg.jpeg" /></figure><p>You will see this main page:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VFiDzidwk139XTcVyv28SQ.jpeg" /></figure><p>Here you will use a mouse with 3 buttons. Click right one =&gt; choose new =&gt; then slide the mouse by pressing the right button and you will open the “terminal” on the screen: Type: ip/ipconfig =&gt; enter =&gt; ip/ipconfig -D =&gt; press enter:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*W9kb5TVm6n45TgKd9tfr8w.jpeg" /></figure><p>After looking your IP, type: sam /lib/ndb/local</p><p>This page will open:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ctl8RjteofPctqYvHo2Few.jpeg" /></figure><p>Click the middle button of your mouse and choose:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*t4qIBZpxWkIswIqrNROdig.jpeg" /></figure><p>At the next stage, on the yellow table type:</p><p>Ip=your ip address, sys=p9–1, dom-example.com, dns=8.8.8.8</p><p>Then, click the blue one and write: “w” =&gt; enter =&gt; ”q”=&gt;enter</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wMIqxLBebLSHOWekmcOkbw.jpeg" /></figure><p>Open terminal and type:</p><p>Ip/ping -n 2 <a href="http://www.google.com=&gt;enter=&gt;ndb/dns">www.google.com =&gt; enter =&gt; ndb/dns</a> -r =&gt;enter</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hTahWbZp9aixFaNRgGc6PA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-wZmAw5bM2pKIbeEKos07g.jpeg" /></figure><p>Write again: ip/ping -n 2 <a href="http://www.google.com/">www.google.com</a> =&gt; enter</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*p0Y7SdeNCsyFarDUB3ASOA.jpeg" /></figure><p>In order to browse type:</p><p>abaco=&gt;enter=&gt;webfs=&gt;enter=&gt;abaco</p><p>If it gives an error type this: touch /usr/glenda/lib/webcookies</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rAhlWYnUASFSTxzmQItTDA.jpeg" /></figure><p>After that</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2Qppnv3hlBg9zm--lEEpfA.jpeg" /></figure><p>From this page click the middle button and then=&gt;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/764/1*pmx91Z2sLcn2CI7MVooaBA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3RunL6ihcAYZEKnYCLqF_Q.jpeg" /></figure><p>Type here: <a href="http://www.google.com/">http://www.google.com</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*af4queqY8Qbe88JLF0gVtA.jpeg" /></figure><p>Search here what you want</p><p>For instance:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*r-8CYcc5YuobMelClgIWiw.jpeg" /></figure><p>That’s all</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=56d4fa488674" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>