<?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>Etiket &#187; Linux &#187; Ahmet Bolu</title>
	<atom:link href="https://ahmetbolu.com/etiket/linux/feed/" rel="self" type="application/rss+xml" />
	<link>https://ahmetbolu.com/etiket/linux/</link>
	<description>Web Hizmetleri » Ahmet Bolu</description>
	<lastBuildDate>Sun, 22 Aug 2021 18:15:33 +0000</lastBuildDate>
	<language>tr</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://ahmetbolu.com/wp-content/uploads/2015/08/cropped-favicon-ahmetbolu-ipad-32x32.png</url>
	<title>Etiket &#187; Linux &#187; Ahmet Bolu</title>
	<link>https://ahmetbolu.com/etiket/linux/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>FirewallD Nedir ve Nasıl Kurulur? [ CentOS 8 ]</title>
		<link>https://ahmetbolu.com/firewalld-nedir-ve-nasil-kurulur/</link>
					<comments>https://ahmetbolu.com/firewalld-nedir-ve-nasil-kurulur/#respond</comments>
		
		<dc:creator><![CDATA[Ahmet Bolu]]></dc:creator>
		<pubDate>Sat, 22 Feb 2020 10:34:13 +0000</pubDate>
				<category><![CDATA[Güvenlik]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Nasıl Yapılır]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Firewall]]></category>
		<category><![CDATA[FirewallD]]></category>
		<guid isPermaLink="false">https://www.ahmetbolu.com/?p=997</guid>

					<description><![CDATA[<p>Bu yazımızda CentOS 8 üzerine Firewalld kurulumu anlatılmaktadır. Firewalld(Dynamic Firewall) Nedir? Sunucumuza gelen trafik ve istekleri, istediğimiz doğrultusuda yönlendirmek veya istenmeyen bağlantılardan gelen trafiğin sunucumuzdaki servislere, portlara erişimini engellemek için kolaylıkla kullanabileceğimiz  bir güvenlik duvarı (firewall) servisidir. Firewalld kurulumu [root@centos-sunucum ~]# yum install firewalld -y Bu komuttan sonra başarılı şekilde kurulum sağlanmış olacaktır. Güvenlik duvarı &#8230;</p>
<p>Sonrası <a href="https://ahmetbolu.com/firewalld-nedir-ve-nasil-kurulur/">FirewallD Nedir ve Nasıl Kurulur? [ CentOS 8 ]</a> <a href="https://ahmetbolu.com">Ahmet Bolu</a> ilk ortaya çıktı.</p>
]]></description>
										<content:encoded><![CDATA[<p><img decoding="async" class="alignnone size-full wp-image-998" src="https://ahmetbolu.com/wp-content/uploads/2020/02/firewalld-linux-guvenlik-duvari.png" alt="firewalld-linux-guvenlik-duvari" width="900" height="513" srcset="https://ahmetbolu.com/wp-content/uploads/2020/02/firewalld-linux-guvenlik-duvari.png 900w, https://ahmetbolu.com/wp-content/uploads/2020/02/firewalld-linux-guvenlik-duvari-561x320.png 561w, https://ahmetbolu.com/wp-content/uploads/2020/02/firewalld-linux-guvenlik-duvari-281x160.png 281w, https://ahmetbolu.com/wp-content/uploads/2020/02/firewalld-linux-guvenlik-duvari-768x438.png 768w" sizes="(max-width: 900px) 100vw, 900px" /></p>
<blockquote><p>Bu yazımızda <strong>CentOS 8</strong> üzerine <strong>Firewalld</strong> kurulumu anlatılmaktadır.</p></blockquote>
<h2><strong>Firewalld(Dynamic Firewall) Nedir?</strong></h2>
<p>Sunucumuza gelen trafik ve istekleri, istediğimiz doğrultusuda yönlendirmek veya istenmeyen bağlantılardan gelen trafiğin sunucumuzdaki servislere, portlara erişimini engellemek için kolaylıkla kullanabileceğimiz  bir güvenlik duvarı (firewall) servisidir.</p>
<h3><strong>Firewalld kurulumu</strong></h3>
<pre><code class="language-bash">[root@centos-sunucum ~]# yum install firewalld -y</code></pre>
<p>Bu komuttan sonra başarılı şekilde kurulum sağlanmış olacaktır.</p>
<p>Güvenlik duvarı servisini (firewalld) sunucu her yeniden başlatıldığında otomatik aktif olmasını sağlayalım.</p>
<pre><code class="language-bash">[root@centos-sunucum ~]# sudo systemctl enable firewalld</code></pre>
<p>Güvenlik duvarı servisini (firewalld) şimdi başlatalım.</p>
<pre><code class="language-bash">[root@centos-sunucum ~]# sudo systemctl start firewalld</code></pre>
<p>Güvenlik duvarı çalışma durumunu (firewalld status) kontrol edelim.</p>
<pre><code class="language-bash">[root@centos-sunucum ~]# sudo systemctl status firewalld
● firewalld.service - firewalld - dynamic firewall daemon
   Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled; vendor preset: enabled)
   Active: active (running) since Sat 2020-02-22 10:08:21 UTC; 1h 6min ago
     Docs: man:firewalld(1)
 Main PID: 711 (firewalld)
    Tasks: 2 (limit: 4903)
   Memory: 31.0M
   CGroup: /system.slice/firewalld.service
           └─711 /usr/libexec/platform-python -s /usr/sbin/firewalld --nofork --nopid

Şub 22 10:08:18 centos-sunucum systemd[1]: Starting firewalld - dynamic firewall daemon...
Şub 22 10:08:21 centos-sunucum systemd[1]: Started firewalld - dynamic firewall daemon.</code></pre>

		<div class="box note  aligncenter">
			<div class="box-inner-block">
				<span class="fa tie-shortcode-boxicon"></span>Buradaki tüm işlemler <a href="https://www.digitalocean.com/" target="_blank" rel="noopener noreferrer">Digital Ocean</a> CentOS Droplet (centos-s-1vcpu-1gb-fra1-01) üzerine denenmiştir. Sonrasında sunucu imha edilmiştir.
			</div>
		</div>
	
<p>Sonrası <a href="https://ahmetbolu.com/firewalld-nedir-ve-nasil-kurulur/">FirewallD Nedir ve Nasıl Kurulur? [ CentOS 8 ]</a> <a href="https://ahmetbolu.com">Ahmet Bolu</a> ilk ortaya çıktı.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://ahmetbolu.com/firewalld-nedir-ve-nasil-kurulur/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Nginx Nedir? Nginx Nasıl Kurulur? [ Centos 8 ]</title>
		<link>https://ahmetbolu.com/nginx-nedir-nginx-nasil-kurulur/</link>
					<comments>https://ahmetbolu.com/nginx-nedir-nginx-nasil-kurulur/#respond</comments>
		
		<dc:creator><![CDATA[Ahmet Bolu]]></dc:creator>
		<pubDate>Sat, 22 Feb 2020 09:16:46 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Nasıl Yapılır]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Nginx]]></category>
		<guid isPermaLink="false">https://www.ahmetbolu.com/?p=987</guid>

					<description><![CDATA[<p>Bu yazımızda CentOS 8 üzerine Nginx kurulumu anlatılmaktadır. CentOS Red Hat firmasının dağıtımı olan Red Hat Enterprise Linux (RHEL) kaynak kodları üzerine kurulu ve bu dağıtım ile uyumlu bir linux dağıtımıdır. İşletim sisteminin isminin açılımı The Community ENTerprise Operating System biçimindedir. Nginx (&#8220;engine x&#8221;, enciniks olarak telaffuz edilir); yüksek eş zamanlı çalışma kabiliyeti, yüksek performans ve düşük &#8230;</p>
<p>Sonrası <a href="https://ahmetbolu.com/nginx-nedir-nginx-nasil-kurulur/">Nginx Nedir? Nginx Nasıl Kurulur? [ Centos 8 ]</a> <a href="https://ahmetbolu.com">Ahmet Bolu</a> ilk ortaya çıktı.</p>
]]></description>
										<content:encoded><![CDATA[<blockquote><p>Bu yazımızda <strong>CentOS 8</strong> üzerine <strong>Nginx kurulumu</strong> anlatılmaktadır. CentOS Red Hat firmasının dağıtımı olan Red Hat Enterprise Linux (RHEL) kaynak kodları üzerine kurulu ve bu dağıtım ile uyumlu bir linux dağıtımıdır. İşletim sisteminin isminin açılımı The <strong>C</strong>ommunity <strong>ENT</strong>erprise <strong>O</strong>perating <strong>S</strong>ystem biçimindedir.</p></blockquote>
<p><b>Nginx</b> (&#8220;engine x&#8221;, enciniks olarak telaffuz edilir); yüksek eş zamanlı çalışma kabiliyeti, yüksek performans ve düşük hafıza kullanımına odaklanılarak tasarlanmış bir <a title="Web sunucusu" href="https://tr.wikipedia.org/wiki/Web_sunucusu">Web sunucusudur</a>. Aynı zamanda ters vekil sunucusu, yük dengeleyici ve HTTP ön belleği olarak da kullanılabilir.</p>
<p>2002 yılında Igor Sysoev tarafından yazılmış olan Nginx Unix, Linux, BSD türevleri, Mac OS X, Solaris, AIX, HP-UX ve Microsoft Windows işletim sistemleri üzerinde çalışabilir. BSD-like lisansı ile yayımlanan Nginx bir özgür ve açık kaynak kodlu bir yazılımdır.  <a class="q ruhjFe NJLBac fl" href="https://tr.wikipedia.org/wiki/Nginx" data-ved="2ahUKEwjmqKKA9-TnAhWjSxUIHf2JDCsQmhMwGnoECB8QAg">Vikipedi</a></p>
<h2>Nginx Kurulumu</h2>
<p>İlk adım sunucumuza ssh üzerinden bağlantı sağlıyoruz:</p>
<pre><code class="language-bash">[~]# ssh root@sunucu-ip-adresi</code></pre>
<p>Sunucu ana makine ve işletim sistemi hakkında genel bilgiler almak için hostnamectl komutu kullanabiliriz.</p>
<pre><code class="language-bash">[root@centos-sunucum ~]# hostnamectl
   Static hostname: centos-sunucum
         Icon name: computer-vm
           Chassis: vm
        Machine ID: 4be6764d31c54***
           Boot ID: e1f597dd0f1d4***
    Virtualization: kvm
  Operating System: CentOS Linux 8 (Core)
       CPE OS Name: cpe:/o:centos:centos:8
            Kernel: Linux 4.18.0-147.5.1.el8_1.x86_64
      Architecture: x86-64</code></pre>
<p>Sunucu işletim sistemimiz CentOS 8 üzerinde güncelleme bekleyen paketler varsa güncelleyelim.</p>
<pre><code class="language-bash">[root@centos-sunucum ~]# sudo yum update -y</code></pre>
<p>Sunucu işletim sistemimiz güncel olduğuna göre kurulum adına ilk adımızı atalım.</p>
<pre><code class="language-bash">[root@centos-sunucum ~]# sudo yum search nginx</code></pre>
<pre><code class="language-bash">[root@centos-sunucum ~]# sudo yum search nginx
CentOS-8 - AppStream   19 MB/s | 6.4 MB     00:00
CentOS-8 - Base        8.2 MB/s | 5.0 MB     00:00
CentOS-8 - Extras      11 kB/s | 2.1 kB     00:00
Son üstveri süre bitiş denetimi: 0:00:01 önce Cts 22 Şub 2020 09:17:52 UTC tarihinde.
=== Ad Tam Olarak Eşleşti: nginx ===
nginx.x86_64 : A high performance web server and reverse proxy server
=== Ad &amp; Özet Eşleşti: nginx ===
nginx-mod-mail.x86_64 : Nginx mail modules
nginx-mod-stream.x86_64 : Nginx stream modules
nginx-mod-http-perl.x86_64 : Nginx HTTP perl module
nginx-mod-http-xslt-filter.x86_64 : Nginx XSLT module
nginx-mod-http-image-filter.x86_64 : Nginx HTTP image filter module
nginx-filesystem.noarch : The basic directory layout for the Nginx server
pcp-pmda-nginx.x86_64 : Performance Co-Pilot (PCP) metrics for the Nginx Webserver
nginx-all-modules.noarch : A meta package that installs all available Nginx modules</code></pre>
<p>Yukarıda da görüldüğü üzere nginx ve tüm desteklenen modulleri açıklamaları ile görmekteyiz.</p>
<h3>CentOS üzerine nginx kurma komutu:</h3>
<pre><code class="language-bash">[root@centos-sunucum ~]# sudo yum install nginx -y</code></pre>
<p>Nngix servisi sunucumuza yüklemiş olduğumuza göre şimdi başlatabiliriz:</p>
<pre><code class="language-bash">[root@centos-sunucum ~]# sudo systemctl start nginx</code></pre>
<p>Güvenlik duvarı için aşağıdaki komutları sıra ile uygulayalım. Hata alırsanız <a href="https://ahmetbolu.com/firewalld-nedir-ve-nasil-kurulur/">Firewall kurulumunu</a> yapmanız gerekebilir.</p>
<pre><code class="language-bash">[root@centos-sunucum ~]# sudo firewall-cmd --permanent --zone=public --add-service=http
success
[root@centos-sunucum ~]# sudo firewall-cmd --permanent --zone=public --add-service=https
success
[root@centos-sunucum ~]# sudo firewall-cmd --reload
success</code></pre>
<p>&nbsp;</p>
<p>Sunucumuz üzerinde kurulu olan Nginx ve yüklü paketleri hakkında detaylı bilgi almak için:</p>
<pre><code class="language-bash">[root@centos-sunucum ~]# sudo yum info nginx
Son üstveri süre bitiş denetimi: 0:48:59 önce Cts 22 Şub 2020 09:22:02 UTC tarihinde.
Yüklü Paketler
Ad           : nginx
Dönem        : 1
Sürüm        : 1.14.1
Sürüm        : 9.module_el8.0.0+184+e34fea82
Mimari       : x86_64
Boyut        : 1.7 M
Kaynak       : nginx-1.14.1-9.module_el8.0.0+184+e34fea82.src.rpm
Depo         : @System
Şu depodan   : AppStream
Özet         : A high performance web server and reverse proxy server
URL          : http://nginx.org/
Lisans       : BSD
Açıklama     : Nginx is a web server and a reverse proxy server for HTTP, SMTP, POP3 and
             : IMAP protocols, with a strong focus on high concurrency, performance and low
             : memory usage.</code></pre>
<p>&nbsp;</p>
<p>Tarayıcınızdan http://sunucu-ip-adresi/  ziyaret ediniz.</p>
<pre><code class="language-bash">[root@centos-sunucum ~]# ip addr
1: lo: &lt;LOOPBACK,UP,LOWER_UP&gt; mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: &lt;BROADCAST,MULTICAST,UP,LOWER_UP&gt; mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether de:58:7d:14:01:fb brd ff:ff:ff:ff:ff:ff
    inet &lt;span style=&quot;color: #00ff00;&quot;&gt;&lt;strong&gt;46.101.213.124&lt;/strong&gt;&lt;/span&gt;/18 brd 46.101.255.255 scope global noprefixroute eth0
       valid_lft forever preferred_lft forever
    inet 10.19.0.5/16 brd 10.19.255.255 scope global noprefixroute eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::dc58:7dff:fe14:1fb/64 scope link
       valid_lft forever preferred_lft forever</code></pre>
<p>Aşağıdaki gibi bir ekranla karşılaşıyorsanız Nginx kurulumu başarılı şekilde yapılmıştır.</p>
<p>&nbsp;</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-1014" src="https://ahmetbolu.com/wp-content/uploads/2020/02/nginx-centos-kurulumu-sonrasi.jpg" alt="nginx-centos-kurulumu-sonrasi" width="960" height="640" srcset="https://ahmetbolu.com/wp-content/uploads/2020/02/nginx-centos-kurulumu-sonrasi.jpg 960w, https://ahmetbolu.com/wp-content/uploads/2020/02/nginx-centos-kurulumu-sonrasi-480x320.jpg 480w, https://ahmetbolu.com/wp-content/uploads/2020/02/nginx-centos-kurulumu-sonrasi-900x600.jpg 900w, https://ahmetbolu.com/wp-content/uploads/2020/02/nginx-centos-kurulumu-sonrasi-240x160.jpg 240w, https://ahmetbolu.com/wp-content/uploads/2020/02/nginx-centos-kurulumu-sonrasi-768x512.jpg 768w" sizes="auto, (max-width: 960px) 100vw, 960px" /></p>
<p>&nbsp;</p>

		<div class="box shadow  aligncenter">
			<div class="box-inner-block">
				<span class="fa tie-shortcode-boxicon"></span>
<h2><strong>Bonus: Nginx ve dosyalarını sunucudan kaldırmak</strong></h2>
<p>Nginx kurulumunu sunucudan kaldırmak için:</p>
<pre><code class="language-bash">[root@centos-sunucum ~]# sudo yum remove nginx -y</code></pre>
<p>Varsayılan Nginx ayar dosyaları /etc/nginx/ ve nginx log dosyaları /var/log/nginx/ konumlarında yer alırlar. Aşağıdaki komutlarla nginx ayar dosyalarını ve nginx log dosyalarını sunucudan kaldırabilirsiniz.</p>
<pre><code class="language-bash">[root@centos-sunucum ~]# sudo rm -R /etc/nginx
[root@centos-sunucum ~]# sudo rm -R /var/log/nginx</code></pre>
<p>&nbsp;</p>

			</div>
		</div>
	

		<div class="box note  aligncenter">
			<div class="box-inner-block">
				<span class="fa tie-shortcode-boxicon"></span>Buradaki tüm işlemler <a href="https://www.digitalocean.com/" target="_blank" rel="noopener noreferrer">Digital Ocean</a> CentOS Droplet (centos-s-1vcpu-1gb-fra1-01) üzerine denenmiştir. Sonrasında sunucu imha edilmiştir.
			</div>
		</div>
	
<p>Sonrası <a href="https://ahmetbolu.com/nginx-nedir-nginx-nasil-kurulur/">Nginx Nedir? Nginx Nasıl Kurulur? [ Centos 8 ]</a> <a href="https://ahmetbolu.com">Ahmet Bolu</a> ilk ortaya çıktı.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://ahmetbolu.com/nginx-nedir-nginx-nasil-kurulur/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Linux Versiyonu ve İşletim Sistemi Bilgilerini Öğrenme</title>
		<link>https://ahmetbolu.com/linux-versiyonu-ve-isletim-sistemi-bilgilerini-ogrenme/</link>
					<comments>https://ahmetbolu.com/linux-versiyonu-ve-isletim-sistemi-bilgilerini-ogrenme/#respond</comments>
		
		<dc:creator><![CDATA[Ahmet Bolu]]></dc:creator>
		<pubDate>Sat, 15 Feb 2020 13:34:19 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[OpenSUSE]]></category>
		<category><![CDATA[Ubuntu Server]]></category>
		<guid isPermaLink="false">https://www.ahmetbolu.com/?p=948</guid>

					<description><![CDATA[<p>Linux, Unix&#8217;e karşılık olarak meydana getirilmiş olan hem ücretsiz hem açık kaynak kodlu hem de tamamen ücretsiz olan bir işletim sistemi çekirdeğidir. Bu Linux çekirdeğininin (linux-kernel) işletim sistemi (os, operating system) halini alması için ise vakıflar ve özgür ekipler tarafından geliştirilen tamamına yakını ücretsiz olmak üzere birçok farklı Linux dağıtımları (Linux distribution) bulunmaktadır. Günümüzde bu &#8230;</p>
<p>Sonrası <a href="https://ahmetbolu.com/linux-versiyonu-ve-isletim-sistemi-bilgilerini-ogrenme/">Linux Versiyonu ve İşletim Sistemi Bilgilerini Öğrenme</a> <a href="https://ahmetbolu.com">Ahmet Bolu</a> ilk ortaya çıktı.</p>
]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-953" src="https://ahmetbolu.com/wp-content/uploads/2020/02/linuxlearners.jpg" alt="linux" width="1268" height="664" srcset="https://ahmetbolu.com/wp-content/uploads/2020/02/linuxlearners.jpg 1268w, https://ahmetbolu.com/wp-content/uploads/2020/02/linuxlearners-611x320.jpg 611w, https://ahmetbolu.com/wp-content/uploads/2020/02/linuxlearners-1146x600.jpg 1146w, https://ahmetbolu.com/wp-content/uploads/2020/02/linuxlearners-306x160.jpg 306w, https://ahmetbolu.com/wp-content/uploads/2020/02/linuxlearners-768x402.jpg 768w" sizes="auto, (max-width: 1268px) 100vw, 1268px" /></p>
<p>Linux, Unix&#8217;e karşılık olarak meydana getirilmiş olan hem ücretsiz hem açık kaynak kodlu hem de tamamen ücretsiz olan bir işletim sistemi çekirdeğidir. Bu Linux çekirdeğininin (linux-kernel) işletim sistemi (os, operating system) halini alması için ise vakıflar ve özgür ekipler tarafından geliştirilen tamamına yakını ücretsiz olmak üzere birçok farklı Linux dağıtımları (Linux distribution) bulunmaktadır.</p>
<p>Günümüzde bu popüler dağıtımlar birçok televizyon, tablet, mobil cihaz, bilgisayar ve özellikle de sunucular (server) içerisinde farklı dağıtımlar olarak kullanılmaktadır. Ör: Debian, Ubuntu Server, OpenSUSE, Fedora, CentOS &#8230;</p>
<p>Linux işletim sistemi bilgilerini öğrenmek ve kullandığınız işletim sisteminin hangi mimaride çalıştığını bulmak için aşağıdaki adımları takip  edebilirsiniz.</p>
<blockquote><p>Linux sistemlerde yeniyim ve Linux komut satırında işletim sistemi sürümünü ve işletim sistemi bilgilerini nasıl öğrenebilirim?</p></blockquote>
<h2>Linux versiyon kontrol etme</h2>
<p>Linux işletim sistemi adını ve sürümünü öğrenmek için adımlar:</p>
<ol>
<li>Terminal programını açın (bash shell)</li>
<li>Ssh kullanarak uzaktan sunucu girişi yapın:
<pre><code class="language-bash">$ ssh kullanici@sunucu-ad</code></pre>
<p>Kullanıcı adı yerine genelde root ve sunucu adı yerine ana makine adını tam bilmiyorsanız sunucu ip adresi yazabilirsiniz<br />
root@example.com<br />
root@222.222.222.222</li>
<li>Linux&#8217;ta işletim sistemi adını ve sürümünü bulmak için aşağıdaki komutlardan birini yazın:
<pre><code class="language-bash">$ cat /etc/os-release</code></pre>
<pre><code class="language-bash">$ lsb_release -a</code></pre>
<pre><code class="language-bash">$ hostnamectl</code></pre>
</li>
<li>Linux çekirdek sürümünü bulmak için aşağıdaki komutu yazın:
<pre><code class="language-bash">$ uname -r</code></pre>
</li>
</ol>
<hr />
<p>Şimdi detaylı olarak adım adım nasıl sonuclar aldığımızı örnekleri ile görelim.</p>
<blockquote><p>Sizde bu işletim sistemi ve sürümüne bağlı olarak farklılık gösterebilir.</p></blockquote>
<h2>cat /etc/os-release</h2>
<pre><code class="language-bash">$ cat /etc/os-release
NAME=&quot;CentOS Linux&quot;
VERSION=&quot;7 (Core)&quot;
ID=&quot;centos&quot;
ID_LIKE=&quot;rhel fedora&quot;
VERSION_ID=&quot;7&quot;
PRETTY_NAME=&quot;CentOS Linux 7 (Core)&quot;
ANSI_COLOR=&quot;0;31&quot;
CPE_NAME=&quot;cpe:/o:centos:centos:7&quot;
HOME_URL=&quot;https://www.centos.org/&quot;
BUG_REPORT_URL=&quot;https://bugs.centos.org/&quot;
CENTOS_MANTISBT_PROJECT=&quot;CentOS-7&quot;
CENTOS_MANTISBT_PROJECT_VERSION=&quot;7&quot;
REDHAT_SUPPORT_PRODUCT=&quot;centos&quot;
REDHAT_SUPPORT_PRODUCT_VERSION=&quot;7&quot;</code></pre>
<hr />
<h2>lsb_release -a</h2>
<pre><code class="language-bash">$ lsb_release -a
LSB Version:	:core-4.1-amd64:core-4.1-noarch
Distributor ID:	CentOS
Description:	CentOS Linux release 7.7.1908 (Core)
Release:	7.7.1908
Codename:	Core</code></pre>
<hr />
<h2>hostnamectl</h2>
<pre><code class="language-bash">$ hostnamectl
   Static hostname: sunucum.example.com
         Icon name: computer-vm
           Chassis: vm
        Machine ID: 96820b***
           Boot ID: 02310f6b***
    Virtualization: vmware
  Operating System: CentOS Linux 7 (Core)
       CPE OS Name: cpe:/o:centos:centos:7
            Kernel: Linux 5.5.4-1.el7.elrepo.x86_64
      Architecture: x86-64</code></pre>
<hr />
<h2>uname -r</h2>
<pre><code class="language-bash">$ uname -r
5.5.4-1.el7.elrepo.x86_64</code></pre>
<p>Sonrası <a href="https://ahmetbolu.com/linux-versiyonu-ve-isletim-sistemi-bilgilerini-ogrenme/">Linux Versiyonu ve İşletim Sistemi Bilgilerini Öğrenme</a> <a href="https://ahmetbolu.com">Ahmet Bolu</a> ilk ortaya çıktı.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://ahmetbolu.com/linux-versiyonu-ve-isletim-sistemi-bilgilerini-ogrenme/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
