<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Ipii</title>
    <description>The latest articles on DEV Community by Ipii (@ipigantenk).</description>
    <link>https://dev.to/ipigantenk</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F2559712%2F5814df76-e77b-4de9-abe3-82fceffa22e3.jpg</url>
      <title>DEV Community: Ipii</title>
      <link>https://dev.to/ipigantenk</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ipigantenk"/>
    <language>en</language>
    <item>
      <title>How to install SSH Server in Termux</title>
      <dc:creator>Ipii</dc:creator>
      <pubDate>Sat, 14 Dec 2024 01:15:31 +0000</pubDate>
      <link>https://dev.to/ipigantenk/how-to-install-ssh-server-in-termux-37fa</link>
      <guid>https://dev.to/ipigantenk/how-to-install-ssh-server-in-termux-37fa</guid>
      <description>&lt;p&gt;Hi!! Now i will make tutorial how to install ssh in Termux. SSH (Secure Shell Protocol) is a cryptographic network protocol for operating network services securely over an unsecured network. Its most notable applications are remote login and command-line execution.&lt;/p&gt;

&lt;p&gt;Now i will give you the tutorial at here :&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Update your packages in Termux&lt;/strong&gt;&lt;br&gt;
First, you need to update your packages to up to date. here is the command :&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;pkg update &amp;amp;&amp;amp; pkg upgrade -y
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;2. Install SSH package in Termux&lt;/strong&gt;&lt;br&gt;
After that, you need to install ssh package in termux here is the command :&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;pkg install openssh -y
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;3. Edit configuration ssh file&lt;/strong&gt;&lt;br&gt;
Now you need to configure the file with nano if you don't have nano you can install it &lt;code&gt;pkg install nano -y&lt;/code&gt;. now you can open the configuration ssh file :&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;nano $PREFIX/etc/ssh/sshd_config
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;now you just unblock &lt;code&gt;Port 22&lt;/code&gt; and edit it with 4 digits like this :&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Port 2222
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;em&gt;Note : You need to set it to 4 digits or it won't work.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;you can exit and save it with &lt;code&gt;ctrl + x, y, enter&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Activate SSH Server&lt;/strong&gt;&lt;br&gt;
to activate you just type it in termux :&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;sshd
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now it's done you can just test it at another device with :&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;ssh -p &amp;lt;port-ssh-server&amp;gt; &amp;lt;username-ssh-server&amp;gt;@&amp;lt;ip-ssh-server&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;e.g&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;ssh -p 2222 u0_123@192.168.0.1
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;for search username you can type &lt;code&gt;whoami&lt;/code&gt;&lt;br&gt;
and ip you just type &lt;code&gt;ifconfig&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Yipppieee! now you can make ssh server in termux. thanks all for supporting me i will make tutorial about termux haha.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Source :&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;a href="https://en.wikipedia.org/wiki/Secure_Shell" rel="noopener noreferrer"&gt;https://en.wikipedia.org/wiki/Secure_Shell&lt;/a&gt;&lt;br&gt;
&lt;a href="https://wiki.termux.com/wiki/Remote_Access" rel="noopener noreferrer"&gt;https://wiki.termux.com/wiki/Remote_Access&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

</description>
      <category>cli</category>
      <category>linux</category>
      <category>beginners</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>How to install React and Tailwind in Termux</title>
      <dc:creator>Ipii</dc:creator>
      <pubDate>Thu, 12 Dec 2024 10:46:31 +0000</pubDate>
      <link>https://dev.to/ipigantenk/how-to-install-react-and-tailwind-with-vite-on-termux-48m5</link>
      <guid>https://dev.to/ipigantenk/how-to-install-react-and-tailwind-with-vite-on-termux-48m5</guid>
      <description>&lt;p&gt;Hello! this is my first post on dev.to. i hope y'all understand to my tutorial. how to install react on termux android. 😁😁&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Update your packages in termux&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;First, you need to update the packages in termux. here is the command how to update the packages :&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;pkg update &amp;amp;&amp;amp; pkg upgrade -y
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;2. Install nodejs in termux&lt;/strong&gt;&lt;br&gt;
Next, you need to install nodejs in termux :&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;pkg install nodejs -y
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;3. Create your react app&lt;/strong&gt;&lt;br&gt;
You need to create app here is the command looks like :&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;npx create-react-app &amp;lt;your-project-name&amp;gt;
cd &amp;lt;your-project-name&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;e.g&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;npx create-react-app react-app
cd react-app
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;4. Install tailwind css&lt;/strong&gt;&lt;br&gt;
You need to install tailwind with npm here is the command :&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;npm install -D tailwindcss
npx tailwindcss init
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;5. Edit configuration tailwind css&lt;/strong&gt;&lt;br&gt;
You need configuration tailwind css for react in &lt;code&gt;tailwind.config.js&lt;/code&gt; file. you can use nano or vim to open the file configuration.&lt;/p&gt;

&lt;p&gt;If you don't have nano in termux you need to install it&lt;br&gt;
&lt;code&gt;pkg install nano -y&lt;/code&gt;&lt;br&gt;
now you can use nano like this :&lt;br&gt;
&lt;code&gt;nano &amp;lt;your-file-name&amp;gt;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;so, we comeback to the topic we open the file configuration in termux with text editor like this :&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;nano tailwind.config.js
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;edit inside file or replace the text with this :&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;/** @type {import('tailwindcss').Config} */
module.exports = {
  content: [
    "./src/**/*.{js,jsx,ts,tsx}",
  ],
  theme: {
    extend: {},
  },
  plugins: [],
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;after that save the file in nano with &lt;code&gt;ctrl + x, y, enter&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;6. Add &lt;code&gt;@tailwindcss&lt;/code&gt; in file css&lt;/strong&gt;&lt;br&gt;
open the file index.css in folder &lt;code&gt;./src/index.css&lt;/code&gt; with nano like this :&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;nano ./src/index.css
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;add &lt;code&gt;@tailwindcss&lt;/code&gt; at top of the line file&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;@tailwind base;
@tailwind components;
@tailwind utilities;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Now you can run the react app with tailwind in termux :). you can run the react app with :&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;npm run dev
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;or&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;npm run start
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;that is my tutorial i hope you all understand with my tutorial hehe. because is my first post you can support me i will post the tutorial next time haha.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Source :&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;a href="https://tailwindcss.com/docs/guides/create-react-app" rel="noopener noreferrer"&gt;https://tailwindcss.com/docs/guides/create-react-app&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

</description>
      <category>programming</category>
      <category>webdev</category>
      <category>cli</category>
      <category>termux</category>
    </item>
  </channel>
</rss>
