<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Red Hat Archives - rizkiana.my.id</title>
	<atom:link href="https://rizkiana.my.id/tag/red-hat/feed/" rel="self" type="application/rss+xml" />
	<link>https://rizkiana.my.id/tag/red-hat/</link>
	<description>Learn and Share</description>
	<lastBuildDate>Thu, 06 Jun 2024 09:11:48 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.5</generator>

<image>
	<url>https://rizkiana.my.id/wp-content/uploads/2024/06/Black-Bold-Typographic-Retro-Night-Club-Restaurant-Bar-Logo-1-150x118.png</url>
	<title>Red Hat Archives - rizkiana.my.id</title>
	<link>https://rizkiana.my.id/tag/red-hat/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Setup Relay Authentication di Postfix</title>
		<link>https://rizkiana.my.id/setup-relay-authentication-di-post/</link>
					<comments>https://rizkiana.my.id/setup-relay-authentication-di-post/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Thu, 06 Jun 2024 03:22:25 +0000</pubDate>
				<category><![CDATA[Learn and Share]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[External Relay]]></category>
		<category><![CDATA[Postfix]]></category>
		<category><![CDATA[Red Hat]]></category>
		<category><![CDATA[Rocky Linux]]></category>
		<category><![CDATA[SMTP Relay]]></category>
		<guid isPermaLink="false">https://rizkiana.my.id/?p=1345</guid>

					<description><![CDATA[<p>Setup Relay Authentication di Postfix &#8211; Assalamualaikum, pada artikel ini kita akan membahas setup relay authentication di postfix. Dimana pada server postfix akan dilakukan relay ke server SMTP Relay Kami menggunkaan Rocky Linux 9.4 (Blue Onyx) dengan kondisi service postfix sudah diinstall. Baca juga : Mengatasi Tracking Center Log Proxmox Mail Gateway Kosong (Tidak Muncul) ... <a title="Setup Relay Authentication di Postfix" class="read-more" href="https://rizkiana.my.id/setup-relay-authentication-di-post/" aria-label="Read more about Setup Relay Authentication di Postfix">Read more</a></p>
<p>The post <a href="https://rizkiana.my.id/setup-relay-authentication-di-post/">Setup Relay Authentication di Postfix</a> appeared first on <a href="https://rizkiana.my.id">rizkiana.my.id</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p><strong>Setup Relay Authentication di Postfix</strong> &#8211; Assalamualaikum, pada artikel ini kita akan membahas setup relay authentication di postfix. Dimana pada server postfix akan dilakukan relay ke server SMTP Relay</p>



<p>Kami menggunkaan Rocky Linux 9.4 (Blue Onyx) dengan kondisi service postfix sudah diinstall.</p>



<ul class="wp-block-list">
<li>Buat file <strong>sasl_passwd </strong>di direktori <strong>/etc/postfix</strong></li>
</ul>



<pre class="wp-block-code"><code># vim /etc/postfix/sals_passwd</code></pre>



<ul class="wp-block-list">
<li>isikan konfigurasi authentication dari server SMTP Relay</li>
</ul>



<pre class="wp-block-code"><code>relay.domain.com rizkiana.my.id:passwordsmtprelay</code></pre>



<ul class="wp-block-list">
<li>Postmap file sasl_passwd</li>
</ul>



<pre class="wp-block-code"><code># postmap sasl_passwd</code></pre>



<ul class="wp-block-list">
<li>Buka file /etc/postfix/main.cf untuk konfigurasi relay (sesuaikan dengan konfigurasi relay yang diberikan oleh provider)</li>
</ul>



<pre class="wp-block-code"><code># vim /etc/postfix/main.cf


relayhost = &#91;relay.domain.com]:587
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = noanonymous
smtp_use_tls = yes
smtp_tls_security_level = may
mynetworks = 127.0.0.0/8 IP-ADDRESS-SMTPLAIN/32</code></pre>



<ul class="wp-block-list">
<li>Restart service postfix</li>
</ul>



<pre class="wp-block-code"><code># systemctl restart postfix</code></pre>



<ul class="wp-block-list">
<li>Lakukan pengtetesan email dan pantau log /var/log/maillog, apabila anda mendapatkan error seperti berikut :</li>
</ul>



<pre class="wp-block-code"><code>Jun  5 18:54:19 rocky postfix/smtp&#91;7541]: AB437F201CB: to=&lt;yogi@rizkiana.my.id>, relay=relay.domain.com&#91;IP ADDRESS RELAY]:587, delay=9.5, delays=8.1/0/1.4/0, dsn=4.7.0, status=deferred (SASL auth
entication failed; cannot authenticate to server relay.domain.com&#91;IP ADDRESS RELAY]: no mechanism available</code></pre>



<ul class="wp-block-list">
<li>Install package pendukung</li>
</ul>



<pre class="wp-block-code"><code># yum install cyrus-sasl-plain</code></pre>



<ul class="wp-block-list">
<li>Lakukan pengtetesan email kembali dan pantau log /var/log/maillog, apabila anda mendapatkan error seperti berikut :</li>
</ul>



<pre class="wp-block-code"><code>Jun  5 19:23:11 rocky postfix/smtp&#91;7541]: AB437F201CB: to=&lt;yogi@rizkiana.my.id>, relay=relay.domain.com&#91;IP ADDRESS RELAY]:587, delay=859, delays=841/0.1/1.1/17, dsn=2.0.0, status=sent (250 OK id=1sEpR6-004NfN-6t)</code></pre>



<p>Baca juga :<strong> <a href="https://rizkiana.my.id/tracking-center-log-proxmox-mail-gateway-kosong/">Mengatasi Tracking Center Log Proxmox Mail Gateway Kosong (Tidak Muncul)</a></strong></p>



<p>Semoga bermanfaat &amp; enjoy. Wassalamualaikum</p>
<p><a class="a2a_button_whatsapp" href="https://www.addtoany.com/add_to/whatsapp?linkurl=https%3A%2F%2Frizkiana.my.id%2Fsetup-relay-authentication-di-post%2F&amp;linkname=Setup%20Relay%20Authentication%20di%20Postfix" title="WhatsApp" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_telegram" href="https://www.addtoany.com/add_to/telegram?linkurl=https%3A%2F%2Frizkiana.my.id%2Fsetup-relay-authentication-di-post%2F&amp;linkname=Setup%20Relay%20Authentication%20di%20Postfix" title="Telegram" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_facebook" href="https://www.addtoany.com/add_to/facebook?linkurl=https%3A%2F%2Frizkiana.my.id%2Fsetup-relay-authentication-di-post%2F&amp;linkname=Setup%20Relay%20Authentication%20di%20Postfix" title="Facebook" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_twitter" href="https://www.addtoany.com/add_to/twitter?linkurl=https%3A%2F%2Frizkiana.my.id%2Fsetup-relay-authentication-di-post%2F&amp;linkname=Setup%20Relay%20Authentication%20di%20Postfix" title="Twitter" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_linkedin" href="https://www.addtoany.com/add_to/linkedin?linkurl=https%3A%2F%2Frizkiana.my.id%2Fsetup-relay-authentication-di-post%2F&amp;linkname=Setup%20Relay%20Authentication%20di%20Postfix" title="LinkedIn" rel="nofollow noopener" target="_blank"></a><a class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Frizkiana.my.id%2Fsetup-relay-authentication-di-post%2F&#038;title=Setup%20Relay%20Authentication%20di%20Postfix" data-a2a-url="https://rizkiana.my.id/setup-relay-authentication-di-post/" data-a2a-title="Setup Relay Authentication di Postfix"></a></p><p>The post <a href="https://rizkiana.my.id/setup-relay-authentication-di-post/">Setup Relay Authentication di Postfix</a> appeared first on <a href="https://rizkiana.my.id">rizkiana.my.id</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://rizkiana.my.id/setup-relay-authentication-di-post/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Cara Update CentOS dari 6.7 ke 6.10 (Final)</title>
		<link>https://rizkiana.my.id/cara-update-centos-dari-6-ke-latest-version/</link>
					<comments>https://rizkiana.my.id/cara-update-centos-dari-6-ke-latest-version/#respond</comments>
		
		<dc:creator><![CDATA[Yogi Rizkiana]]></dc:creator>
		<pubDate>Mon, 10 Jun 2019 18:01:11 +0000</pubDate>
				<category><![CDATA[Learn and Share]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[CentOS 6.10]]></category>
		<category><![CDATA[Centos 6.7]]></category>
		<category><![CDATA[CentOS Latest]]></category>
		<category><![CDATA[Red Hat]]></category>
		<category><![CDATA[Update CentOS]]></category>
		<category><![CDATA[Update RedHat]]></category>
		<guid isPermaLink="false">https://rizkiana.my.id/?p=800</guid>

					<description><![CDATA[<p>Cara Update CentOS dari 6.7 ke 6.10 (Final) &#8211; Assalamualaikum, CentOS 6.10 telah dirilis, Jika Anda menggunakan sistem operasi CentOS versi 6.x yang lebih lama, artikel ini akan membantu untuk mengupdate CentOS ke rilis terbaru 6.10. Rilis baru ini memiliki banyak perubahan keamanan dan pembaruan paket. Untuk Release Notes bisa merujuk kesini CentOS 6.10 Release ... <a title="Cara Update CentOS dari 6.7 ke 6.10 (Final)" class="read-more" href="https://rizkiana.my.id/cara-update-centos-dari-6-ke-latest-version/" aria-label="Read more about Cara Update CentOS dari 6.7 ke 6.10 (Final)">Read more</a></p>
<p>The post <a href="https://rizkiana.my.id/cara-update-centos-dari-6-ke-latest-version/">Cara Update CentOS dari 6.7 ke 6.10 (Final)</a> appeared first on <a href="https://rizkiana.my.id">rizkiana.my.id</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Cara Update CentOS dari 6.7 ke 6.10 (Final) &#8211; Assalamualaikum, <strong>CentOS 6.10</strong> telah dirilis, Jika Anda menggunakan sistem operasi CentOS versi 6.x yang lebih lama, artikel ini akan membantu untuk mengupdate CentOS ke rilis terbaru 6.10. Rilis baru ini memiliki banyak perubahan keamanan dan pembaruan paket. Untuk Release Notes bisa merujuk kesini <a href="https://wiki.centos.org/Manuals/ReleaseNotes/CentOS6.10">CentOS 6.10 Release Notes</a></p>



<p>Saat ini, server saya menjalankan CentOS 6.7. Berikut cara update CentOS dari 6.7 ke 6.10 (Final).</p>



<ul class="wp-block-list"><li>Cek versi CentOS yang digunakan saat ini</li></ul>



<pre class="wp-block-code"><code># cat /etc/redhat-release 
CentOS release 6.7 (Final)</code></pre>



<p><strong><em>Note: </em></strong><em>Sebelum melakukan update, pastikan Anda telah membuat cadangan semua data Anda ya. DWYOR!!!</em></p>



<ul class="wp-block-list"><li>Gunakan perintah <strong>yum update</strong> untuk melakukan update sistem yang sedang berjalan</li></ul>



<pre class="wp-block-code"><code># yum clean all
# yum update</code></pre>



<p><strong><em>Note:</em></strong><em> Proses update akan membutuhkan waktu tergantung dari kecepatan internet yang diberikan pada server, pastikan internet pada server anda sudah siap ya untuk mendownload paket-paket yang diperlukan selama proses update berlangsung.</em></p>



<ul class="wp-block-list"><li>Setelah berhasil menyelesaikan perintah di atas, reboot sistem Anda</li></ul>



<pre class="wp-block-code"><code># reboot</code></pre>



<ul class="wp-block-list"><li>Terakhir, verifikasi bahwa sistem Anda telah berhasil ditingkatkan atau update. Untuk mengkonfirmasinya periksa versi CentOS saat ini</li></ul>



<pre class="wp-block-code"><code># cat /etc/redhat-release

CentOS release 6.10 (Final)</code></pre>



<p>Proses update CentOS dari 6.7 ke 6.10 sudah selesai dilakukan , saat ini kita sudah menggunakan CentOS versi latest (paling terbaru) yaitu, <strong>CentOS 6.10 (Final)</strong> dari yang sebelumnya yaitu,<strong>CentOS 6.7 (Final)</strong></p>



<p><strong><a href="https://tecadmin.net/how-to-upgrade-centos-6-to-latest-release/">Refrensi</a></strong> | Baca juga : <strong><a href="https://rizkiana.my.id/mengatasi-crontab-zimbra-yang-hilang">Mengatasi crontab zimbra user yang hilang</a></strong></p>



<p>Semoga bermanfaat &amp; enjoy. Wassalamualaikum</p>
<p><a class="a2a_button_whatsapp" href="https://www.addtoany.com/add_to/whatsapp?linkurl=https%3A%2F%2Frizkiana.my.id%2Fcara-update-centos-dari-6-ke-latest-version%2F&amp;linkname=Cara%20Update%20CentOS%20dari%206.7%20ke%206.10%20%28Final%29" title="WhatsApp" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_telegram" href="https://www.addtoany.com/add_to/telegram?linkurl=https%3A%2F%2Frizkiana.my.id%2Fcara-update-centos-dari-6-ke-latest-version%2F&amp;linkname=Cara%20Update%20CentOS%20dari%206.7%20ke%206.10%20%28Final%29" title="Telegram" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_facebook" href="https://www.addtoany.com/add_to/facebook?linkurl=https%3A%2F%2Frizkiana.my.id%2Fcara-update-centos-dari-6-ke-latest-version%2F&amp;linkname=Cara%20Update%20CentOS%20dari%206.7%20ke%206.10%20%28Final%29" title="Facebook" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_twitter" href="https://www.addtoany.com/add_to/twitter?linkurl=https%3A%2F%2Frizkiana.my.id%2Fcara-update-centos-dari-6-ke-latest-version%2F&amp;linkname=Cara%20Update%20CentOS%20dari%206.7%20ke%206.10%20%28Final%29" title="Twitter" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_linkedin" href="https://www.addtoany.com/add_to/linkedin?linkurl=https%3A%2F%2Frizkiana.my.id%2Fcara-update-centos-dari-6-ke-latest-version%2F&amp;linkname=Cara%20Update%20CentOS%20dari%206.7%20ke%206.10%20%28Final%29" title="LinkedIn" rel="nofollow noopener" target="_blank"></a><a class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Frizkiana.my.id%2Fcara-update-centos-dari-6-ke-latest-version%2F&#038;title=Cara%20Update%20CentOS%20dari%206.7%20ke%206.10%20%28Final%29" data-a2a-url="https://rizkiana.my.id/cara-update-centos-dari-6-ke-latest-version/" data-a2a-title="Cara Update CentOS dari 6.7 ke 6.10 (Final)"></a></p><p>The post <a href="https://rizkiana.my.id/cara-update-centos-dari-6-ke-latest-version/">Cara Update CentOS dari 6.7 ke 6.10 (Final)</a> appeared first on <a href="https://rizkiana.my.id">rizkiana.my.id</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://rizkiana.my.id/cara-update-centos-dari-6-ke-latest-version/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again</title>
		<link>https://rizkiana.my.id/mengatasi-error-cannot-rerieve-metalink-for-repository-epel/</link>
					<comments>https://rizkiana.my.id/mengatasi-error-cannot-rerieve-metalink-for-repository-epel/#respond</comments>
		
		<dc:creator><![CDATA[Yogi Rizkiana]]></dc:creator>
		<pubDate>Sat, 01 Jun 2019 18:01:39 +0000</pubDate>
				<category><![CDATA[Learn and Share]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again]]></category>
		<category><![CDATA[Installation Package]]></category>
		<category><![CDATA[Red Hat]]></category>
		<category><![CDATA[Troubleshoot]]></category>
		<guid isPermaLink="false">https://rizkiana.my.id/?p=761</guid>

					<description><![CDATA[<p>Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again &#8211; Assalamualaikum, saya menemukan sebuah kendala ketika sedang melakukan instalasi sebuah packet menggunakan yum di CentOS 6 milik client. Pesan error yang didapatkan ketika melakukan instalasi packet ialah sebagai berikut : Setelah mencoba beberapa cara akhirnya permasalahan tersebut dapat diatasi atau ... <a title="Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again" class="read-more" href="https://rizkiana.my.id/mengatasi-error-cannot-rerieve-metalink-for-repository-epel/" aria-label="Read more about Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again">Read more</a></p>
<p>The post <a href="https://rizkiana.my.id/mengatasi-error-cannot-rerieve-metalink-for-repository-epel/">Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again</a> appeared first on <a href="https://rizkiana.my.id">rizkiana.my.id</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again &#8211; Assalamualaikum, saya menemukan sebuah kendala ketika sedang melakukan instalasi sebuah packet menggunakan yum di CentOS 6 milik client.</p>



<figure class="wp-block-image is-resized"><img fetchpriority="high" decoding="async" src="https://lh4.googleusercontent.com/4KrPbH92MAZgWfuWkDzCf__fdNSLMfhAmIGvph6a3ZkvmQiMS9Zl_wkz_W-aI_zQT8mpjA2qJHjKk7_qoJM93PgmwLgKpZUrEYw8c_VtRgQ2YvfI2PzK40Wa3V5NuLrrzVG1Oj92" alt="" width="520" height="270"/><figcaption>Cannot retrieve metalink for repository: epel. Please verify its path and try again &#8211; <a href="https://www.google.com/url?sa=i&amp;rct=j&amp;q=&amp;esrc=s&amp;source=images&amp;cd=&amp;ved=2ahUKEwjn9vjjtsbiAhVJQo8KHUmsBKcQjRx6BAgBEAU&amp;url=https%3A%2F%2Fcuriousviral.com%2Fcannot-retrieve-metalink-for-repository%2F&amp;psig=AOvVaw1b5zBwuEyGsaJTHbgTidzb&amp;ust=1559414707823374">Source</a></figcaption></figure>



<p>Pesan error yang didapatkan ketika melakukan instalasi packet ialah sebagai berikut :</p>



<pre class="wp-block-code"><code>[root@serverX ~]# yum install libevent
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again</code></pre>



<p>Setelah mencoba beberapa cara akhirnya permasalahan tersebut dapat diatasi atau diselesaikan, berikut ialah cara untuk mengtasi <strong>Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again</strong> ketika melakukan instalasi sebuah packet di CentOs atau RedHat :</p>



<ul class="wp-block-list"><li>Buka file <strong>/etc/yum.repos.d/epel.repo</strong> menggunkan text editor favorit anda</li></ul>



<pre class="wp-block-code"><code>[epel]
name=Extra Packages for Enterprise Linux 6 - $basearch
baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&amp;arch=$basearch
failovermethod=priority
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6

[epel-debuginfo]
name=Extra Packages for Enterprise Linux 6 - $basearch - Debug
baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch/debug
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-6&amp;arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
gpgcheck=1

[epel-source]
name=Extra Packages for Enterprise Linux 6 - $basearch - Source
baseurl=http://download.fedoraproject.org/pub/epel/6/SRPMS
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-source-6&amp;arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
gpgcheck=1
</code></pre>



<ul class="wp-block-list"><li>Berikan tanda <strong>#</strong> pada baris <strong>mirrorlist</strong> seperti berikut :</li></ul>



<pre class="wp-block-code"><code>[epel]
name=Extra Packages for Enterprise Linux 6 - $basearch
baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&amp;arch=$basearch
failovermethod=priority
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6

[epel-debuginfo]
name=Extra Packages for Enterprise Linux 6 - $basearch - Debug
baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch/debug
#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-6&amp;arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
gpgcheck=1

[epel-source]
name=Extra Packages for Enterprise Linux 6 - $basearch - Source
baseurl=http://download.fedoraproject.org/pub/epel/6/SRPMS
#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-source-6&amp;arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
gpgcheck=1</code></pre>



<ul class="wp-block-list"><li>Simpan konfigurasi tersebut dengan cara klik <strong>Esc + :wq</strong> pada keyboard anda</li><li>Kemudian buka file <strong>/etc/yum.repos.d/epel-testing.repo</strong> menggunkan text editor favorit anda</li></ul>



<pre class="wp-block-code"><code>[epel-testing]
name=Extra Packages for Enterprise Linux 6 - Testing - $basearch
baseurl=http://download.fedoraproject.org/pub/epel/testing/6/$basearch
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=testing-epel6&amp;arch=$basearch
failovermethod=priority
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6

[epel-testing-debuginfo]
name=Extra Packages for Enterprise Linux 6 - Testing - $basearch - Debug
baseurl=http://download.fedoraproject.org/pub/epel/testing/6/$basearch/debug
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=testing-debug-epel6&amp;arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
gpgcheck=1

[epel-testing-source]
name=Extra Packages for Enterprise Linux 6 - Testing - $basearch - Source
baseurl=http://download.fedoraproject.org/pub/epel/testing/6/SRPMS
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=testing-source-epel6&amp;arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
gpgcheck=1
</code></pre>



<ul class="wp-block-list"><li>Lakukan langlah yang sama seperti file sebelumnya, yaitu file <strong>/etc/yum.repos.d/epel</strong> yaitu berikan tanda <strong>#</strong> pada baris <strong>mirrorlist</strong> seperti berikut :</li></ul>



<pre class="wp-block-code"><code>[epel-testing]
name=Extra Packages for Enterprise Linux 6 - Testing - $basearch
baseurl=http://download.fedoraproject.org/pub/epel/testing/6/$basearch
#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=testing-epel6&amp;arch=$basearch
failovermethod=priority
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6

[epel-testing-debuginfo]
name=Extra Packages for Enterprise Linux 6 - Testing - $basearch - Debug
baseurl=http://download.fedoraproject.org/pub/epel/testing/6/$basearch/debug
#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=testing-debug-epel6&amp;arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
gpgcheck=1

[epel-testing-source]
name=Extra Packages for Enterprise Linux 6 - Testing - $basearch - Source
baseurl=http://download.fedoraproject.org/pub/epel/testing/6/SRPMS
#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=testing-source-epel6&amp;arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
gpgcheck=1</code></pre>



<ul class="wp-block-list"><li>Simpan konfigurasi tersebut dengan cara klik <strong>Esc + :wq</strong> menggunkan text editor favorit anda</li><li>Kemudian lakukan pengetesan instalasi packet yang diinginkan menggunakan yum maka packet akan berhasil di install menggunakan yum dan error tersebut sudah tidak terjadi lagi.</li></ul>



<p><a href="https://stackoverflow.com/questions/26734777/yum-error-cannot-retrieve-metalink-for-repository-epel-please-verify-its-path">Refrensi </a>| Baca juga: <a href="https://rizkiana.my.id/mengatasi-original-ip-tidak-muncul-di-log-zimbra">Mengatasi Original IP tidak muncul di log Zimbra</a></p>



<p>
Semoga bermanfaat &amp; enjoy. Wassalamualaikum

</p>
<p><a class="a2a_button_whatsapp" href="https://www.addtoany.com/add_to/whatsapp?linkurl=https%3A%2F%2Frizkiana.my.id%2Fmengatasi-error-cannot-rerieve-metalink-for-repository-epel%2F&amp;linkname=Error%3A%20Cannot%20retrieve%20metalink%20for%20repository%3A%20epel.%20Please%20verify%20its%20path%20and%20try%20again" title="WhatsApp" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_telegram" href="https://www.addtoany.com/add_to/telegram?linkurl=https%3A%2F%2Frizkiana.my.id%2Fmengatasi-error-cannot-rerieve-metalink-for-repository-epel%2F&amp;linkname=Error%3A%20Cannot%20retrieve%20metalink%20for%20repository%3A%20epel.%20Please%20verify%20its%20path%20and%20try%20again" title="Telegram" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_facebook" href="https://www.addtoany.com/add_to/facebook?linkurl=https%3A%2F%2Frizkiana.my.id%2Fmengatasi-error-cannot-rerieve-metalink-for-repository-epel%2F&amp;linkname=Error%3A%20Cannot%20retrieve%20metalink%20for%20repository%3A%20epel.%20Please%20verify%20its%20path%20and%20try%20again" title="Facebook" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_twitter" href="https://www.addtoany.com/add_to/twitter?linkurl=https%3A%2F%2Frizkiana.my.id%2Fmengatasi-error-cannot-rerieve-metalink-for-repository-epel%2F&amp;linkname=Error%3A%20Cannot%20retrieve%20metalink%20for%20repository%3A%20epel.%20Please%20verify%20its%20path%20and%20try%20again" title="Twitter" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_linkedin" href="https://www.addtoany.com/add_to/linkedin?linkurl=https%3A%2F%2Frizkiana.my.id%2Fmengatasi-error-cannot-rerieve-metalink-for-repository-epel%2F&amp;linkname=Error%3A%20Cannot%20retrieve%20metalink%20for%20repository%3A%20epel.%20Please%20verify%20its%20path%20and%20try%20again" title="LinkedIn" rel="nofollow noopener" target="_blank"></a><a class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Frizkiana.my.id%2Fmengatasi-error-cannot-rerieve-metalink-for-repository-epel%2F&#038;title=Error%3A%20Cannot%20retrieve%20metalink%20for%20repository%3A%20epel.%20Please%20verify%20its%20path%20and%20try%20again" data-a2a-url="https://rizkiana.my.id/mengatasi-error-cannot-rerieve-metalink-for-repository-epel/" data-a2a-title="Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again"></a></p><p>The post <a href="https://rizkiana.my.id/mengatasi-error-cannot-rerieve-metalink-for-repository-epel/">Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again</a> appeared first on <a href="https://rizkiana.my.id">rizkiana.my.id</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://rizkiana.my.id/mengatasi-error-cannot-rerieve-metalink-for-repository-epel/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Mengecek Disk Usage Menggunakan NCDU di Linux</title>
		<link>https://rizkiana.my.id/mengecek-disk-usage-menggunakan-ncdu-di-linux/</link>
					<comments>https://rizkiana.my.id/mengecek-disk-usage-menggunakan-ncdu-di-linux/#respond</comments>
		
		<dc:creator><![CDATA[Yogi Rizkiana]]></dc:creator>
		<pubDate>Tue, 14 May 2019 18:01:28 +0000</pubDate>
				<category><![CDATA[Learn and Share]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Antergos]]></category>
		<category><![CDATA[Arch Linux]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Disk Usage]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux Mint]]></category>
		<category><![CDATA[Manjaro Linux]]></category>
		<category><![CDATA[NCDU]]></category>
		<category><![CDATA[openSUSE]]></category>
		<category><![CDATA[Red Hat]]></category>
		<category><![CDATA[Scientific Linux]]></category>
		<category><![CDATA[SUSE]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<guid isPermaLink="false">https://rizkiana.my.id/?p=668</guid>

					<description><![CDATA[<p>Mengecek Disk Usage Menggunakan NCDU di Linux &#8211; Assalamualaikum, untuk mengecek disk usage di linux, bisanya kita menggunakan command du -sh / df -Th, namun apabila menggunakan command tersebut kita akan kesulitan untuk mengurutkan dari ukuran terbesar sampai ke terkecil. Untuk mengatasinya, kita bisa menggunakan software yang bernama ncdu. ncdu, singkatan dari NCurses Disk Usage, ... <a title="Mengecek Disk Usage Menggunakan NCDU di Linux" class="read-more" href="https://rizkiana.my.id/mengecek-disk-usage-menggunakan-ncdu-di-linux/" aria-label="Read more about Mengecek Disk Usage Menggunakan NCDU di Linux">Read more</a></p>
<p>The post <a href="https://rizkiana.my.id/mengecek-disk-usage-menggunakan-ncdu-di-linux/">Mengecek Disk Usage Menggunakan NCDU di Linux</a> appeared first on <a href="https://rizkiana.my.id">rizkiana.my.id</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Mengecek Disk Usage Menggunakan NCDU di Linux &#8211; Assalamualaikum, untuk mengecek disk usage di linux, bisanya kita menggunakan command <strong>du -sh / df -Th</strong>, namun apabila menggunakan command tersebut kita akan kesulitan untuk mengurutkan dari ukuran terbesar sampai ke terkecil.</p>



<p>Untuk mengatasinya, kita bisa menggunakan software yang bernama ncdu. ncdu, singkatan dari <a href="https://www.ostechnix.com/check-disk-space-usage-linux-using-ncdu/">NCurses Disk Usage</a>, adalah versi berbasis gratis dari perintah &#8216;du&#8217; yang terkenal. Ini memberikan cara cepat untuk melihat direktori apa yang menggunakan ruang disk. Meskipun ada banyak alat dan cara yang tersedia untuk menganalisis penggunaan disk di Linux, pengembang utilitas ini tidak puas dengan semuanya.</p>



<h2 class="wp-block-heading">Instalasi NCDU</h2>



<p>Untuk melakukan instalasi ncdu di CentOS bisa mengikuti cara berikut :</p>



<ul class="wp-block-list"><li>Instalasi di Arch Linux, Antergos, Manjaro Linux</li></ul>



<pre class="wp-block-code"><code>$ sudo pacman -S ncdu</code></pre>



<ul class="wp-block-list"><li>Instalasi di RHEL, CentOS, Scientific Linux</li></ul>



<pre class="wp-block-code"><code>$ sudo yum install ncdu</code></pre>



<ul class="wp-block-list"><li>Instalasi di Fedora</li></ul>



<pre class="wp-block-code"><code>$ sudo dnf install ncdu</code></pre>



<ul class="wp-block-list"><li>Instalasi di SUSE, openSUSE</li></ul>



<pre class="wp-block-code"><code>$ sudo zypper in ncdu</code></pre>



<ul class="wp-block-list"><li>Instalasi di Debian, Ubuntu, Linux Mint</li></ul>



<pre class="wp-block-code"><code>$ sudo apt-get install ncdu</code></pre>



<h2 class="wp-block-heading" id="mce_17">Cara Menggunakan NCDU</h2>



<ul class="wp-block-list"><li>Jalankan ncdu menggunakan command line atau terminal masing-masing OS anda</li></ul>



<pre class="wp-block-code"><code>$ ncdu</code></pre>



<figure class="wp-block-image"><img decoding="async" src="https://lh4.googleusercontent.com/qMq3il2yYsBLEWLMERQKylpRB9T_q9eQ_jdLgo3YLZtRNfA7K8KRJkvCMtoYlV2Ii-hrTvhct-vLhqSu694OZyGP5jAAh4tas7aEHSlsE_za6p1ws14WHNPbFvcaKmGnL5MjgzIu" alt="Scanning usage ncdu"/><figcaption>Scanning usage ncdu</figcaption></figure>



<p><em>Note: Diatas ialah proses scanning disk usage menggunakan ncdu</em></p>



<ul class="wp-block-list"><li>Berikut ialah cara untuk mengecek disk usage menggunakan ncdu di Linux</li></ul>



<div class="wp-block-image"><figure class="aligncenter"><img decoding="async" src="https://lh3.googleusercontent.com/-Y2w5ao3hgBEOTlW_XQK3QGGWtX4xPv2HBmiDuX752-XllyijtGKq8GOuL5wLKDnSpvkADzE2fGK7b0V6AfRP1NqFM1siyRuP0vN_HbyheZTDl4t8nfRKR4kmCxp-BadJEj6SYRF" alt="ncdu partisi /"/><figcaption>ncdu partisi /</figcaption></figure></div>



<p><em>Note : Dapat dilihat penggunaan usage tertinggi berada pada direktori </em><strong><em>/home</em></strong><em> kemudian disusul oleh </em><strong><em>/media</em></strong></p>



<p>Baca juga: <a href="http://rizkiana.my.id/membuat-alias-di-zimbra-menggunakan-bash-script">Membuat Alias di Zimbra Menggunakan Bash Script</a></p>



<p>Semoga bermanfaat &amp; enjoy. Wassalamualaikum</p>
<p><a class="a2a_button_whatsapp" href="https://www.addtoany.com/add_to/whatsapp?linkurl=https%3A%2F%2Frizkiana.my.id%2Fmengecek-disk-usage-menggunakan-ncdu-di-linux%2F&amp;linkname=Mengecek%20Disk%20Usage%20Menggunakan%20NCDU%20di%20Linux" title="WhatsApp" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_telegram" href="https://www.addtoany.com/add_to/telegram?linkurl=https%3A%2F%2Frizkiana.my.id%2Fmengecek-disk-usage-menggunakan-ncdu-di-linux%2F&amp;linkname=Mengecek%20Disk%20Usage%20Menggunakan%20NCDU%20di%20Linux" title="Telegram" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_facebook" href="https://www.addtoany.com/add_to/facebook?linkurl=https%3A%2F%2Frizkiana.my.id%2Fmengecek-disk-usage-menggunakan-ncdu-di-linux%2F&amp;linkname=Mengecek%20Disk%20Usage%20Menggunakan%20NCDU%20di%20Linux" title="Facebook" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_twitter" href="https://www.addtoany.com/add_to/twitter?linkurl=https%3A%2F%2Frizkiana.my.id%2Fmengecek-disk-usage-menggunakan-ncdu-di-linux%2F&amp;linkname=Mengecek%20Disk%20Usage%20Menggunakan%20NCDU%20di%20Linux" title="Twitter" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_linkedin" href="https://www.addtoany.com/add_to/linkedin?linkurl=https%3A%2F%2Frizkiana.my.id%2Fmengecek-disk-usage-menggunakan-ncdu-di-linux%2F&amp;linkname=Mengecek%20Disk%20Usage%20Menggunakan%20NCDU%20di%20Linux" title="LinkedIn" rel="nofollow noopener" target="_blank"></a><a class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Frizkiana.my.id%2Fmengecek-disk-usage-menggunakan-ncdu-di-linux%2F&#038;title=Mengecek%20Disk%20Usage%20Menggunakan%20NCDU%20di%20Linux" data-a2a-url="https://rizkiana.my.id/mengecek-disk-usage-menggunakan-ncdu-di-linux/" data-a2a-title="Mengecek Disk Usage Menggunakan NCDU di Linux"></a></p><p>The post <a href="https://rizkiana.my.id/mengecek-disk-usage-menggunakan-ncdu-di-linux/">Mengecek Disk Usage Menggunakan NCDU di Linux</a> appeared first on <a href="https://rizkiana.my.id">rizkiana.my.id</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://rizkiana.my.id/mengecek-disk-usage-menggunakan-ncdu-di-linux/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Disable Root Login in CentOS/Red Hat</title>
		<link>https://rizkiana.my.id/disable-root-login-in-centos-red-hat/</link>
					<comments>https://rizkiana.my.id/disable-root-login-in-centos-red-hat/#respond</comments>
		
		<dc:creator><![CDATA[Yogi Rizkiana]]></dc:creator>
		<pubDate>Mon, 22 Apr 2019 18:01:23 +0000</pubDate>
				<category><![CDATA[Learn and Share]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Configuration]]></category>
		<category><![CDATA[Disable Root Login]]></category>
		<category><![CDATA[Red Hat]]></category>
		<guid isPermaLink="false">https://rizkiana.my.id/?p=553</guid>

					<description><![CDATA[<p>Disable Root Login in CentOS/Red Hat &#8211; Assalamualaikum, this article will inform how to setup disable root login in CentOS/Red Hat. This configuration aims to prevent the access of those who are not permitted and only certain users can access the server. open file /etc/ssh/sshd_config using vim / nano Add following this line in the ... <a title="Disable Root Login in CentOS/Red Hat" class="read-more" href="https://rizkiana.my.id/disable-root-login-in-centos-red-hat/" aria-label="Read more about Disable Root Login in CentOS/Red Hat">Read more</a></p>
<p>The post <a href="https://rizkiana.my.id/disable-root-login-in-centos-red-hat/">Disable Root Login in CentOS/Red Hat</a> appeared first on <a href="https://rizkiana.my.id">rizkiana.my.id</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Disable Root Login in CentOS/Red Hat &#8211; Assalamualaikum, this article will inform how to setup disable root login in CentOS/Red Hat. This configuration aims to prevent the access of those who are not permitted and only certain users can access the server.</p>



<ul class="wp-block-list"><li>open file  <strong>/etc/ssh/sshd_config </strong>using vim / nano</li></ul>



<pre class="wp-block-code"><code># vim /etc/ssh/sshd_config</code></pre>



<ul class="wp-block-list"><li>Add following this line in the bottom</li></ul>



<pre class="wp-block-code"><code># Disable Root Login
PermitRootLogin no
UseDNS no</code></pre>



<ul class="wp-block-list"><li>Restart service ssh</li></ul>



<pre class="wp-block-code"><code># systemctl restart sshd</code></pre>



<p><em>Note : Before you disable root login, you MUST create a new user and give sudoers access, because if you don&#8217;t create a new user then your server will not be accessible</em></p>



<p>Read this : <a href="https://rizkiana.my.id/menambahkan-user-ke-sudoers-di-centos-red-hat">Menambahkan User ke Sudoers di CentOS/Red Hat</a></p>



<p>May be usefull &amp; enjoy, wassalamualaikum</p>
<p><a class="a2a_button_whatsapp" href="https://www.addtoany.com/add_to/whatsapp?linkurl=https%3A%2F%2Frizkiana.my.id%2Fdisable-root-login-in-centos-red-hat%2F&amp;linkname=Disable%20Root%20Login%20in%20CentOS%2FRed%20Hat" title="WhatsApp" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_telegram" href="https://www.addtoany.com/add_to/telegram?linkurl=https%3A%2F%2Frizkiana.my.id%2Fdisable-root-login-in-centos-red-hat%2F&amp;linkname=Disable%20Root%20Login%20in%20CentOS%2FRed%20Hat" title="Telegram" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_facebook" href="https://www.addtoany.com/add_to/facebook?linkurl=https%3A%2F%2Frizkiana.my.id%2Fdisable-root-login-in-centos-red-hat%2F&amp;linkname=Disable%20Root%20Login%20in%20CentOS%2FRed%20Hat" title="Facebook" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_twitter" href="https://www.addtoany.com/add_to/twitter?linkurl=https%3A%2F%2Frizkiana.my.id%2Fdisable-root-login-in-centos-red-hat%2F&amp;linkname=Disable%20Root%20Login%20in%20CentOS%2FRed%20Hat" title="Twitter" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_linkedin" href="https://www.addtoany.com/add_to/linkedin?linkurl=https%3A%2F%2Frizkiana.my.id%2Fdisable-root-login-in-centos-red-hat%2F&amp;linkname=Disable%20Root%20Login%20in%20CentOS%2FRed%20Hat" title="LinkedIn" rel="nofollow noopener" target="_blank"></a><a class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Frizkiana.my.id%2Fdisable-root-login-in-centos-red-hat%2F&#038;title=Disable%20Root%20Login%20in%20CentOS%2FRed%20Hat" data-a2a-url="https://rizkiana.my.id/disable-root-login-in-centos-red-hat/" data-a2a-title="Disable Root Login in CentOS/Red Hat"></a></p><p>The post <a href="https://rizkiana.my.id/disable-root-login-in-centos-red-hat/">Disable Root Login in CentOS/Red Hat</a> appeared first on <a href="https://rizkiana.my.id">rizkiana.my.id</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://rizkiana.my.id/disable-root-login-in-centos-red-hat/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Menambahkan User Ke Sudoers di CentOS/Red Hat</title>
		<link>https://rizkiana.my.id/menambahkan-user-ke-sudoers-di-centos-red-hat/</link>
					<comments>https://rizkiana.my.id/menambahkan-user-ke-sudoers-di-centos-red-hat/#respond</comments>
		
		<dc:creator><![CDATA[Yogi Rizkiana]]></dc:creator>
		<pubDate>Sun, 21 Apr 2019 18:01:50 +0000</pubDate>
				<category><![CDATA[Learn and Share]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Configuration]]></category>
		<category><![CDATA[Red Hat]]></category>
		<category><![CDATA[Sudoers]]></category>
		<guid isPermaLink="false">https://rizkiana.my.id/?p=555</guid>

					<description><![CDATA[<p>Menambahkan User Ke Sudoers di CentOS/Red Hat &#8211; Assalamualaikum, Pada saat melakukan instalasi kita tidak membuat user tambahan, pada tahap ini kita membuat user baru dengan nama rizkiana, dimana user ini di khususkan untuk akses saya ke server, dikarenakan nantinya user root akan kami disable. Untuk melakukan konfigurasi ini pastikan terlebih dahulu membuat user rizkiana ... <a title="Menambahkan User Ke Sudoers di CentOS/Red Hat" class="read-more" href="https://rizkiana.my.id/menambahkan-user-ke-sudoers-di-centos-red-hat/" aria-label="Read more about Menambahkan User Ke Sudoers di CentOS/Red Hat">Read more</a></p>
<p>The post <a href="https://rizkiana.my.id/menambahkan-user-ke-sudoers-di-centos-red-hat/">Menambahkan User Ke Sudoers di CentOS/Red Hat</a> appeared first on <a href="https://rizkiana.my.id">rizkiana.my.id</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Menambahkan User Ke Sudoers di CentOS/Red Hat &#8211; Assalamualaikum, Pada saat melakukan instalasi kita tidak membuat user tambahan, pada tahap ini kita membuat user baru dengan nama <strong>rizkiana</strong>, dimana user ini di khususkan untuk akses saya ke server, dikarenakan nantinya user root akan kami disable.</p>



<div class="wp-block-image"><figure class="aligncenter"><img decoding="async" src="https://lh6.googleusercontent.com/Icw_XE9xn9lpneFj2BixLN4c9yG0UXa3sEIiOQ3uuIXxjNs_Xx-c807-MMeGoo1qPpgROjQwwqSeTTM01TiartbTcg41ipBW2w7g9QBg4tw07TG910Wf5A6V-bYlYUM4GPe_yXqo" alt="Sudoers in CentOS/Red Hat"/><figcaption>Sudoers in CentOS/Red Hat (Source: https://libre-software.net/sudo-on-centos-scientific-linux-and-rhel/)</figcaption></figure></div>



<ul class="wp-block-list"><li>Untuk melakukan konfigurasi ini pastikan terlebih dahulu membuat user <strong>rizkiana</strong> terlebih dahulu</li></ul>



<pre class="wp-block-code"><code># adduser rizkiana
# passwd rizkiana
Enter new UNIX password: rizkiana-password
Retype new UNIX password: rizkiana-password</code></pre>



<ul class="wp-block-list"><li>Buka file <strong>/etc/sudoers</strong> dengan text editor favorit anda</li></ul>



<pre class="wp-block-code"><code># vim /etc/sudoers</code></pre>



<ul class="wp-block-list"><li>Pada baris berikut tambahkan user yang baru kita buat seperti berikut :</li></ul>



<pre class="wp-block-code"><code>## Allow root to run any commands anywhere 
root    ALL=(ALL)       ALL
rizkiana    ALL=(ALL)       ALL</code></pre>



<ul class="wp-block-list"><li>Testing ssh menggunakan user <strong>rizkiana</strong> dan akses ke <strong>sudo su</strong></li></ul>



<pre class="wp-block-code"><code>$ ssh rizkiana@server.lab
rizkiana@server.lab's password: rizkiana-password
[riziana@server ~]$ sudo su
[sudo] password for rizkiana: rizkiana-password
[root@server rizkiana]# </code></pre>



<p>Konfigurasi sudah selesai dan berhasil juga kita testing.</p>



<p>Baca juga : <a href="https://rizkiana.my.id/disable-root-login-in-centos-red-hat">Disable Root Login in CentOS/Red Hat</a></p>



<p>Semoga bermanfaat &amp; enjoy, wassalamualaikum<br></p>
<p><a class="a2a_button_whatsapp" href="https://www.addtoany.com/add_to/whatsapp?linkurl=https%3A%2F%2Frizkiana.my.id%2Fmenambahkan-user-ke-sudoers-di-centos-red-hat%2F&amp;linkname=Menambahkan%20User%20Ke%20Sudoers%20di%20CentOS%2FRed%20Hat" title="WhatsApp" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_telegram" href="https://www.addtoany.com/add_to/telegram?linkurl=https%3A%2F%2Frizkiana.my.id%2Fmenambahkan-user-ke-sudoers-di-centos-red-hat%2F&amp;linkname=Menambahkan%20User%20Ke%20Sudoers%20di%20CentOS%2FRed%20Hat" title="Telegram" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_facebook" href="https://www.addtoany.com/add_to/facebook?linkurl=https%3A%2F%2Frizkiana.my.id%2Fmenambahkan-user-ke-sudoers-di-centos-red-hat%2F&amp;linkname=Menambahkan%20User%20Ke%20Sudoers%20di%20CentOS%2FRed%20Hat" title="Facebook" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_twitter" href="https://www.addtoany.com/add_to/twitter?linkurl=https%3A%2F%2Frizkiana.my.id%2Fmenambahkan-user-ke-sudoers-di-centos-red-hat%2F&amp;linkname=Menambahkan%20User%20Ke%20Sudoers%20di%20CentOS%2FRed%20Hat" title="Twitter" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_linkedin" href="https://www.addtoany.com/add_to/linkedin?linkurl=https%3A%2F%2Frizkiana.my.id%2Fmenambahkan-user-ke-sudoers-di-centos-red-hat%2F&amp;linkname=Menambahkan%20User%20Ke%20Sudoers%20di%20CentOS%2FRed%20Hat" title="LinkedIn" rel="nofollow noopener" target="_blank"></a><a class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Frizkiana.my.id%2Fmenambahkan-user-ke-sudoers-di-centos-red-hat%2F&#038;title=Menambahkan%20User%20Ke%20Sudoers%20di%20CentOS%2FRed%20Hat" data-a2a-url="https://rizkiana.my.id/menambahkan-user-ke-sudoers-di-centos-red-hat/" data-a2a-title="Menambahkan User Ke Sudoers di CentOS/Red Hat"></a></p><p>The post <a href="https://rizkiana.my.id/menambahkan-user-ke-sudoers-di-centos-red-hat/">Menambahkan User Ke Sudoers di CentOS/Red Hat</a> appeared first on <a href="https://rizkiana.my.id">rizkiana.my.id</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://rizkiana.my.id/menambahkan-user-ke-sudoers-di-centos-red-hat/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Change Timestamp in CentOS/Red Hat</title>
		<link>https://rizkiana.my.id/change-timestamp-in-centos-red-hat/</link>
					<comments>https://rizkiana.my.id/change-timestamp-in-centos-red-hat/#respond</comments>
		
		<dc:creator><![CDATA[Yogi Rizkiana]]></dc:creator>
		<pubDate>Sat, 20 Apr 2019 18:01:27 +0000</pubDate>
				<category><![CDATA[Learn and Share]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Red Hat]]></category>
		<category><![CDATA[Timestamp]]></category>
		<guid isPermaLink="false">https://rizkiana.my.id/?p=466</guid>

					<description><![CDATA[<p>Change Timestamp in CentOS/RedHat, Assalamualaikum, this article will inform how to change the timestamp files in CentOS/Red Hat Operating System. For example we have 2 files in same directory and the timestamp from both files is same. And we want change the timestamp in file1, if we check now the timestamp from file1 is &#8220;Apr ... <a title="Change Timestamp in CentOS/Red Hat" class="read-more" href="https://rizkiana.my.id/change-timestamp-in-centos-red-hat/" aria-label="Read more about Change Timestamp in CentOS/Red Hat">Read more</a></p>
<p>The post <a href="https://rizkiana.my.id/change-timestamp-in-centos-red-hat/">Change Timestamp in CentOS/Red Hat</a> appeared first on <a href="https://rizkiana.my.id">rizkiana.my.id</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Change Timestamp in CentOS/RedHat, Assalamualaikum, this article will inform how to change the timestamp files in CentOS/Red Hat Operating System.</p>



<ul class="wp-block-list"><li>For example we have 2 files in same directory and the timestamp from both files is same.</li></ul>



<pre class="wp-block-code"><code># ll
total 0
-rw-r--r-- 1 root root 0 Apr 19 13:50 file1
-rw-r--r-- 1 root root 0 Apr 19 13:50 file2</code></pre>



<ul class="wp-block-list"><li>And we want change the timestamp in <strong>file1,</strong> if we check now the timestamp from <strong>file1 </strong>is <strong>&#8220;Apr 19 13:50&#8221;</strong> and we want change the timestamp to <strong>&#8220;Mar 30 11:20&#8221;,</strong> run this command to change the timestamp</li></ul>



<pre class="wp-block-code"><code># touch -d '30 Mar 2019 11:20' file1 </code></pre>



<ul class="wp-block-list"><li>And then check again the timestamp for both files</li></ul>



<pre class="wp-block-code"><code># ll
total 0
-rw-r--r-- 1 root root 0 Mar 30 11:20 file1
-rw-r--r-- 1 root root 0 Apr 19 13:50 file2</code></pre>



<p><a href="https://linuxize.com/post/linux-touch-command/">Refrence</a> | Read this : <a href="https://rizkiana.my.id/mengatasi-a-parsing-error-has-occured-ketika-import-calendar-zimbra">a parsing error has occured when import zimbra calendar</a></p>



<p>We hope this article is useful &amp; enjoy, wassalamualaikum</p>
<p><a class="a2a_button_whatsapp" href="https://www.addtoany.com/add_to/whatsapp?linkurl=https%3A%2F%2Frizkiana.my.id%2Fchange-timestamp-in-centos-red-hat%2F&amp;linkname=Change%20Timestamp%20in%20CentOS%2FRed%20Hat" title="WhatsApp" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_telegram" href="https://www.addtoany.com/add_to/telegram?linkurl=https%3A%2F%2Frizkiana.my.id%2Fchange-timestamp-in-centos-red-hat%2F&amp;linkname=Change%20Timestamp%20in%20CentOS%2FRed%20Hat" title="Telegram" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_facebook" href="https://www.addtoany.com/add_to/facebook?linkurl=https%3A%2F%2Frizkiana.my.id%2Fchange-timestamp-in-centos-red-hat%2F&amp;linkname=Change%20Timestamp%20in%20CentOS%2FRed%20Hat" title="Facebook" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_twitter" href="https://www.addtoany.com/add_to/twitter?linkurl=https%3A%2F%2Frizkiana.my.id%2Fchange-timestamp-in-centos-red-hat%2F&amp;linkname=Change%20Timestamp%20in%20CentOS%2FRed%20Hat" title="Twitter" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_linkedin" href="https://www.addtoany.com/add_to/linkedin?linkurl=https%3A%2F%2Frizkiana.my.id%2Fchange-timestamp-in-centos-red-hat%2F&amp;linkname=Change%20Timestamp%20in%20CentOS%2FRed%20Hat" title="LinkedIn" rel="nofollow noopener" target="_blank"></a><a class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Frizkiana.my.id%2Fchange-timestamp-in-centos-red-hat%2F&#038;title=Change%20Timestamp%20in%20CentOS%2FRed%20Hat" data-a2a-url="https://rizkiana.my.id/change-timestamp-in-centos-red-hat/" data-a2a-title="Change Timestamp in CentOS/Red Hat"></a></p><p>The post <a href="https://rizkiana.my.id/change-timestamp-in-centos-red-hat/">Change Timestamp in CentOS/Red Hat</a> appeared first on <a href="https://rizkiana.my.id">rizkiana.my.id</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://rizkiana.my.id/change-timestamp-in-centos-red-hat/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Instalasi Fail2ban di CentOS/RedHat</title>
		<link>https://rizkiana.my.id/instalasi-fail2ban-di-centos-redhat/</link>
					<comments>https://rizkiana.my.id/instalasi-fail2ban-di-centos-redhat/#respond</comments>
		
		<dc:creator><![CDATA[Yogi Rizkiana]]></dc:creator>
		<pubDate>Mon, 15 Apr 2019 01:00:29 +0000</pubDate>
				<category><![CDATA[Learn and Share]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Configuration]]></category>
		<category><![CDATA[Fail2ban]]></category>
		<category><![CDATA[Red Hat]]></category>
		<guid isPermaLink="false">https://rizkiana.my.id/?p=489</guid>

					<description><![CDATA[<p>Instalasi Fail2ban di CentOS/RedHat &#8211; Salah satu cara untuk mengatasi bruteforce pada server bisa menggunakan salah satu aplikasi yang bernama Fail2ban, aplikasi tersebut bekerja dengan cara memblokir IP yang berusaha melakukan bruteforce berdasarkan dengan logpath yang ditentukan pada server. Bagaimana cara melakukan instalasinya? Berikut ialah cara-nya : Install epel-release Install fail2ban Konfigurasi file jail.conf yang ... <a title="Instalasi Fail2ban di CentOS/RedHat" class="read-more" href="https://rizkiana.my.id/instalasi-fail2ban-di-centos-redhat/" aria-label="Read more about Instalasi Fail2ban di CentOS/RedHat">Read more</a></p>
<p>The post <a href="https://rizkiana.my.id/instalasi-fail2ban-di-centos-redhat/">Instalasi Fail2ban di CentOS/RedHat</a> appeared first on <a href="https://rizkiana.my.id">rizkiana.my.id</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Instalasi Fail2ban di CentOS/RedHat &#8211; Salah satu cara untuk mengatasi bruteforce pada server bisa menggunakan salah satu aplikasi yang bernama Fail2ban, aplikasi tersebut bekerja dengan cara memblokir IP yang berusaha melakukan bruteforce berdasarkan dengan logpath yang ditentukan pada server.</p>



<p>Bagaimana cara melakukan instalasinya? Berikut ialah cara-nya :</p>



<ul class="wp-block-list"><li>Install epel-release</li></ul>



<pre class="wp-block-code"><code># yum install epel-release</code></pre>



<ul class="wp-block-list"><li>Install fail2ban</li></ul>



<pre class="wp-block-code"><code># yum install fail2ban</code></pre>



<ul class="wp-block-list"><li>Konfigurasi file <strong>jail.conf</strong> yang berada pada direktori <strong>/etc/fail2ban</strong> , backup terlebih dahulu file <strong>jail.conf</strong> tersebut sebelum melakukan konfigurasi</li></ul>



<pre class="wp-block-code"><code># cp /etc/fail2ban/jail.conf /etc/fail2ban/jail.conf.backup</code></pre>



<ul class="wp-block-list"><li>Edit file <strong>jail.conf</strong></li></ul>



<pre class="wp-block-code"><code># vim /etc/fail2ban/jail.conf

# Fail2Ban configuration file
#
# Author: Cyril Jaquier
#
# $Revision: 747 $
## The DEFAULT allows a global definition of the options. They can be overridden
# in each jail afterwards.
[DEFAULT]
# "ignoreip" can be an IP address, a CIDR mask or a DNS host. Fail2ban will not
# ban a host which matches an address in this list. Several addresses can be
# defined using space separator.
ignoreip = 127.0.0.1/8 192.168.100.101/32
# "bantime" is the number of seconds that a host is banned.
bantime = 15600
# A host is banned if it has generated "maxretry" during the last "findtime"
# seconds.
findtime = 600

# "maxretry" is the number of failures before a host get banned.
maxretry = 3

# "backend" specifies the backend used to get files modification. Available
# options are "gamin", "polling" and "auto". This option can be overridden in
# each jail too (use "gamin" for a jail and "polling" for another).
#
# gamin: requires Gamin (a file alteration monitor) to be installed. If Gamin
# is not installed, Fail2ban will use polling.
# polling: uses a polling algorithm which does not require external libraries.
# auto: will choose Gamin if available and polling otherwise.
backend = auto

[ssh-iptables]
enabled = true
filter = sshd
action = iptables[name=SSH, port=ssh, protocol=tcp]
logpath = /var/log/secure
maxretry = 3</code></pre>



<p><em>Note : Dari konfigurasi diatas kita akan set untuk sshd dengan membaca log yang berada pada file /var/log/secure dengan maksimal percobaan 3 kali, apabila melebihi 3 kali maka IP tersebut akan diblok selama 15600 detik</em></p>



<ul class="wp-block-list"><li>Restart service untuk mengaktifkan fail2ban</li></ul>



<pre class="wp-block-code"><code># service fail2ban restart</code></pre>



<ul class="wp-block-list"><li>cek service fail2ban</li></ul>



<pre class="wp-block-code"><code># service fail2ban status
Redirecting to /bin/systemctl status fail2ban.service
● fail2ban.service - Fail2Ban Service
   Loaded: loaded (/usr/lib/systemd/system/fail2ban.service; disabled; vendor preset: disabled)
   Active: active (running) since Jum 2019-02-22 09:03:50 WIB; 1 months 20 days ago
     Docs: man:fail2ban(1)
 Main PID: 19042 (fail2ban-server)
   CGroup: /system.slice/fail2ban.service
           └─19042 /usr/bin/python2 -s /usr/bin/fail2ban-server -s /var/run/fail2ban/fail2ban.sock -p /var/run/fail2ban/fail2ban.pid -x -b

Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.</code></pre>



<ul class="wp-block-list"><li>Cek IP yang melakukan bruteforce</li></ul>



<pre class="wp-block-code"><code># iptables -nL
Chain INPUT (policy ACCEPT)
target     prot opt source               destination         
ACCEPT     tcp  --  192.168.100.0/24      0.0.0.0/0            tcp dpt:443
f2b-SSH    tcp  --  0.0.0.0/0            0.0.0.0/0            tcp dpt:22
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0            state NEW tcp dpt:10050

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination         

Chain f2b-SSH (1 references)
target     prot opt source               destination         
REJECT     all  --  37.187.248.39        0.0.0.0/0            reject-with icmp-port-unreachable
REJECT     all  --  138.197.162.28       0.0.0.0/0            reject-with icmp-port-unreachable
REJECT     all  --  61.0.242.100         0.0.0.0/0            reject-with icmp-port-unreachable
REJECT     all  --  159.65.81.187        0.0.0.0/0            reject-with icmp-port-unreachable
</code></pre>



<p><a href="https://www.fail2ban.org/wiki/index.php/Main_Page">Refrensi</a> | Baca juga : <a href="https://rizkiana.my.id/cant-connect-to-tcp-port-10024-on-1-cannot-assign-requested-address-zimbra/">Can’t connect to TCP port 10024 on ::1 [Cannot assign requested address] Zimbra</a></p>



<p>Semoga bermanfaat &amp; enjoy, wassalamualaikum</p>
<p><a class="a2a_button_whatsapp" href="https://www.addtoany.com/add_to/whatsapp?linkurl=https%3A%2F%2Frizkiana.my.id%2Finstalasi-fail2ban-di-centos-redhat%2F&amp;linkname=Instalasi%20Fail2ban%20di%20CentOS%2FRedHat" title="WhatsApp" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_telegram" href="https://www.addtoany.com/add_to/telegram?linkurl=https%3A%2F%2Frizkiana.my.id%2Finstalasi-fail2ban-di-centos-redhat%2F&amp;linkname=Instalasi%20Fail2ban%20di%20CentOS%2FRedHat" title="Telegram" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_facebook" href="https://www.addtoany.com/add_to/facebook?linkurl=https%3A%2F%2Frizkiana.my.id%2Finstalasi-fail2ban-di-centos-redhat%2F&amp;linkname=Instalasi%20Fail2ban%20di%20CentOS%2FRedHat" title="Facebook" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_twitter" href="https://www.addtoany.com/add_to/twitter?linkurl=https%3A%2F%2Frizkiana.my.id%2Finstalasi-fail2ban-di-centos-redhat%2F&amp;linkname=Instalasi%20Fail2ban%20di%20CentOS%2FRedHat" title="Twitter" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_linkedin" href="https://www.addtoany.com/add_to/linkedin?linkurl=https%3A%2F%2Frizkiana.my.id%2Finstalasi-fail2ban-di-centos-redhat%2F&amp;linkname=Instalasi%20Fail2ban%20di%20CentOS%2FRedHat" title="LinkedIn" rel="nofollow noopener" target="_blank"></a><a class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Frizkiana.my.id%2Finstalasi-fail2ban-di-centos-redhat%2F&#038;title=Instalasi%20Fail2ban%20di%20CentOS%2FRedHat" data-a2a-url="https://rizkiana.my.id/instalasi-fail2ban-di-centos-redhat/" data-a2a-title="Instalasi Fail2ban di CentOS/RedHat"></a></p><p>The post <a href="https://rizkiana.my.id/instalasi-fail2ban-di-centos-redhat/">Instalasi Fail2ban di CentOS/RedHat</a> appeared first on <a href="https://rizkiana.my.id">rizkiana.my.id</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://rizkiana.my.id/instalasi-fail2ban-di-centos-redhat/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>SSH Tanpa Password di Red Hat / Centos</title>
		<link>https://rizkiana.my.id/ssh-tanpa-password-di-red-hat-centos/</link>
					<comments>https://rizkiana.my.id/ssh-tanpa-password-di-red-hat-centos/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Thu, 21 Mar 2019 12:58:40 +0000</pubDate>
				<category><![CDATA[Learn and Share]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Red Hat]]></category>
		<category><![CDATA[SSH]]></category>
		<guid isPermaLink="false">https://rizkiana.my.id/?p=294</guid>

					<description><![CDATA[<p>SSH Tanpa Password di Red Hat / Centos &#8211; Assalamualaikum, untuk mengakses atau SSH ke server yang dimanage, setiap Sys Admin umumnya menggunakan password untuk otentikasi atau memasukan password ketika melakukan akses ke server. Bagaiamana jika kita ingin melakukan SSH ke server kita tanpa menggunakan password? Berikut caranya untuk melakukan SSH ke server tanpa menggunakan ... <a title="SSH Tanpa Password di Red Hat / Centos" class="read-more" href="https://rizkiana.my.id/ssh-tanpa-password-di-red-hat-centos/" aria-label="Read more about SSH Tanpa Password di Red Hat / Centos">Read more</a></p>
<p>The post <a href="https://rizkiana.my.id/ssh-tanpa-password-di-red-hat-centos/">SSH Tanpa Password di Red Hat / Centos</a> appeared first on <a href="https://rizkiana.my.id">rizkiana.my.id</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>SSH Tanpa Password di Red Hat / Centos  &#8211; Assalamualaikum, untuk mengakses atau SSH ke server yang dimanage,  setiap Sys Admin umumnya menggunakan password untuk otentikasi atau memasukan password ketika melakukan akses ke server.</p>



<figure class="wp-block-image"><img decoding="async" src="https://lh6.googleusercontent.com/XzjwrAgD52Fjeu4tkIChjoKhmXEwNfsk9D-E_z24RTnUId4UyqWaTH5P10tDco4l6PCu4xuUXnkTYRKuMP_bpderXH9vNtNw2hxmj7xdSscni5LMo9_eKcAh1VkeWMIsKxmduIW0" alt="How to setup ssh keys"/><figcaption>Setup SSH Keys (Source: https://www.digitalocean.com/community/tutorials/how-to-set-up-ssh-keys-on-centos7)</figcaption></figure>



<h2 class="wp-block-heading">Bagaiamana jika kita ingin melakukan SSH ke server kita tanpa menggunakan password?</h2>



<p>Berikut caranya untuk melakukan SSH ke server tanpa menggunakan password.</p>



<ul class="wp-block-list"><li>Jalankan <strong>ssh-keygen</strong> untuk membuat public-private key pair.</li></ul>



<pre class="wp-block-code"><code>[student@desktopX ~]$ ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/home/student/.ssh/id_rsa): Enter
Created directory '/home/student/.ssh'.
Enter passphrase (empty for no passphrase): Enter
Enter same passphrase again: Enter
Your identification has been saved in /home/student/.ssh/id_rsa.
Your public key has been saved in /home/student/.ssh/id_rsa.pub.
The key fingerprint is:
a4:49:cf:fb:ac:ab:c8:ce:45:33:f2:ad:69:7b:d2:5a student@desktopX.example.com
The key's randomart image is:
+--[ RSA 2048]----+
|                |
|                |
|      . .       |
|     . *        |
|     . * S      |
|     + + .      |
|      o.E       |
|    o oo+oo     |
|   .=.**ooo     |
+-----------------+</code></pre>



<ul class="wp-block-list"><li>Kirim ssh public key ke server tujuan menggunakan perintah <strong>ssh-copt-id</strong></li></ul>



<pre class="wp-block-code"><code>[student@desktopX ~]$ ssh-copy-id serverX
The authenticity of host 'serverX (172.25.X.11)' can't be established.
ECDSA key fingerprint is 33:fa:a1:3c:98:30:ff:f6:d4:99:00:4e:7f:84:3e:c3.
Are you sure you want to continue connecting (yes/no)? yes
/usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out
any that are already installed
/usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are prompted
now it is to install the new keys
student@serverX's password: student
Number of key(s) added: 1
Now try logging into the machine, with:
"ssh 'student@serverX'"
and check to make sure that only the key(s) you wanted were added.</code></pre>



<ul class="wp-block-list"><li>Lakukan testing SSH ke server tujuan dan seharusnya server tidak akan meminta password lagi ketika kita mengaksesnya.</li></ul>



<pre class="wp-block-code"><code>[student@desktopX ~]$ ssh serverX</code></pre>



<p><a href="https://access.redhat.com/solutions/9194">Refrensi</a> | Baca juga : <a href="https://rizkiana.my.id/tes-koneksi-port-menggunakan-paping/">Tes Koneksi Port Menggunakan Paping</a></p>



<p>Semoga bermanfaat &amp; enjoy, wassalamualaikum</p>
<p><a class="a2a_button_whatsapp" href="https://www.addtoany.com/add_to/whatsapp?linkurl=https%3A%2F%2Frizkiana.my.id%2Fssh-tanpa-password-di-red-hat-centos%2F&amp;linkname=SSH%20Tanpa%20Password%20di%20Red%20Hat%20%2F%20Centos" title="WhatsApp" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_telegram" href="https://www.addtoany.com/add_to/telegram?linkurl=https%3A%2F%2Frizkiana.my.id%2Fssh-tanpa-password-di-red-hat-centos%2F&amp;linkname=SSH%20Tanpa%20Password%20di%20Red%20Hat%20%2F%20Centos" title="Telegram" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_facebook" href="https://www.addtoany.com/add_to/facebook?linkurl=https%3A%2F%2Frizkiana.my.id%2Fssh-tanpa-password-di-red-hat-centos%2F&amp;linkname=SSH%20Tanpa%20Password%20di%20Red%20Hat%20%2F%20Centos" title="Facebook" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_twitter" href="https://www.addtoany.com/add_to/twitter?linkurl=https%3A%2F%2Frizkiana.my.id%2Fssh-tanpa-password-di-red-hat-centos%2F&amp;linkname=SSH%20Tanpa%20Password%20di%20Red%20Hat%20%2F%20Centos" title="Twitter" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_linkedin" href="https://www.addtoany.com/add_to/linkedin?linkurl=https%3A%2F%2Frizkiana.my.id%2Fssh-tanpa-password-di-red-hat-centos%2F&amp;linkname=SSH%20Tanpa%20Password%20di%20Red%20Hat%20%2F%20Centos" title="LinkedIn" rel="nofollow noopener" target="_blank"></a><a class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Frizkiana.my.id%2Fssh-tanpa-password-di-red-hat-centos%2F&#038;title=SSH%20Tanpa%20Password%20di%20Red%20Hat%20%2F%20Centos" data-a2a-url="https://rizkiana.my.id/ssh-tanpa-password-di-red-hat-centos/" data-a2a-title="SSH Tanpa Password di Red Hat / Centos"></a></p><p>The post <a href="https://rizkiana.my.id/ssh-tanpa-password-di-red-hat-centos/">SSH Tanpa Password di Red Hat / Centos</a> appeared first on <a href="https://rizkiana.my.id">rizkiana.my.id</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://rizkiana.my.id/ssh-tanpa-password-di-red-hat-centos/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
