diff --git a/404.html b/404.html index 129a674..459c662 100644 --- a/404.html +++ b/404.html @@ -1 +1 @@ -404: This page could not be found

404

This page could not be found.

\ No newline at end of file +404: This page could not be found

404

This page could not be found.

\ No newline at end of file diff --git a/_next/static/Ss0rd3tj0Ss-Pdz1eJTcA/_buildManifest.js b/_next/static/Ss0rd3tj0Ss-Pdz1eJTcA/_buildManifest.js deleted file mode 100644 index b8f03b2..0000000 --- a/_next/static/Ss0rd3tj0Ss-Pdz1eJTcA/_buildManifest.js +++ /dev/null @@ -1 +0,0 @@ -self.__BUILD_MANIFEST=function(a){return{__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/":[a,"static/chunks/pages/index-09b5e97ca7290b3e.js"],"/_error":["static/chunks/pages/_error-2280fa386d040b66.js"],"/components/CenteredImageLightbox":["static/chunks/pages/components/CenteredImageLightbox-7361f317e0423b0f.js"],"/haftalar":[a,"static/chunks/pages/haftalar-731a9421d339c4e9.js"],"/haftalar/hafta-bir":[a,"static/chunks/pages/haftalar/hafta-bir-c83b600aaa8f6bf2.js"],"/haftalar/hafta-iki":[a,"static/chunks/pages/haftalar/hafta-iki-70e0c7d09d1a590c.js"],"/haftalar/hafta-sifir":[a,"static/chunks/pages/haftalar/hafta-sifir-545d2815e868ac92.js"],"/haftalar/hafta-uc":[a,"static/chunks/pages/haftalar/hafta-uc-7cf5e77f1da5e3e5.js"],"/tags/[tag]":[a,"static/chunks/pages/tags/[tag]-fefb848df45a674b.js"],sortedPages:["/","/_app","/_error","/components/CenteredImageLightbox","/haftalar","/haftalar/hafta-bir","/haftalar/hafta-iki","/haftalar/hafta-sifir","/haftalar/hafta-uc","/tags/[tag]"]}}("static/chunks/353-e5672d55b0ebd1bc.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/_next/static/chunks/pages/haftalar-5cb336c7a56ad744.js b/_next/static/chunks/pages/haftalar-5cb336c7a56ad744.js new file mode 100644 index 0000000..205d836 --- /dev/null +++ b/_next/static/chunks/pages/haftalar-5cb336c7a56ad744.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[293],{2031:function(a,t,e){(window.__NEXT_P=window.__NEXT_P||[]).push(["/haftalar",function(){return e(6076)}])},7845:function(a,t,e){"use strict";var r=e(5893),n=e(5988),i=(new Date).getFullYear();t.Z={footer:(0,r.jsxs)("small",{style:{display:"block",marginTop:"8rem"},className:"jsx-7c359fde634f3543",children:[(0,r.jsx)("time",{className:"jsx-7c359fde634f3543",children:i})," \xa9 PauSiber",(0,r.jsx)(n.default,{id:"7c359fde634f3543",children:"a.jsx-7c359fde634f3543{float:right}\n@media screen and (max-width:480px) {article.jsx-7c359fde634f3543{padding-top:2rem;\npadding-bottom:4rem}}"})]})}},6076:function(a,t,e){"use strict";e.r(t),e.d(t,{default:function(){return d}});var r=e(5893),n=e(8616),i=e(3805),l=e(7845),o=e(1151);function u(a,t,e){return t in a?Object.defineProperty(a,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):a[t]=e,a}function f(a){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=function(){var t=Object.assign({h1:"h1"},(0,o.ah)(),a.components);return(0,r.jsx)(t.h1,{children:"Haftalar"})},e=Object.assign({},(0,o.ah)(),a.components),n=e.wrapper;return n?(0,r.jsx)(n,f({},a,{children:(0,r.jsx)(t,{})})):t()}var c=(0,r.jsx)(s,{});function d(a){return(0,i.withSSG)((0,n.Z)({filename:"index.md",route:"/haftalar",meta:{type:"posts",title:"Haftalar",date:"2021-03-18T00:00:00.000Z"},pageMap:[{name:"haftalar",children:[{name:"hafta-bir",route:"/haftalar/hafta-bir",frontMatter:{title:"Hafta 1",date:"2022/5/5",description:"Linux'a giri\u015f.",tag:"gnu/linux",author:"Enes Kaya"}},{name:"hafta-dort",route:"/haftalar/hafta-dort",frontMatter:{title:"Hafta 4",date:"2019/10/4",description:"Kriptolojiye giri\u015f, Canl\u0131 d\xfcnya \xf6rnekleri, \u015eifreleme algoritmas\u0131 geli\u015ftirilmesi.",tag:"gnu/linux cryptography",author:"Abdullah Bagyapan"}},{name:"hafta-iki",route:"/haftalar/hafta-iki",frontMatter:{title:"Hafta 2",date:"2021/5/5",description:"Linux'ta kullan\u0131c\u0131-grup y\xf6netimini ve dosya-dizin izinlerini kavratmak.",tag:"gnu/linux",author:"Enes Kaya"}},{name:"hafta-sifir",route:"/haftalar/hafta-sifir",frontMatter:{title:"Hafta 0",date:"2023/5/5",description:"Linux'un genel bir tan\u0131m\u0131. Gerekli kurulumlar\u0131n ger\xe7ekle\u015ftirilmesi.",tag:"gnu/linux",author:"Enes Kaya"}},{name:"hafta-uc",route:"/haftalar/hafta-uc",frontMatter:{title:"Hafta 3",date:"2020/5/5",description:"Server kavram\u0131n\u0131n a\xe7\u0131klanmas\u0131, SSH Kullan\u0131m\u0131, Zamanlanm\u0131\u015f g\xf6revler olu\u015fturulmas\u0131.",tag:"gnu/linux",author:"Enes Kaya"}},{name:"index",route:"/haftalar",frontMatter:{type:"posts",title:"Haftalar",date:"2021-03-18T00:00:00.000Z"}}],route:"/haftalar"},{name:"index",route:"/",frontMatter:{type:"page",title:"Hakk\u0131nda",date:"2021-03-19T00:00:00.000Z"}},{name:"tags",children:[{name:"[tag]",route:"/tags/[tag]",frontMatter:{type:"tag",title:"Tagged Posts"}}],route:"/tags"}]},l.Z))(f({},a,{children:c}))}}},function(a){a.O(0,[774,353,888,179],(function(){return t=2031,a(a.s=t);var t}));var t=a.O();_N_E=t}]); \ No newline at end of file diff --git a/_next/static/chunks/pages/haftalar-731a9421d339c4e9.js b/_next/static/chunks/pages/haftalar-731a9421d339c4e9.js deleted file mode 100644 index 9a05196..0000000 --- a/_next/static/chunks/pages/haftalar-731a9421d339c4e9.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[293],{2031:function(t,a,e){(window.__NEXT_P=window.__NEXT_P||[]).push(["/haftalar",function(){return e(6076)}])},7845:function(t,a,e){"use strict";var n=e(5893),r=e(5988),i=(new Date).getFullYear();a.Z={footer:(0,n.jsxs)("small",{style:{display:"block",marginTop:"8rem"},className:"jsx-7c359fde634f3543",children:[(0,n.jsx)("time",{className:"jsx-7c359fde634f3543",children:i})," \xa9 PauSiber",(0,n.jsx)(r.default,{id:"7c359fde634f3543",children:"a.jsx-7c359fde634f3543{float:right}\n@media screen and (max-width:480px) {article.jsx-7c359fde634f3543{padding-top:2rem;\npadding-bottom:4rem}}"})]})}},6076:function(t,a,e){"use strict";e.r(a),e.d(a,{default:function(){return d}});var n=e(5893),r=e(8616),i=e(3805),l=e(7845),u=e(1151);function o(t,a,e){return a in t?Object.defineProperty(t,a,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[a]=e,t}function f(t){for(var a=1;a0&&void 0!==arguments[0]?arguments[0]:{},a=function(){var a=Object.assign({h1:"h1"},(0,u.ah)(),t.components);return(0,n.jsx)(a.h1,{children:"Haftalar"})},e=Object.assign({},(0,u.ah)(),t.components),r=e.wrapper;return r?(0,n.jsx)(r,f({},t,{children:(0,n.jsx)(a,{})})):a()}var c=(0,n.jsx)(s,{});function d(t){return(0,i.withSSG)((0,r.Z)({filename:"index.md",route:"/haftalar",meta:{type:"posts",title:"Haftalar",date:"2021-03-18T00:00:00.000Z"},pageMap:[{name:"haftalar",children:[{name:"hafta-bir",route:"/haftalar/hafta-bir",frontMatter:{title:"Hafta 1",date:"2022/5/5",description:"Linux'a giri\u015f.",tag:"gnu/linux",author:"Enes Kaya"}},{name:"hafta-iki",route:"/haftalar/hafta-iki",frontMatter:{title:"Hafta 2",date:"2021/5/5",description:"Linux'ta kullan\u0131c\u0131-grup y\xf6netimini ve dosya-dizin izinlerini kavratmak.",tag:"gnu/linux",author:"Enes Kaya"}},{name:"hafta-sifir",route:"/haftalar/hafta-sifir",frontMatter:{title:"Hafta 0",date:"2023/5/5",description:"Linux'un genel bir tan\u0131m\u0131. Gerekli kurulumlar\u0131n ger\xe7ekle\u015ftirilmesi.",tag:"gnu/linux",author:"Enes Kaya"}},{name:"hafta-uc",route:"/haftalar/hafta-uc",frontMatter:{title:"Hafta 3",date:"2020/5/5",description:"Server kavram\u0131n\u0131n a\xe7\u0131klanmas\u0131, SSH Kullan\u0131m\u0131, Zamanlanm\u0131\u015f g\xf6revler olu\u015fturulmas\u0131.",tag:"gnu/linux",author:"Enes Kaya"}},{name:"index",route:"/haftalar",frontMatter:{type:"posts",title:"Haftalar",date:"2021-03-18T00:00:00.000Z"}}],route:"/haftalar"},{name:"index",route:"/",frontMatter:{type:"page",title:"Hakk\u0131nda",date:"2021-03-19T00:00:00.000Z"}},{name:"tags",children:[{name:"[tag]",route:"/tags/[tag]",frontMatter:{type:"tag",title:"Tagged Posts"}}],route:"/tags"}]},l.Z))(f({},t,{children:c}))}}},function(t){t.O(0,[774,353,888,179],(function(){return a=2031,t(t.s=a);var a}));var a=t.O();_N_E=a}]); \ No newline at end of file diff --git a/_next/static/chunks/pages/haftalar/hafta-bir-c83b600aaa8f6bf2.js b/_next/static/chunks/pages/haftalar/hafta-bir-c83b600aaa8f6bf2.js deleted file mode 100644 index 57253bb..0000000 --- a/_next/static/chunks/pages/haftalar/hafta-bir-c83b600aaa8f6bf2.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[189],{8232:function(n,i,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/haftalar/hafta-bir",function(){return a(8325)}])},7845:function(n,i,a){"use strict";var e=a(5893),r=a(5988),l=(new Date).getFullYear();i.Z={footer:(0,e.jsxs)("small",{style:{display:"block",marginTop:"8rem"},className:"jsx-7c359fde634f3543",children:[(0,e.jsx)("time",{className:"jsx-7c359fde634f3543",children:l})," \xa9 PauSiber",(0,e.jsx)(r.default,{id:"7c359fde634f3543",children:"a.jsx-7c359fde634f3543{float:right}\n@media screen and (max-width:480px) {article.jsx-7c359fde634f3543{padding-top:2rem;\npadding-bottom:4rem}}"})]})}},8325:function(n,i,a){"use strict";a.r(i),a.d(i,{default:function(){return m}});var e=a(5893),r=a(8616),l=a(3805),s=a(7845),t=a(1151);function d(n,i,a){return i in n?Object.defineProperty(n,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[i]=a,n}function h(n){for(var i=1;i0&&void 0!==arguments[0]?arguments[0]:{},i=function(){var i=Object.assign({h1:"h1",p:"p",strong:"strong",a:"a",h2:"h2",ul:"ul",li:"li",h3:"h3",pre:"pre",code:"code",em:"em",hr:"hr",h4:"h4",table:"table",thead:"thead",tr:"tr",th:"th",tbody:"tbody",td:"td"},(0,t.ah)(),n.components),a=i.CenteredImageLightbox;return a||o("CenteredImageLightbox",!0),(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(i.h1,{children:"Hafta 1"}),"\n",(0,e.jsxs)(i.p,{children:[(0,e.jsx)(i.strong,{children:"Ama\xe7 :"})," Terminal kullan\u0131m\u0131n\u0131 kavratmak, dosya sistem hiyerar\u015fisini kavratmak, paket y\xf6neticisi kavram\u0131ndan bahsetmek."]}),"\n",(0,e.jsxs)(i.p,{children:[(0,e.jsx)(i.strong,{children:"Yazarlar :"})," ",(0,e.jsx)(i.a,{href:"https://github.com/boratanrikulu",children:(0,e.jsx)(i.strong,{children:"boratanrikulu"})})," ",(0,e.jsx)(i.strong,{children:"&&"})," ",(0,e.jsx)(i.a,{href:"https://github.com/hasantezcan",children:(0,e.jsx)(i.strong,{children:"hasantezcan"})})]}),"\n",(0,e.jsx)("hr",{}),"\n",(0,e.jsx)(i.h2,{children:"Terminal Nedir ?"}),"\n",(0,e.jsx)(i.p,{children:"Terminal, i\u015fletim sisteminizi shell ile kullanman\u0131z\u0131 sa\u011flayan bir aray\xfczd\xfcr. GNU/Linux da\u011f\u0131t\u0131mlar\u0131nda SHELL olarak genellikle BASH kabu\u011fu (shell) kullan\u0131l\u0131r."}),"\n",(0,e.jsx)(i.p,{children:"Windows'ta bunun kar\u015f\u0131l\u0131\u011f\u0131 CMD denebilir."}),"\n",(0,e.jsxs)(i.p,{children:["Windows'ta \u015fuana kadar hi\xe7 CMD'ye girmeden hayatta kalabiliyorsan\u0131z, asl\u0131nda GNU/Linux da\u011f\u0131t\u0131mlar\u0131n\u0131n ",(0,e.jsx)(i.strong,{children:"bir\xe7o\u011funda da"})," terminale hi\xe7 u\u011framadan hayatta kalabilirsiniz."]}),"\n",(0,e.jsx)(a,{alt:"cmd",src:"/images/hafta1/2.png",width:"800"}),"\n",(0,e.jsx)("hr",{}),"\n",(0,e.jsx)(i.h2,{children:"Peki neden size terminal kullan\u0131m\u0131 anlat\u0131yoruz ?"}),"\n",(0,e.jsx)(i.p,{children:"\u0130\u015fletim sistemine tamamen hakim olmak, isteklerinizi grafik aray\xfcz\xfcn\xfcn hantall\u0131\u011f\u0131na tak\u0131lmadan yapmak ve i\u015flerinizi \xe7ok daha h\u0131zl\u0131 g\xf6rmek a\xe7\u0131s\u0131ndan terminal kullan\u0131m\u0131 \xf6nemlidir."}),"\n",(0,e.jsxs)(i.p,{children:["Ayr\u0131ca mesle\u011fimiz gere\u011fi burada \xe7ok i\u015fimiz oluyor ",(0,e.jsx)(i.strong,{children:":)"}),"."]}),"\n",(0,e.jsx)(i.p,{children:"\xd6rne\u011fin en basitinden, birka\xe7 hafta i\xe7erisinde e\u011fitimini alaca\u011f\u0131n\u0131z git kullan\u0131m\u0131n\u0131n terminal \xfczerinden yap\u0131lmas\u0131 gibi. Onun d\u0131\u015f\u0131nda, yazd\u0131\u011f\u0131n\u0131z herhangi bir program\u0131 derlerken terminal kullanman\u0131z gerekti\u011fi gibi fakt\xf6rler terminal kullan\u0131m\u0131na al\u0131\u015fman\u0131z a\xe7\u0131s\u0131ndan \xf6nemlidir."}),"\n",(0,e.jsx)(i.p,{children:"Yani \u015fuan \xf6\u011frenece\u011finiz bilgiler ba\u015fta anlams\u0131z, hantal ve yava\u015f olarak g\xf6z\xfckecek olsa bile asl\u0131nda ileriki mesleki hayat\u0131n\u0131zda \xe7ok\xe7a rahat etmenizi sa\u011flayacakt\u0131r."}),"\n",(0,e.jsx)(i.p,{children:"Ne kadar erken \xf6\u011frenmeniz sizin i\xe7in o kadar iyi olacakt\u0131r."}),"\n",(0,e.jsx)("hr",{}),"\n",(0,e.jsx)(i.h2,{children:"SHELL Nedir ?"}),"\n",(0,e.jsx)(i.p,{children:"SHELL i\u015fletim sistemlerinin servislerini kullanmak amac\u0131yla kullan\u0131lan bir kullan\u0131c\u0131 arabirimidir (user interface), bir programd\u0131r."}),"\n",(0,e.jsx)(i.p,{children:"Kabuk (shell) , \xe7ekirdek ile kullan\u0131c\u0131 aras\u0131nda ara g\xf6rev g\xf6r\xfcr."}),"\n",(0,e.jsx)(i.p,{children:"Bir\xe7ok kabuk \xe7e\u015fidi vard\u0131r;"}),"\n",(0,e.jsxs)(i.ul,{children:["\n",(0,e.jsx)(i.li,{children:"sh"}),"\n",(0,e.jsx)(i.li,{children:"bash"}),"\n",(0,e.jsx)(i.li,{children:"zsh"}),"\n",(0,e.jsx)(i.li,{children:"csh"}),"\n",(0,e.jsx)(i.li,{children:"ksh"}),"\n",(0,e.jsx)(i.li,{children:"tcsh"}),"\n"]}),"\n",(0,e.jsx)(i.p,{children:"PauSiber Dev'de ise kabuk yani shell olarak ZSH kullan\u0131lmaktad\u0131r. Kabuk olarak BASH yerine ZSH kullanma sebebimiz; ZSH'\u0131n BASH'e g\xf6re daha fazla \xf6zellik i\xe7ermesi."}),"\n",(0,e.jsx)(i.p,{children:"Bi de \u015fekil filan yani .s.s.s"}),"\n",(0,e.jsx)(a,{alt:"zsh",src:"/images/hafta1/0.png",width:"800"}),"\n",(0,e.jsx)(a,{alt:"bash",src:"/images/hafta1/1.png",width:"800"}),"\n",(0,e.jsx)("hr",{}),"\n",(0,e.jsx)(i.h2,{children:"Temel Komutlar"}),"\n",(0,e.jsx)(i.p,{children:"Terminalda kullanabilece\u011finiz say\u0131s\u0131z uygulama, say\u0131s\u0131z komut var. Biz bu e\u011fitim s\u0131ras\u0131nda yaln\u0131zca temel d\xfczeyde olan komutlar\u0131 g\xf6sterece\u011fiz."}),"\n",(0,e.jsx)("hr",{}),"\n",(0,e.jsx)(i.h3,{children:"ls [list]"}),"\n",(0,e.jsx)(i.p,{children:"Herhangi bir dizinin i\xe7ini g\xf6rmek i\xe7in kulland\u0131\u011f\u0131m\u0131z komuttur."}),"\n",(0,e.jsx)(i.p,{children:"\xd6rne\u011fin terminalde a\u015fa\u011f\u0131daki gibi bir komut y\xfcr\xfct\xfcrsek, o s\u0131rada bulundu\u011fumuz dizinin i\xe7indeki t\xfcm dosya dizinlerin \xe7\u0131kt\u0131s\u0131n\u0131 g\xf6r\xfcr\xfcz."}),"\n",(0,e.jsx)(i.pre,{children:(0,e.jsx)(i.code,{className:"language-bash",children:"\tls\n"})}),"\n",(0,e.jsx)(a,{alt:"ls",src:"/images/hafta1/3.png",width:"800"}),"\n",(0,e.jsx)("hr",{}),"\n",(0,e.jsxs)(i.p,{children:["GNU/Linux'da bir dosyan\u0131n gizli olmas\u0131 i\xe7in ba\u015f\u0131na ",(0,e.jsx)(i.strong,{children:'"."'})," konmas\u0131 yeterlidir. E\u011fer bir dosyan\u0131n ba\u015f\u0131nda ",(0,e.jsx)(i.strong,{children:'"."'})," ifadesin var ise ",(0,e.jsx)(i.strong,{children:"ls"})," sorgular\u0131nda g\xf6sterilmez."]}),"\n",(0,e.jsx)(i.p,{children:"Bu y\xfczden az \xf6nce yapt\u0131\u011f\u0131m\u0131z sorguda g\xf6rd\xfcklerimiz, bulundu\u011fumuz sat\u0131rdaki t\xfcm dosya ya da dizinleri g\xf6stermedi."}),"\n",(0,e.jsxs)(i.p,{children:["Gizli dosya ve dizinler dahil t\xfcm her \u015feyi g\xf6rmek istiyor isek ",(0,e.jsx)(i.strong,{children:"--all"})," ya da ",(0,e.jsx)(i.strong,{children:"-a"})," parametresi kullanmam\u0131z gerekir."]}),"\n",(0,e.jsx)(i.p,{children:"Yani a\u015fa\u011f\u0131daki gibi bir komut y\xfcr\xfct\xfcr\xfcz."}),"\n",(0,e.jsx)(i.pre,{children:(0,e.jsx)(i.code,{className:"language-bash",children:"\tls -a\n"})}),"\n",(0,e.jsx)(a,{alt:"ls - show them all",src:"/images/hafta1/4.png",width:"800"}),"\n",(0,e.jsx)(i.p,{children:"Peki \xf6rne\u011fin bulundu\u011fumuz dizin alt\u0131nda bulunan t\xfcm dosyalar\u0131 tarihe g\xf6re s\u0131ral\u0131 \u015fekilde g\xf6r\xfcnt\xfclemek istersek ne yapmal\u0131y\u0131z ? A\u015fa\u011f\u0131daki parametreleri kullanabiliriz."}),"\n",(0,e.jsx)(i.pre,{children:(0,e.jsx)(i.code,{className:"language-bash",children:"\tls -lat\n"})}),"\n",(0,e.jsx)(a,{alt:"ls - show them all with ordering by date",src:"/images/hafta1/5.png",width:"800"}),"\n",(0,e.jsx)("hr",{}),"\n",(0,e.jsx)(i.h3,{children:"man [manual]"}),"\n",(0,e.jsx)(i.p,{children:"EE t\xfcm parametreleri b\xf6yle tek tek \xf6\u011frenecek miyiz ? Evet."}),"\n",(0,e.jsx)(i.p,{children:(0,e.jsx)(i.strong,{children:"Peki ezberleyecek miyiz ? HAYIR !"})}),"\n",(0,e.jsxs)(i.p,{children:["Kullan\u0131lan neredeyse her komutun bir manual sayfas\u0131 vard\u0131r. Bunlar\u0131 okumak i\xe7in ",(0,e.jsx)(i.strong,{children:"man"})," komutunu kullanabiliriz. \xd6rne\u011fin ",(0,e.jsx)(i.strong,{children:"ls"})," komutunun manual sayfas\u0131n\u0131 okumak i\xe7in ",(0,e.jsx)(i.strong,{children:"man ls"})," dememiz yeterlidir."]}),"\n",(0,e.jsx)(i.pre,{children:(0,e.jsx)(i.code,{className:"language-bash",children:"\tman ls\n"})}),"\n",(0,e.jsx)(i.p,{children:"Son derece detayl\u0131 olan bu manual sayfalar\u0131nda ilgili komutla ilgili t\xfcm detaya ula\u015fabilirsiniz."}),"\n",(0,e.jsxs)(i.p,{children:[(0,e.jsx)(i.strong,{children:"Not :"})," manual sayfas\u0131ndan ",(0,e.jsx)(i.strong,{children:"q"}),"'a basarak \xe7\u0131kabilirsiniz."]}),"\n",(0,e.jsx)(a,{alt:"man ls",src:"/images/hafta1/6.png",width:"800"}),"\n",(0,e.jsxs)(i.p,{children:["Ayr\u0131ca ek bir \xf6neri olarak; okuma kolayl\u0131\u011f\u0131 sa\u011flamas\u0131, aranan \u015feylere daha kolay ula\u015fma imkan\u0131 vermesi a\xe7\u0131s\u0131ndan, man kullanmak yerine ",(0,e.jsx)(i.strong,{children:"tldr"})," uygulamas\u0131n\u0131 kullanabilirsiniz."]}),"\n",(0,e.jsxs)(i.p,{children:[(0,e.jsx)(i.a,{href:"https://github.com/tldr-pages/tldr",children:(0,e.jsx)(i.strong,{children:"github.com/tldr-pages/tldr"})})," ",(0,e.jsx)(i.em,{children:(0,e.jsx)(i.code,{children:'tl;dr : "too long; didn\'t read"'})})]}),"\n",(0,e.jsx)(a,{alt:"man ls",src:"/images/hafta1/7.png",width:"800"}),"\n",(0,e.jsx)("hr",{}),"\n",(0,e.jsx)(i.h3,{children:"cd [change directory]"}),"\n",(0,e.jsx)(i.p,{children:"Bulundu\u011fumuz dizini de\u011fi\u015ftirmek i\xe7in cd komutunu kullan\u0131r\u0131z."}),"\n",(0,e.jsx)(i.pre,{children:(0,e.jsx)(i.code,{className:"language-bash",children:"\tcd Documents/\n"})}),"\n",(0,e.jsx)(a,{alt:"cd",src:"/images/hafta1/9.png",width:"800"}),"\n",(0,e.jsx)(i.p,{children:"E\u011fer bulundu\u011fumuz dizinin bir \xfcst\xfcne gitmek istiyorsak a\u015fa\u011f\u0131daki gibi yapmal\u0131y\u0131z."}),"\n",(0,e.jsx)(i.pre,{children:(0,e.jsx)(i.code,{className:"language-bash",children:"\tcd ..\n"})}),"\n",(0,e.jsx)("hr",{}),"\n",(0,e.jsx)(i.h3,{children:"pwd [print working directory]"}),"\n",(0,e.jsx)(i.p,{children:"Bu komut bize hangi dizinin i\xe7inde oldu\u011fumuzu s\xf6yler. Yani bulundu\u011fumuz dizinin path'ini verir."}),"\n",(0,e.jsx)(i.pre,{children:(0,e.jsx)(i.code,{className:"language-bash",children:"\tpwd\n"})}),"\n",(0,e.jsx)(a,{alt:"pwd",src:"/images/hafta1/8.png",width:"800"}),"\n",(0,e.jsx)(i.hr,{}),"\n",(0,e.jsx)(i.h3,{children:"touch"}),"\n",(0,e.jsx)(i.p,{children:"\u0130\xe7i bo\u015f bir dosya olu\u015fturmak amac\u0131yla kullan\u0131l\u0131r."}),"\n",(0,e.jsx)(i.pre,{children:(0,e.jsx)(i.code,{className:"language-bash",children:"\ttouch yeni_bir_dosya\n"})}),"\n",(0,e.jsx)(a,{alt:"touch",src:"/images/hafta1/27.png",width:"800"}),"\n",(0,e.jsx)("hr",{}),"\n",(0,e.jsx)(i.h3,{children:"cat"}),"\n",(0,e.jsx)(i.p,{children:"Bir dosyan\u0131n i\xe7eri\u011fini terminale basar."}),"\n",(0,e.jsx)(i.pre,{children:(0,e.jsx)(i.code,{className:"language-bash",children:"\tcat beni_oku\n"})}),"\n",(0,e.jsx)(a,{alt:"cat",src:"/images/hafta1/10.png",width:"800"}),"\n",(0,e.jsx)(i.h3,{children:"tac"}),"\n",(0,e.jsx)(i.p,{children:"Bir dosyan\u0131n i\xe7eri\u011fini, ters s\u0131rada terminale basar."}),"\n",(0,e.jsx)(i.pre,{children:(0,e.jsx)(i.code,{className:"language-bash",children:"\ttac beni_tersten_oku\n"})}),"\n",(0,e.jsx)(a,{alt:"tac",src:"/images/hafta1/26.png",width:"800"}),"\n",(0,e.jsx)("hr",{}),"\n",(0,e.jsx)(i.h3,{children:"echo"}),"\n",(0,e.jsx)(i.p,{children:"Terminal ekrana string bir ifadeyi basmak amac\u0131yla kullan\u0131labilir."}),"\n",(0,e.jsx)(i.pre,{children:(0,e.jsx)(i.code,{className:"language-bash",children:'\techo "MESAJ"\n'})}),"\n",(0,e.jsx)(a,{alt:"echo",src:"/images/hafta1/11.png",width:"800"}),"\n",(0,e.jsxs)(i.p,{children:[(0,e.jsx)(i.strong,{children:"echo"})," daha \xe7ok dosyalar\u0131n i\xe7erisine veri yaz\u0131l\u0131rken kullan\u0131l\u0131r."]}),"\n",(0,e.jsx)(i.p,{children:'\xd6rne\u011fin a\u015fa\u011f\u0131daki gibi bir ifade, file.txt dosyas\u0131n\u0131n en son sat\u0131r\u0131na "yeni veri" string\'ini ekler.'}),"\n",(0,e.jsx)(i.pre,{children:(0,e.jsx)(i.code,{className:"language-bash",children:'\techo "yeni veri" >> file.txt\n'})}),"\n",(0,e.jsxs)(i.p,{children:["E\u011fer hali haz\u0131rda bulunan dosyadaki t\xfcm verileri silmek ve yerine yazmak istersek ",(0,e.jsx)(i.strong,{children:'">"'})," diyebiliriz."]}),"\n",(0,e.jsx)(i.pre,{children:(0,e.jsx)(i.code,{className:"language-bash",children:'\techo "hepsini sil yerine yaz" > file.txt\n'})}),"\n",(0,e.jsx)(i.hr,{}),"\n",(0,e.jsx)(i.h3,{children:"less"}),"\n",(0,e.jsx)(i.p,{children:"Dosya i\xe7eri\u011fini vim'e benzer bir \u015fekilde g\xf6r\xfcntelememizi sa\u011flayan bir programd\u0131r."}),"\n",(0,e.jsx)(i.pre,{children:(0,e.jsx)(i.code,{className:"language-bash",children:"\tless dosya_adi\n"})}),"\n",(0,e.jsx)(a,{alt:"less",src:"/images/hafta1/12.png",width:"800"}),"\n",(0,e.jsx)("hr",{}),"\n",(0,e.jsx)(i.h3,{children:"mkdir [make directory]"}),"\n",(0,e.jsx)(i.p,{children:"Dizin (klas\xf6r) olu\u015fturmak amac\u0131yla kullan\u0131l\u0131r. Ayn\u0131 anda birden fazla klas\xf6r olu\u015fturulabilir."}),"\n",(0,e.jsx)(i.p,{children:"Hatta ayn\u0131 anda i\xe7 i\xe7e klas\xf6rler de direkt olarak tek komutta olu\u015fturulabilir."}),"\n",(0,e.jsx)(i.pre,{children:(0,e.jsx)(i.code,{className:"language-bash",children:"\tmkdir klasor_adi\n"})}),"\n",(0,e.jsx)(a,{alt:"mkdir",src:"/images/hafta1/13.png",width:"800"}),"\n",(0,e.jsx)("hr",{}),"\n",(0,e.jsx)(i.h3,{children:"mv [move]"}),"\n",(0,e.jsx)(i.p,{children:"Dosya ya da dizinlerin ta\u015f\u0131nmas\u0131n\u0131 sa\u011flar."}),"\n",(0,e.jsx)(i.p,{children:(0,e.jsx)(i.em,{children:"Bu arada, GNU/Linux'da dosya ve dizin ayn\u0131 \u015feydir, buna ileride de\u011finece\u011fiz."})}),"\n",(0,e.jsx)(i.pre,{children:(0,e.jsx)(i.code,{className:"language-bash",children:"\tmv pamuk_seker tatli_bisey/\n"})}),"\n",(0,e.jsx)(a,{alt:"mv",src:"/images/hafta1/14.png",width:"800"}),"\n",(0,e.jsx)("hr",{}),"\n",(0,e.jsx)(i.h3,{children:"cp [copy]"}),"\n",(0,e.jsx)(i.p,{children:"Dosya ya da dizinlerin kopyalanmas\u0131 sa\u011flar."}),"\n",(0,e.jsx)(i.pre,{children:(0,e.jsx)(i.code,{className:"language-bash",children:"\tcp dosya dosya.backup\n"})}),"\n",(0,e.jsxs)(i.p,{children:[(0,e.jsx)(i.strong,{children:'"-r"'})," parametresi ise dizinlerin kopyalanmas\u0131 sa\u011flan\u0131rken kullan\u0131l\u0131r."]}),"\n",(0,e.jsx)(i.pre,{children:(0,e.jsx)(i.code,{className:"language-bash",children:"\tcp -r sutlac/ tatli_bisey/\n"})}),"\n",(0,e.jsx)(a,{alt:"cp",src:"/images/hafta1/15.png",width:"800"}),"\n",(0,e.jsx)("hr",{}),"\n",(0,e.jsx)(i.h3,{children:"rm [remove]"}),"\n",(0,e.jsx)(i.p,{children:"Dosya ya da dizinlerin silinmesi amac\u0131yla kullan\u0131l\u0131r."}),"\n",(0,e.jsx)(i.pre,{children:(0,e.jsx)(i.code,{className:"language-bash",children:"\trm dosya\n"})}),"\n",(0,e.jsx)(i.pre,{children:(0,e.jsx)(i.code,{className:"language-bash",children:"\trm -r dizin/\n"})}),"\n",(0,e.jsx)(i.p,{children:"\xd6rne\u011fin a\u015fa\u011f\u0131daki gibi t\xfcm sistemi tek bir komut ile silebilirsiniz. Lakin bu komutun bir \xe7ok GNU/Linux da\u011f\u0131t\u0131m\u0131nda \xe7al\u0131\u015ft\u0131r\u0131lmas\u0131 engellidir."}),"\n",(0,e.jsx)(i.pre,{children:(0,e.jsx)(i.code,{className:"language-bash",children:"\trm -rf /\n"})}),"\n",(0,e.jsx)(a,{alt:"sil cnm",src:"/images/hafta1/16.png",width:"800"}),"\n",(0,e.jsx)("hr",{}),"\n",(0,e.jsx)(i.h3,{children:"wget"}),"\n",(0,e.jsx)(i.p,{children:"Wget; internet protokolleri \xfczerinden dosya indirme arac\u0131d\u0131r."}),"\n",(0,e.jsx)(i.pre,{children:(0,e.jsx)(i.code,{className:"language-bash",children:"\twget https://raw.githubusercontent.com/PauSiber/gnulinux/master/hafta1/hafta1.md\n"})}),"\n",(0,e.jsx)(a,{alt:"wget",src:"/images/hafta1/17.png",width:"800"}),"\n",(0,e.jsx)("hr",{}),"\n",(0,e.jsx)(i.h3,{children:"!!"}),"\n",(0,e.jsx)(i.p,{children:"Son komutu tekrar y\xfcr\xfct\xfcr."}),"\n",(0,e.jsx)(a,{alt:"!!-elif-hocama-selamlar",src:"/images/hafta1/18.png",width:"800"}),"\n",(0,e.jsx)("hr",{}),"\n",(0,e.jsx)(i.h3,{children:"history"}),"\n",(0,e.jsx)(i.p,{children:"\xd6nceden y\xfcr\xfct\xfclen komutlar\u0131 listeli halde g\xf6sterir."}),"\n",(0,e.jsx)(i.pre,{children:(0,e.jsx)(i.code,{className:"language-bash",children:"\thistory\n"})}),"\n",(0,e.jsx)(i.p,{children:"Daha d\xfczenli \u015fekilde g\xf6rebilmek a\u015fa\u011f\u0131daki gibi bir komut y\xfcr\xfctebilirsiniz."}),"\n",(0,e.jsx)(i.pre,{children:(0,e.jsx)(i.code,{className:"language-bash",children:"\thistory | less\n"})}),"\n",(0,e.jsx)(a,{alt:"history",src:"/images/hafta1/19.png",width:"800"}),"\n",(0,e.jsx)("hr",{}),"\n",(0,e.jsx)(i.h2,{children:"Bir Ka\xe7 K\u0131sa Yol"}),"\n",(0,e.jsxs)(i.p,{children:[(0,e.jsx)(i.strong,{children:"ctrl + a"})," ile terminalde yaz\u0131l\u0131 olan ifadenin ",(0,e.jsx)(i.strong,{children:"ilk ba\u015f\u0131na"})," gidilir."]}),"\n",(0,e.jsxs)(i.p,{children:[(0,e.jsx)(i.strong,{children:"ctrl + e"})," ile terminalde yaz\u0131l\u0131 olan ifadenin ",(0,e.jsx)(i.strong,{children:"en sonuna"})," gidilir."]}),"\n",(0,e.jsxs)(i.p,{children:[(0,e.jsx)(i.strong,{children:"ctrl + l"})," ile terminal ",(0,e.jsx)(i.strong,{children:"temizlenir"}),"."]}),"\n",(0,e.jsxs)(i.p,{children:[(0,e.jsx)(i.strong,{children:"ctrl + d"})," ile terminalden ",(0,e.jsx)(i.strong,{children:"\xe7\u0131k\u0131\u015f"})," sa\u011flan\u0131r."]}),"\n",(0,e.jsxs)(i.p,{children:[(0,e.jsx)(i.strong,{children:"ctrl + shift + c"})," ile ",(0,e.jsx)(i.strong,{children:"kopyalama"})," yap\u0131l\u0131r."]}),"\n",(0,e.jsxs)(i.p,{children:[(0,e.jsx)(i.strong,{children:"ctrl + shift + v"})," ile ",(0,e.jsx)(i.strong,{children:"yap\u0131\u015ft\u0131rma"})," yap\u0131l\u0131r."]}),"\n",(0,e.jsxs)(i.p,{children:[(0,e.jsx)(i.strong,{children:"ctrl + c"})," ile \xe7al\u0131\u015fan uygulama ",(0,e.jsx)(i.strong,{children:"durdurulabilir"}),"."]}),"\n",(0,e.jsxs)(i.p,{children:[(0,e.jsx)(i.strong,{children:"ctrl + z"})," \xe7al\u0131\u015fan uygulama ",(0,e.jsx)(i.strong,{children:"arkaya at\u0131l\u0131r"}),"."]}),"\n",(0,e.jsxs)(i.p,{children:[(0,e.jsx)(i.strong,{children:"ctrl + u"})," o anda ",(0,e.jsx)(i.strong,{children:"sat\u0131ra yaz\u0131lan her\u015feyi siler"}),", temizler."]}),"\n",(0,e.jsx)("hr",{}),"\n",(0,e.jsx)(i.h2,{children:"Terminal'de \xc7al\u0131\u015fan Metin Edit\xf6rleri"}),"\n",(0,e.jsx)(i.h4,{children:"nano"}),"\n",(0,e.jsx)(a,{alt:"nano",src:"/images/hafta1/20.png",width:"800"}),"\n",(0,e.jsx)(i.h4,{children:"vim"}),"\n",(0,e.jsx)(a,{alt:"vim",src:"/images/hafta1/21.png",width:"800"}),"\n",(0,e.jsx)("hr",{}),"\n",(0,e.jsx)(i.h2,{children:"GNU/Linux'da Dosya Sistem Hiyerar\u015fisi"}),"\n",(0,e.jsx)(i.p,{children:"UNIX tabanl\u0131 ya da esinlenilmi\u015f i\u015fletim sistemlerinin dosya sistem hiyerar\u015fisi Windows i\u015fletim sisteminden olduk\xe7a farkl\u0131d\u0131r."}),"\n",(0,e.jsx)(a,{alt:"windows-my-computer",src:"/images/hafta1/23.png",width:"800"}),"\n",(0,e.jsx)(a,{alt:"windows-my-computer",src:"/images/hafta1/24.png",width:"800"}),"\n",(0,e.jsxs)(i.p,{children:["GNU/Linux sistemlerde bir dosya dizin hiyerar\u015fisi vard\u0131r. Bu hiyerar\u015finin en \xfcst\xfcnde ",(0,e.jsx)(i.strong,{children:'"/"'})," yani ",(0,e.jsx)(i.strong,{children:"root(k\xf6k)"})," dizini bulunur. Bu, t\xfcm sistemin referans noktas\u0131d\u0131r."]}),"\n",(0,e.jsx)(a,{alt:"dosya-sistem-hiyerar\u015fisi",src:"/images/hafta1/22.png",width:"800"}),"\n",(0,e.jsx)(i.h4,{children:"/ [root(k\xf6k) dizini]"}),"\n",(0,e.jsx)(i.p,{children:"T\xfcm dizinlerin \xfczerinde bulunan dizindir. T\xfcm dizinler buradan dallanarak olu\u015fturulur."}),"\n",(0,e.jsx)(i.h4,{children:"/bin"}),"\n",(0,e.jsx)(i.p,{children:"Sistemin temel komutlar\u0131n\u0131n bulundu\u011fu dizindir."}),"\n",(0,e.jsxs)(i.p,{children:["Kulland\u0131\u011f\u0131m\u0131z \xe7o\u011fu komut bu dizin alt\u0131nda bulunur. ",(0,e.jsx)(i.strong,{children:"(cat, mkdir, cp, ls, mv, rm )"})]}),"\n",(0,e.jsx)(i.h4,{children:"/etc"}),"\n",(0,e.jsx)(i.p,{children:"Sistemin b\xfct\xfcn yap\u0131land\u0131rma dosyalar\u0131 bu dizin alt\u0131nda bulunur. Yap\u0131land\u0131rma dosyas\u0131; bir program\u0131n i\u015fleyi\u015fini kontrol etmek i\xe7in kullan\u0131lan yerel bir dosyad\u0131r."}),"\n",(0,e.jsx)(i.h4,{children:"/home"}),"\n",(0,e.jsx)(i.p,{children:"Kullan\u0131c\u0131lar\u0131n kay\u0131tl\u0131 dosyalar\u0131n\u0131, ki\u015fisel ayarlar\u0131n\u0131 vb. i\xe7eren ev dizinleridir.\nWindows'daki Documents and Settings'e benzetebiliriz. Her bir yeni kullan\u0131c\u0131 i\xe7in alt dizin olarak alt\u0131na olu\u015fturulur."}),"\n",(0,e.jsx)(i.pre,{children:(0,e.jsx)(i.code,{className:"language-bash",children:"- /home\n\t|-----\x3e dev\n\t|-----\x3e hasantezcan \n\t|-----\x3e boratanr\u0131kulu\n"})}),"\n",(0,e.jsx)(i.h4,{children:"/root"}),"\n",(0,e.jsx)(i.p,{children:"Root kullan\u0131c\u0131s\u0131n\u0131n home dizinidir. Di\u011fer home dizinlerinden bi fark\u0131 yoktur."}),"\n",(0,e.jsx)(i.h4,{children:"/lib"}),"\n",(0,e.jsxs)(i.p,{children:["Kernel mod\xfclleri ve payla\u015f\u0131lan k\xfct\xfcphane dosyalar\u0131 bu klas\xf6rde bulunur. Var olan \xe7ekirdek mod\xfcllerini ",(0,e.jsx)(i.strong,{children:"/lib/modules/[versiyon_numaras\u0131]"})," i\xe7erisinde bulabilirsiniz."]}),"\n",(0,e.jsx)(i.h4,{children:"/var"}),"\n",(0,e.jsxs)(i.p,{children:["Sistem de\u011fi\u015fkenlerini saklar. Home dizini kullan\u0131c\u0131lar\u0131n dosyalar\u0131n\u0131 depolarken, ",(0,e.jsx)(i.strong,{children:"/var"})," dizini i\xe7inde de programlar\u0131n olu\u015fturdu\u011fu veriler tutulur."]}),"\n",(0,e.jsx)(i.h4,{children:"/opt"}),"\n",(0,e.jsxs)(i.p,{children:['GNU/Linux dosya dizin hiyerar\u015fisine uymayan programlar\u0131n kuruldu\u011fu dizindir. Hen\xfcz sizlere bahsetmedi\u011fimiz "Ba\u011f\u0131ml\u0131l\u0131k" kavram\u0131na uymayan bu programlar sistemden yal\u0131t\u0131lm\u0131\u015f halde ',(0,e.jsx)(i.strong,{children:"/opt"})," dizini alt\u0131ndan \xe7al\u0131\u015fmay\u0131 s\xfcrd\xfcr\xfcr."]}),"\n",(0,e.jsx)(a,{alt:"opt",src:"/images/hafta1/25.png",width:"800"}),"\n",(0,e.jsxs)(i.p,{children:[(0,e.jsx)(i.strong,{children:"Not :"})," GNU/Linux sistemlerde ",(0,e.jsx)(i.strong,{children:"her zaman bir dizin i\xe7ersinde bulunursunuz."})," Yani a\u011fa\xe7 yap\u0131s\u0131n\u0131n d\u0131\u015f\u0131na \xe7\u0131kamazs\u0131n\u0131z."]}),"\n",(0,e.jsx)("hr",{}),"\n",(0,e.jsxs)(i.p,{children:["Bir dosyan\u0131n yeri tarif ederken kullan\u0131d\u0131\u011f\u0131m\u0131z iki t\xfcrl\xfc yol vard\u0131r. Bunlar ",(0,e.jsx)(i.strong,{children:"Tam Yol"})," ve ",(0,e.jsx)(i.strong,{children:"G\xf6receli Yol"})," dur."]}),"\n",(0,e.jsxs)(i.p,{children:[(0,e.jsx)(i.strong,{children:"Tam Yol :"})," Her zaman ",(0,e.jsx)(i.strong,{children:"root"})," dizininden ba\u015flar ve hedef g\xf6sterdi\u011fimiz dizine kadar devam eder. Bu komutu hangi dizinde olursak olal\u0131m \xe7al\u0131\u015ft\u0131rd\u0131\u011f\u0131m\u0131zda sonu\xe7 al\u0131r\u0131z. \xc7\xfcnk\xfc bu tarif hi\xe7bir zaman de\u011fi\u015fmez. Bunun nedeni de referans ald\u0131\u011f\u0131 ilk yolun root olmas\u0131d\u0131r."]}),"\n",(0,e.jsxs)(i.p,{children:[(0,e.jsx)(i.strong,{children:"G\xf6receli Yol :"})," Bu tarifin her zaman ge\xe7erlili\u011fi yoktur. \u0130\xe7ersinde bulununan dizine g\xf6re de\u011fi\u015fiklik g\xf6sterir."]}),"\n",(0,e.jsx)("hr",{}),"\n",(0,e.jsx)(i.h2,{children:"Paket Y\xf6neticisi Nedir ?"}),"\n",(0,e.jsx)(i.p,{children:"Hadi \u015fimdi gidip Windows bir sistemde deneme ama\xe7l\u0131 bir uygulama kural\u0131m. \xd6rnek olmas\u0131 a\xe7\u0131s\u0131ndan firefox kurulumu yapal\u0131m."}),"\n",(0,e.jsx)(i.p,{children:"Kurulum i\xe7in ilk olarak browser a\xe7\u0131lmal\u0131, ilgili site bulunmal\u0131, ilgili exe dosyas\u0131 sisteme indirilip, \xe7al\u0131\u015ft\u0131r\u0131lmal\u0131 ve ard\u0131ndan kurulum ad\u0131mlar\u0131 uygulanmal\u0131d\u0131r."}),"\n",(0,e.jsx)(i.p,{children:(0,e.jsx)(i.strong,{children:"Ne kadar ilkelce de\u011fil mi ?"})}),"\n",(0,e.jsxs)(i.p,{children:["GNU/Linux da\u011f\u0131t\u0131mlar\u0131nda b\xf6yle bir \u015fey yok arkada\u015flar. Paket y\xf6neticisi diye bir kavram var. Paket y\xf6neticisi ile tek bir komut ile istedi\u011finiz uygulamay\u0131 kulland\u0131\u011f\u0131n\u0131z da\u011f\u0131t\u0131m\u0131n ",(0,e.jsx)(i.strong,{children:"repo"}),"'lar\u0131ndan direkt olarak \xe7ekip kurabilirsiniz."]}),"\n",(0,e.jsx)(i.p,{children:"Paket y\xf6neticisi yaln\u0131zca bir programd\u0131r ama da\u011f\u0131t\u0131mdan da\u011f\u0131t\u0131ma farkl\u0131l\u0131k g\xf6sterir, her paket y\xf6neticisini her da\u011f\u0131t\u0131mda kullanamazs\u0131n\u0131z."}),"\n",(0,e.jsx)(i.p,{children:"\xd6rne\u011fin Debian'dan t\xfcremi\u015f olan Ubuntu, APT isimli bir paket y\xf6neticisi kullan\u0131r."}),"\n",(0,e.jsx)(i.p,{children:"Yani Debian tabanl\u0131 da\u011f\u0131t\u0131mlarda APT paket y\xf6neticisi kullan\u0131l\u0131r."}),"\n",(0,e.jsx)(i.p,{children:"APT d\u0131\u015f\u0131nda, debian tabanl\u0131 olmayadan da\u011f\u0131t\u0131mlarda kullan\u0131lan, bir\xe7ok paket y\xf6neticisi vard\u0131r."}),"\n",(0,e.jsxs)(i.ul,{children:["\n",(0,e.jsxs)(i.li,{children:["dnf(yum) ",(0,e.jsx)(i.strong,{children:"fedora"})]}),"\n",(0,e.jsxs)(i.li,{children:["pacman ",(0,e.jsx)(i.strong,{children:"archlinux"})]}),"\n",(0,e.jsxs)(i.li,{children:["portage ",(0,e.jsx)(i.strong,{children:"gentoo"})]}),"\n",(0,e.jsxs)(i.li,{children:["zypper ",(0,e.jsx)(i.strong,{children:"opensuse"})]}),"\n"]}),"\n",(0,e.jsx)(i.p,{children:"Paket y\xf6neticilerinin kullan\u0131mlar\u0131 farkl\u0131l\u0131k g\xf6sterebilir. Ancak temelde b\xfct\xfcn paket y\xf6neticileri ayn\u0131 i\u015fi yaparlar."}),"\n",(0,e.jsx)(i.p,{children:"Hadi \u015fimdi bir de terminal \xfczerinden firefox kurulumunu ger\xe7ekle\u015ftirelim. Bunun i\xe7in a\u015fa\u011f\u0131daki komutu y\xfcr\xfctmemiz yeterlidir."}),"\n",(0,e.jsx)(i.pre,{children:(0,e.jsx)(i.code,{className:"language-bash",children:"\tsudo apt install firefox\n"})}),"\n",(0,e.jsx)(a,{alt:"apt",src:"/images/hafta1/28.png",width:"800"}),"\n",(0,e.jsx)(i.p,{children:"\u015eimdi bu komutu inceleyelim.."}),"\n",(0,e.jsx)(a,{alt:"apt",src:"/images/hafta1/29.png",width:"800"}),"\n",(0,e.jsxs)(i.p,{children:["Burada ",(0,e.jsx)(i.strong,{children:"sudo"})," ifadesini kullanma sebebimiz i\u015flemin sistem dosyalar\u0131 \xfczerinde ger\xe7ekle\u015fiyor olmas\u0131. Bu y\xfczden komutun root yetkisi ile \xe7al\u0131\u015fmas\u0131 i\xe7in komutun ba\u015f\u0131na ",(0,e.jsx)(i.strong,{children:"sudo"})," ifadesini ekledik."]}),"\n",(0,e.jsx)(i.p,{children:"G\xf6rd\xfc\u011f\xfcn\xfcz gibi kullan\u0131m\u0131 olduk\xe7a basit. APT paket y\xf6neticisinin parametreleri ile ilgili bilgiye a\u015fa\u011f\u0131daki tablodan eri\u015febilirisiniz."}),"\n",(0,e.jsxs)(i.p,{children:["Tablo ba\u015flang\u0131\xe7ta olduk\xe7a korkun\xe7 g\xf6z\xfckecektir ama paket y\xf6neticisi kulland\u0131k\xe7a al\u0131\u015faca\u011f\u0131n\u0131z\u0131n garantisini veririz ",(0,e.jsx)(i.strong,{children:":)"})," ."]}),"\n",(0,e.jsxs)(i.table,{children:[(0,e.jsx)(i.thead,{children:(0,e.jsxs)(i.tr,{children:[(0,e.jsx)(i.th,{align:"center",children:"APT"}),(0,e.jsx)(i.th,{align:"center",children:"A\xe7\u0131klama"})]})}),(0,e.jsxs)(i.tbody,{children:[(0,e.jsxs)(i.tr,{children:[(0,e.jsxs)(i.td,{align:"center",children:["apt search ",(0,e.jsx)(i.strong,{children:"packageName"})]}),(0,e.jsx)(i.td,{align:"center",children:"paket arar"})]}),(0,e.jsxs)(i.tr,{children:[(0,e.jsxs)(i.td,{align:"center",children:["apt install ",(0,e.jsx)(i.strong,{children:"packageName"})]}),(0,e.jsx)(i.td,{align:"center",children:"paket y\xfckler"})]}),(0,e.jsxs)(i.tr,{children:[(0,e.jsxs)(i.td,{align:"center",children:["apt remove ",(0,e.jsx)(i.strong,{children:"packageName"})]}),(0,e.jsx)(i.td,{align:"center",children:"paket siler"})]}),(0,e.jsxs)(i.tr,{children:[(0,e.jsx)(i.td,{align:"center",children:"apt autoremove"}),(0,e.jsx)(i.td,{align:"center",children:"herhangi bir pakete ba\u011fl\u0131 olmayan gereksiz paketleri siler"})]}),(0,e.jsxs)(i.tr,{children:[(0,e.jsx)(i.td,{align:"center",children:"apt update"}),(0,e.jsx)(i.td,{align:"center",children:"repo paket bilgilerini g\xfcnceller"})]}),(0,e.jsxs)(i.tr,{children:[(0,e.jsx)(i.td,{align:"center",children:"apt update && apt upgrade"}),(0,e.jsx)(i.td,{align:"center",children:"y\xfckl\xfc paketleri g\xfcnceller"})]}),(0,e.jsxs)(i.tr,{children:[(0,e.jsx)(i.td,{align:"center",children:"apt update && apt dist-upgrade"}),(0,e.jsx)(i.td,{align:"center",children:"sistemin tam g\xfcncellemesini yapar"})]}),(0,e.jsxs)(i.tr,{children:[(0,e.jsxs)(i.td,{align:"center",children:["apt install \u2013download-only ",(0,e.jsx)(i.strong,{children:"packageName"})]}),(0,e.jsx)(i.td,{align:"center",children:"paketi yaln\u0131zca indirir (paket y\xf6neticisi cache konumuna)"})]}),(0,e.jsxs)(i.tr,{children:[(0,e.jsx)(i.td,{align:"center",children:"ls /var/cache/apt/archives/"}),(0,e.jsx)(i.td,{align:"center",children:"paket y\xf6neticisi cache'ni g\xf6r\xfcnt\xfcler"})]}),(0,e.jsxs)(i.tr,{children:[(0,e.jsxs)(i.td,{align:"center",children:["apt install ",(0,e.jsx)(i.strong,{children:"/path/to/packageName.deb"})]}),(0,e.jsx)(i.td,{align:"center",children:"paketi dosya ile y\xfckler"})]}),(0,e.jsxs)(i.tr,{children:[(0,e.jsx)(i.td,{align:"center",children:"tail -f /var/log/dpkg.log"}),(0,e.jsx)(i.td,{align:"center",children:"paket y\xf6neticisi log'lar\u0131n\u0131 g\xf6sterir"})]}),(0,e.jsxs)(i.tr,{children:[(0,e.jsxs)(i.td,{align:"center",children:["apt show ",(0,e.jsx)(i.strong,{children:"packageName"})]}),(0,e.jsx)(i.td,{align:"center",children:"repo'daki bir paketin bilgisini g\xf6sterir"})]}),(0,e.jsxs)(i.tr,{children:[(0,e.jsxs)(i.td,{align:"center",children:["dpkg -s ",(0,e.jsx)(i.strong,{children:"packageName"})]}),(0,e.jsx)(i.td,{align:"center",children:"y\xfckl\xfc olan bir paketin bilgisini g\xf6sterir"})]}),(0,e.jsxs)(i.tr,{children:[(0,e.jsxs)(i.td,{align:"center",children:["dpkg -L ",(0,e.jsx)(i.strong,{children:"packageName"})]}),(0,e.jsx)(i.td,{align:"center",children:"y\xfckl\xfc olan paketin dosyalar\u0131n\u0131n konumlar\u0131n\u0131 g\xf6sterir"})]}),(0,e.jsxs)(i.tr,{children:[(0,e.jsx)(i.td,{align:"center",children:"apt-cache policy"}),(0,e.jsx)(i.td,{align:"center",children:"paket kaynak adreslerini listeler"})]})]})]}),"\n",(0,e.jsx)("hr",{}),"\n",(0,e.jsx)(i.h2,{children:"REPO Kavram\u0131 Nedir ?"}),"\n",(0,e.jsx)(i.p,{children:"Az \xf6nce paket y\xf6neticisi ile birlikte uygulamalar\u0131n nas\u0131l kurulaca\u011f\u0131n\u0131 \xf6\u011frendik."}),"\n",(0,e.jsxs)(i.p,{children:[(0,e.jsx)(i.strong,{children:"Peki bu paketler nereden geliyor.."})," \u0130\u015fte burada REPO kavram\u0131 ortaya \xe7\u0131k\u0131yor. Her da\u011f\u0131t\u0131m\u0131n kendisine ait bir REPO'su vard\u0131r. Paket y\xf6neticisi ile indirilip kurulan uygulamalar bu REPO'lardan gelir."]}),"\n",(0,e.jsx)(i.p,{children:"REPO adreslerini a\u015fa\u011f\u0131daki gibi g\xf6r\xfcnt\xfcleyebiliriz. Ama l\xfctfen bu dosyalar\u0131 bir bilginiz yok ise de\u011fi\u015ftirmeyin."}),"\n",(0,e.jsx)(i.pre,{children:(0,e.jsx)(i.code,{className:"language-bash",children:"\tvim /etc/apt/source.list\n"})}),"\n",(0,e.jsxs)(i.p,{children:["PauSiber Dev'de REPO olarak ",(0,e.jsx)(i.a,{href:"http://archive.ubuntu.com/ubuntu/",children:"http://archive.ubuntu.com/ubuntu/"})," kullan\u0131lmaktad\u0131r."]}),"\n",(0,e.jsx)(a,{alt:"repo",src:"/images/hafta1/30.png",width:"800"}),"\n",(0,e.jsx)("hr",{}),"\n",(0,e.jsx)(i.h2,{children:"REPO'da Olmayan Uygulamalar"}),"\n",(0,e.jsx)(i.p,{children:"REPO'larda yaln\u0131zca a\xe7\u0131k kaynak uygulamalar bulunabilir. \xd6rne\u011fin Google Chrome kapal\u0131 kaynak bir uygulamad\u0131r. Bu durumda ne yapaca\u011f\u0131z ?"}),"\n",(0,e.jsxs)(i.p,{children:[(0,e.jsx)(i.strong,{children:"Not :"})," Chromium a\xe7\u0131k kaynak oldu\u011fu i\xe7in REPO'larda mevcuttur."]}),"\n",(0,e.jsx)(i.p,{children:"E\u011fer REPO'larda bulunmayan bir uygulama kurulacak ise ilk yap\u0131lmas\u0131 gereken, uygulaman\u0131n da\u011f\u0131t\u0131c\u0131n\u0131n sitesinden hangi \u015fekilde edinilmesi gerekti\u011fine bakmakt\u0131r. \xc7\xfcnk\xfc bir\xe7ok farkl\u0131 \u015fekilde da\u011f\u0131t\u0131l\u0131yor olabilir."}),"\n",(0,e.jsxs)(i.p,{children:["\xd6rne\u011fin Google Chrome i\xe7in bir ",(0,e.jsx)(i.strong,{children:"deb"})," paketi indirmek gerekirken, Spotify kurulumu i\xe7in REPO listemize ek bir kaynak adresi eklememiz gerekir."]}),"\n",(0,e.jsx)(i.p,{children:"Bu y\xfczden l\xfctfen d\u0131\u015far\u0131dan bir uygulama kuracaksan\u0131z, forumlara ya da youtube'a bakmak yerine, da\u011f\u0131t\u0131c\u0131n\u0131n sitesinden bak\u0131n. Orada kesinlikle bir bilgi olacakt\u0131r."}),"\n",(0,e.jsx)(a,{alt:"chrome",src:"/images/hafta1/31.png",width:"800"}),"\n",(0,e.jsx)(a,{alt:"spotify",src:"/images/hafta1/32.png",width:"800"}),"\n",(0,e.jsx)("hr",{}),"\n",(0,e.jsx)(i.h2,{children:"Bu hafta neler yapt\u0131k ?"}),"\n",(0,e.jsxs)(i.ul,{children:["\n",(0,e.jsxs)(i.li,{children:[(0,e.jsx)(i.strong,{children:"Terminalin ne oldu\u011funu"})," ve neden kullanmam\u0131z gerekti\u011fini \xf6\u011frendik."]}),"\n",(0,e.jsxs)(i.li,{children:[(0,e.jsx)(i.strong,{children:"Temel komutlar"})," ile terminal kullan\u0131m\u0131na ilk ad\u0131m\u0131 att\u0131k."]}),"\n",(0,e.jsxs)(i.li,{children:["Terminal \xfczerinde kullanabilece\u011fimiz ",(0,e.jsx)(i.strong,{children:"yararl\u0131 k\u0131sayollar"}),"\u0131 \xf6\u011frendik."]}),"\n",(0,e.jsxs)(i.li,{children:["Terminal \xfczerinde \xe7al\u0131\u015fan ",(0,e.jsx)(i.strong,{children:"metin edit\xf6rleri"}),"ni denedik."]}),"\n",(0,e.jsxs)(i.li,{children:["GNU/Linux\u2019da ",(0,e.jsx)(i.strong,{children:"dosya sistem hiyerar\u015fisi"}),"nin nas\u0131l oldu\u011funu temel d\xfczeyde \xf6\u011frendik."]}),"\n",(0,e.jsxs)(i.li,{children:[(0,e.jsx)(i.strong,{children:"Paket Y\xf6neticisi"})," ve ",(0,e.jsx)(i.strong,{children:"REPO"})," kavramlar\u0131n\u0131 \xf6\u011frendik."]}),"\n"]})]})},a=Object.assign({},(0,t.ah)(),n.components),r=a.wrapper;return r?(0,e.jsx)(r,h({},n,{children:(0,e.jsx)(i,{})})):i()}var u=(0,e.jsx)(c,{});function o(n,i){throw new Error("Expected "+(i?"component":"object")+" `"+n+"` to be defined: you likely forgot to import, pass, or provide it.")}function m(n){return(0,l.withSSG)((0,r.Z)({filename:"hafta-bir.mdx",route:"/haftalar/hafta-bir",meta:{title:"Hafta 1",date:"2022/5/5",description:"Linux'a giri\u015f.",tag:"gnu/linux",author:"Enes Kaya"},pageMap:[{name:"haftalar",children:[{name:"hafta-bir",route:"/haftalar/hafta-bir",frontMatter:{title:"Hafta 1",date:"2022/5/5",description:"Linux'a giri\u015f.",tag:"gnu/linux",author:"Enes Kaya"}},{name:"hafta-iki",route:"/haftalar/hafta-iki",frontMatter:{title:"Hafta 2",date:"2021/5/5",description:"Linux'ta kullan\u0131c\u0131-grup y\xf6netimini ve dosya-dizin izinlerini kavratmak.",tag:"gnu/linux",author:"Enes Kaya"}},{name:"hafta-sifir",route:"/haftalar/hafta-sifir",frontMatter:{title:"Hafta 0",date:"2023/5/5",description:"Linux'un genel bir tan\u0131m\u0131. Gerekli kurulumlar\u0131n ger\xe7ekle\u015ftirilmesi.",tag:"gnu/linux",author:"Enes Kaya"}},{name:"hafta-uc",route:"/haftalar/hafta-uc",frontMatter:{title:"Hafta 3",date:"2020/5/5",description:"Server kavram\u0131n\u0131n a\xe7\u0131klanmas\u0131, SSH Kullan\u0131m\u0131, Zamanlanm\u0131\u015f g\xf6revler olu\u015fturulmas\u0131.",tag:"gnu/linux",author:"Enes Kaya"}},{name:"index",route:"/haftalar",frontMatter:{type:"posts",title:"Haftalar",date:"2021-03-18T00:00:00.000Z"}}],route:"/haftalar"},{name:"index",route:"/",frontMatter:{type:"page",title:"Hakk\u0131nda",date:"2021-03-19T00:00:00.000Z"}},{name:"tags",children:[{name:"[tag]",route:"/tags/[tag]",frontMatter:{type:"tag",title:"Tagged Posts"}}],route:"/tags"}]},s.Z))(h({},n,{children:u}))}}},function(n){n.O(0,[774,353,888,179],(function(){return i=8232,n(n.s=i);var i}));var i=n.O();_N_E=i}]); \ No newline at end of file diff --git a/_next/static/chunks/pages/haftalar/hafta-bir-d2eace3919b4a485.js b/_next/static/chunks/pages/haftalar/hafta-bir-d2eace3919b4a485.js new file mode 100644 index 0000000..db46403 --- /dev/null +++ b/_next/static/chunks/pages/haftalar/hafta-bir-d2eace3919b4a485.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[189],{8232:function(n,a,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/haftalar/hafta-bir",function(){return i(8325)}])},7845:function(n,a,i){"use strict";var e=i(5893),r=i(5988),l=(new Date).getFullYear();a.Z={footer:(0,e.jsxs)("small",{style:{display:"block",marginTop:"8rem"},className:"jsx-7c359fde634f3543",children:[(0,e.jsx)("time",{className:"jsx-7c359fde634f3543",children:l})," \xa9 PauSiber",(0,e.jsx)(r.default,{id:"7c359fde634f3543",children:"a.jsx-7c359fde634f3543{float:right}\n@media screen and (max-width:480px) {article.jsx-7c359fde634f3543{padding-top:2rem;\npadding-bottom:4rem}}"})]})}},8325:function(n,a,i){"use strict";i.r(a),i.d(a,{default:function(){return m}});var e=i(5893),r=i(8616),l=i(3805),s=i(7845),t=i(1151);function d(n,a,i){return a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}function h(n){for(var a=1;a0&&void 0!==arguments[0]?arguments[0]:{},a=function(){var a=Object.assign({h1:"h1",p:"p",strong:"strong",a:"a",h2:"h2",ul:"ul",li:"li",h3:"h3",pre:"pre",code:"code",em:"em",hr:"hr",h4:"h4",table:"table",thead:"thead",tr:"tr",th:"th",tbody:"tbody",td:"td"},(0,t.ah)(),n.components),i=a.CenteredImageLightbox;return i||o("CenteredImageLightbox",!0),(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(a.h1,{children:"Hafta 1"}),"\n",(0,e.jsxs)(a.p,{children:[(0,e.jsx)(a.strong,{children:"Ama\xe7 :"})," Terminal kullan\u0131m\u0131n\u0131 kavratmak, dosya sistem hiyerar\u015fisini kavratmak, paket y\xf6neticisi kavram\u0131ndan bahsetmek."]}),"\n",(0,e.jsxs)(a.p,{children:[(0,e.jsx)(a.strong,{children:"Yazarlar :"})," ",(0,e.jsx)(a.a,{href:"https://github.com/boratanrikulu",children:(0,e.jsx)(a.strong,{children:"boratanrikulu"})})," ",(0,e.jsx)(a.strong,{children:"&&"})," ",(0,e.jsx)(a.a,{href:"https://github.com/hasantezcan",children:(0,e.jsx)(a.strong,{children:"hasantezcan"})})]}),"\n",(0,e.jsx)("hr",{}),"\n",(0,e.jsx)(a.h2,{children:"Terminal Nedir ?"}),"\n",(0,e.jsx)(a.p,{children:"Terminal, i\u015fletim sisteminizi shell ile kullanman\u0131z\u0131 sa\u011flayan bir aray\xfczd\xfcr. GNU/Linux da\u011f\u0131t\u0131mlar\u0131nda SHELL olarak genellikle BASH kabu\u011fu (shell) kullan\u0131l\u0131r."}),"\n",(0,e.jsx)(a.p,{children:"Windows'ta bunun kar\u015f\u0131l\u0131\u011f\u0131 CMD denebilir."}),"\n",(0,e.jsxs)(a.p,{children:["Windows'ta \u015fuana kadar hi\xe7 CMD'ye girmeden hayatta kalabiliyorsan\u0131z, asl\u0131nda GNU/Linux da\u011f\u0131t\u0131mlar\u0131n\u0131n ",(0,e.jsx)(a.strong,{children:"bir\xe7o\u011funda da"})," terminale hi\xe7 u\u011framadan hayatta kalabilirsiniz."]}),"\n",(0,e.jsx)(i,{alt:"cmd",src:"/images/hafta1/2.png",width:"800"}),"\n",(0,e.jsx)("hr",{}),"\n",(0,e.jsx)(a.h2,{children:"Peki neden size terminal kullan\u0131m\u0131 anlat\u0131yoruz ?"}),"\n",(0,e.jsx)(a.p,{children:"\u0130\u015fletim sistemine tamamen hakim olmak, isteklerinizi grafik aray\xfcz\xfcn\xfcn hantall\u0131\u011f\u0131na tak\u0131lmadan yapmak ve i\u015flerinizi \xe7ok daha h\u0131zl\u0131 g\xf6rmek a\xe7\u0131s\u0131ndan terminal kullan\u0131m\u0131 \xf6nemlidir."}),"\n",(0,e.jsxs)(a.p,{children:["Ayr\u0131ca mesle\u011fimiz gere\u011fi burada \xe7ok i\u015fimiz oluyor ",(0,e.jsx)(a.strong,{children:":)"}),"."]}),"\n",(0,e.jsx)(a.p,{children:"\xd6rne\u011fin en basitinden, birka\xe7 hafta i\xe7erisinde e\u011fitimini alaca\u011f\u0131n\u0131z git kullan\u0131m\u0131n\u0131n terminal \xfczerinden yap\u0131lmas\u0131 gibi. Onun d\u0131\u015f\u0131nda, yazd\u0131\u011f\u0131n\u0131z herhangi bir program\u0131 derlerken terminal kullanman\u0131z gerekti\u011fi gibi fakt\xf6rler terminal kullan\u0131m\u0131na al\u0131\u015fman\u0131z a\xe7\u0131s\u0131ndan \xf6nemlidir."}),"\n",(0,e.jsx)(a.p,{children:"Yani \u015fuan \xf6\u011frenece\u011finiz bilgiler ba\u015fta anlams\u0131z, hantal ve yava\u015f olarak g\xf6z\xfckecek olsa bile asl\u0131nda ileriki mesleki hayat\u0131n\u0131zda \xe7ok\xe7a rahat etmenizi sa\u011flayacakt\u0131r."}),"\n",(0,e.jsx)(a.p,{children:"Ne kadar erken \xf6\u011frenmeniz sizin i\xe7in o kadar iyi olacakt\u0131r."}),"\n",(0,e.jsx)("hr",{}),"\n",(0,e.jsx)(a.h2,{children:"SHELL Nedir ?"}),"\n",(0,e.jsx)(a.p,{children:"SHELL i\u015fletim sistemlerinin servislerini kullanmak amac\u0131yla kullan\u0131lan bir kullan\u0131c\u0131 arabirimidir (user interface), bir programd\u0131r."}),"\n",(0,e.jsx)(a.p,{children:"Kabuk (shell) , \xe7ekirdek ile kullan\u0131c\u0131 aras\u0131nda ara g\xf6rev g\xf6r\xfcr."}),"\n",(0,e.jsx)(a.p,{children:"Bir\xe7ok kabuk \xe7e\u015fidi vard\u0131r;"}),"\n",(0,e.jsxs)(a.ul,{children:["\n",(0,e.jsx)(a.li,{children:"sh"}),"\n",(0,e.jsx)(a.li,{children:"bash"}),"\n",(0,e.jsx)(a.li,{children:"zsh"}),"\n",(0,e.jsx)(a.li,{children:"csh"}),"\n",(0,e.jsx)(a.li,{children:"ksh"}),"\n",(0,e.jsx)(a.li,{children:"tcsh"}),"\n"]}),"\n",(0,e.jsx)(a.p,{children:"PauSiber Dev'de ise kabuk yani shell olarak ZSH kullan\u0131lmaktad\u0131r. Kabuk olarak BASH yerine ZSH kullanma sebebimiz; ZSH'\u0131n BASH'e g\xf6re daha fazla \xf6zellik i\xe7ermesi."}),"\n",(0,e.jsx)(a.p,{children:"Bi de \u015fekil filan yani .s.s.s"}),"\n",(0,e.jsx)(i,{alt:"zsh",src:"/images/hafta1/0.png",width:"800"}),"\n",(0,e.jsx)(i,{alt:"bash",src:"/images/hafta1/1.png",width:"800"}),"\n",(0,e.jsx)("hr",{}),"\n",(0,e.jsx)(a.h2,{children:"Temel Komutlar"}),"\n",(0,e.jsx)(a.p,{children:"Terminalda kullanabilece\u011finiz say\u0131s\u0131z uygulama, say\u0131s\u0131z komut var. Biz bu e\u011fitim s\u0131ras\u0131nda yaln\u0131zca temel d\xfczeyde olan komutlar\u0131 g\xf6sterece\u011fiz."}),"\n",(0,e.jsx)("hr",{}),"\n",(0,e.jsx)(a.h3,{children:"ls [list]"}),"\n",(0,e.jsx)(a.p,{children:"Herhangi bir dizinin i\xe7ini g\xf6rmek i\xe7in kulland\u0131\u011f\u0131m\u0131z komuttur."}),"\n",(0,e.jsx)(a.p,{children:"\xd6rne\u011fin terminalde a\u015fa\u011f\u0131daki gibi bir komut y\xfcr\xfct\xfcrsek, o s\u0131rada bulundu\u011fumuz dizinin i\xe7indeki t\xfcm dosya dizinlerin \xe7\u0131kt\u0131s\u0131n\u0131 g\xf6r\xfcr\xfcz."}),"\n",(0,e.jsx)(a.pre,{children:(0,e.jsx)(a.code,{className:"language-bash",children:"\tls\n"})}),"\n",(0,e.jsx)(i,{alt:"ls",src:"/images/hafta1/3.png",width:"800"}),"\n",(0,e.jsx)("hr",{}),"\n",(0,e.jsxs)(a.p,{children:["GNU/Linux'da bir dosyan\u0131n gizli olmas\u0131 i\xe7in ba\u015f\u0131na ",(0,e.jsx)(a.strong,{children:'"."'})," konmas\u0131 yeterlidir. E\u011fer bir dosyan\u0131n ba\u015f\u0131nda ",(0,e.jsx)(a.strong,{children:'"."'})," ifadesin var ise ",(0,e.jsx)(a.strong,{children:"ls"})," sorgular\u0131nda g\xf6sterilmez."]}),"\n",(0,e.jsx)(a.p,{children:"Bu y\xfczden az \xf6nce yapt\u0131\u011f\u0131m\u0131z sorguda g\xf6rd\xfcklerimiz, bulundu\u011fumuz sat\u0131rdaki t\xfcm dosya ya da dizinleri g\xf6stermedi."}),"\n",(0,e.jsxs)(a.p,{children:["Gizli dosya ve dizinler dahil t\xfcm her \u015feyi g\xf6rmek istiyor isek ",(0,e.jsx)(a.strong,{children:"--all"})," ya da ",(0,e.jsx)(a.strong,{children:"-a"})," parametresi kullanmam\u0131z gerekir."]}),"\n",(0,e.jsx)(a.p,{children:"Yani a\u015fa\u011f\u0131daki gibi bir komut y\xfcr\xfct\xfcr\xfcz."}),"\n",(0,e.jsx)(a.pre,{children:(0,e.jsx)(a.code,{className:"language-bash",children:"\tls -a\n"})}),"\n",(0,e.jsx)(i,{alt:"ls - show them all",src:"/images/hafta1/4.png",width:"800"}),"\n",(0,e.jsx)(a.p,{children:"Peki \xf6rne\u011fin bulundu\u011fumuz dizin alt\u0131nda bulunan t\xfcm dosyalar\u0131 tarihe g\xf6re s\u0131ral\u0131 \u015fekilde g\xf6r\xfcnt\xfclemek istersek ne yapmal\u0131y\u0131z ? A\u015fa\u011f\u0131daki parametreleri kullanabiliriz."}),"\n",(0,e.jsx)(a.pre,{children:(0,e.jsx)(a.code,{className:"language-bash",children:"\tls -lat\n"})}),"\n",(0,e.jsx)(i,{alt:"ls - show them all with ordering by date",src:"/images/hafta1/5.png",width:"800"}),"\n",(0,e.jsx)("hr",{}),"\n",(0,e.jsx)(a.h3,{children:"man [manual]"}),"\n",(0,e.jsx)(a.p,{children:"EE t\xfcm parametreleri b\xf6yle tek tek \xf6\u011frenecek miyiz ? Evet."}),"\n",(0,e.jsx)(a.p,{children:(0,e.jsx)(a.strong,{children:"Peki ezberleyecek miyiz ? HAYIR !"})}),"\n",(0,e.jsxs)(a.p,{children:["Kullan\u0131lan neredeyse her komutun bir manual sayfas\u0131 vard\u0131r. Bunlar\u0131 okumak i\xe7in ",(0,e.jsx)(a.strong,{children:"man"})," komutunu kullanabiliriz. \xd6rne\u011fin ",(0,e.jsx)(a.strong,{children:"ls"})," komutunun manual sayfas\u0131n\u0131 okumak i\xe7in ",(0,e.jsx)(a.strong,{children:"man ls"})," dememiz yeterlidir."]}),"\n",(0,e.jsx)(a.pre,{children:(0,e.jsx)(a.code,{className:"language-bash",children:"\tman ls\n"})}),"\n",(0,e.jsx)(a.p,{children:"Son derece detayl\u0131 olan bu manual sayfalar\u0131nda ilgili komutla ilgili t\xfcm detaya ula\u015fabilirsiniz."}),"\n",(0,e.jsxs)(a.p,{children:[(0,e.jsx)(a.strong,{children:"Not :"})," manual sayfas\u0131ndan ",(0,e.jsx)(a.strong,{children:"q"}),"'a basarak \xe7\u0131kabilirsiniz."]}),"\n",(0,e.jsx)(i,{alt:"man ls",src:"/images/hafta1/6.png",width:"800"}),"\n",(0,e.jsxs)(a.p,{children:["Ayr\u0131ca ek bir \xf6neri olarak; okuma kolayl\u0131\u011f\u0131 sa\u011flamas\u0131, aranan \u015feylere daha kolay ula\u015fma imkan\u0131 vermesi a\xe7\u0131s\u0131ndan, man kullanmak yerine ",(0,e.jsx)(a.strong,{children:"tldr"})," uygulamas\u0131n\u0131 kullanabilirsiniz."]}),"\n",(0,e.jsxs)(a.p,{children:[(0,e.jsx)(a.a,{href:"https://github.com/tldr-pages/tldr",children:(0,e.jsx)(a.strong,{children:"github.com/tldr-pages/tldr"})})," ",(0,e.jsx)(a.em,{children:(0,e.jsx)(a.code,{children:'tl;dr : "too long; didn\'t read"'})})]}),"\n",(0,e.jsx)(i,{alt:"man ls",src:"/images/hafta1/7.png",width:"800"}),"\n",(0,e.jsx)("hr",{}),"\n",(0,e.jsx)(a.h3,{children:"cd [change directory]"}),"\n",(0,e.jsx)(a.p,{children:"Bulundu\u011fumuz dizini de\u011fi\u015ftirmek i\xe7in cd komutunu kullan\u0131r\u0131z."}),"\n",(0,e.jsx)(a.pre,{children:(0,e.jsx)(a.code,{className:"language-bash",children:"\tcd Documents/\n"})}),"\n",(0,e.jsx)(i,{alt:"cd",src:"/images/hafta1/9.png",width:"800"}),"\n",(0,e.jsx)(a.p,{children:"E\u011fer bulundu\u011fumuz dizinin bir \xfcst\xfcne gitmek istiyorsak a\u015fa\u011f\u0131daki gibi yapmal\u0131y\u0131z."}),"\n",(0,e.jsx)(a.pre,{children:(0,e.jsx)(a.code,{className:"language-bash",children:"\tcd ..\n"})}),"\n",(0,e.jsx)("hr",{}),"\n",(0,e.jsx)(a.h3,{children:"pwd [print working directory]"}),"\n",(0,e.jsx)(a.p,{children:"Bu komut bize hangi dizinin i\xe7inde oldu\u011fumuzu s\xf6yler. Yani bulundu\u011fumuz dizinin path'ini verir."}),"\n",(0,e.jsx)(a.pre,{children:(0,e.jsx)(a.code,{className:"language-bash",children:"\tpwd\n"})}),"\n",(0,e.jsx)(i,{alt:"pwd",src:"/images/hafta1/8.png",width:"800"}),"\n",(0,e.jsx)(a.hr,{}),"\n",(0,e.jsx)(a.h3,{children:"touch"}),"\n",(0,e.jsx)(a.p,{children:"\u0130\xe7i bo\u015f bir dosya olu\u015fturmak amac\u0131yla kullan\u0131l\u0131r."}),"\n",(0,e.jsx)(a.pre,{children:(0,e.jsx)(a.code,{className:"language-bash",children:"\ttouch yeni_bir_dosya\n"})}),"\n",(0,e.jsx)(i,{alt:"touch",src:"/images/hafta1/27.png",width:"800"}),"\n",(0,e.jsx)("hr",{}),"\n",(0,e.jsx)(a.h3,{children:"cat"}),"\n",(0,e.jsx)(a.p,{children:"Bir dosyan\u0131n i\xe7eri\u011fini terminale basar."}),"\n",(0,e.jsx)(a.pre,{children:(0,e.jsx)(a.code,{className:"language-bash",children:"\tcat beni_oku\n"})}),"\n",(0,e.jsx)(i,{alt:"cat",src:"/images/hafta1/10.png",width:"800"}),"\n",(0,e.jsx)(a.h3,{children:"tac"}),"\n",(0,e.jsx)(a.p,{children:"Bir dosyan\u0131n i\xe7eri\u011fini, ters s\u0131rada terminale basar."}),"\n",(0,e.jsx)(a.pre,{children:(0,e.jsx)(a.code,{className:"language-bash",children:"\ttac beni_tersten_oku\n"})}),"\n",(0,e.jsx)(i,{alt:"tac",src:"/images/hafta1/26.png",width:"800"}),"\n",(0,e.jsx)("hr",{}),"\n",(0,e.jsx)(a.h3,{children:"echo"}),"\n",(0,e.jsx)(a.p,{children:"Terminal ekrana string bir ifadeyi basmak amac\u0131yla kullan\u0131labilir."}),"\n",(0,e.jsx)(a.pre,{children:(0,e.jsx)(a.code,{className:"language-bash",children:'\techo "MESAJ"\n'})}),"\n",(0,e.jsx)(i,{alt:"echo",src:"/images/hafta1/11.png",width:"800"}),"\n",(0,e.jsxs)(a.p,{children:[(0,e.jsx)(a.strong,{children:"echo"})," daha \xe7ok dosyalar\u0131n i\xe7erisine veri yaz\u0131l\u0131rken kullan\u0131l\u0131r."]}),"\n",(0,e.jsx)(a.p,{children:'\xd6rne\u011fin a\u015fa\u011f\u0131daki gibi bir ifade, file.txt dosyas\u0131n\u0131n en son sat\u0131r\u0131na "yeni veri" string\'ini ekler.'}),"\n",(0,e.jsx)(a.pre,{children:(0,e.jsx)(a.code,{className:"language-bash",children:'\techo "yeni veri" >> file.txt\n'})}),"\n",(0,e.jsxs)(a.p,{children:["E\u011fer hali haz\u0131rda bulunan dosyadaki t\xfcm verileri silmek ve yerine yazmak istersek ",(0,e.jsx)(a.strong,{children:'">"'})," diyebiliriz."]}),"\n",(0,e.jsx)(a.pre,{children:(0,e.jsx)(a.code,{className:"language-bash",children:'\techo "hepsini sil yerine yaz" > file.txt\n'})}),"\n",(0,e.jsx)(a.hr,{}),"\n",(0,e.jsx)(a.h3,{children:"less"}),"\n",(0,e.jsx)(a.p,{children:"Dosya i\xe7eri\u011fini vim'e benzer bir \u015fekilde g\xf6r\xfcntelememizi sa\u011flayan bir programd\u0131r."}),"\n",(0,e.jsx)(a.pre,{children:(0,e.jsx)(a.code,{className:"language-bash",children:"\tless dosya_adi\n"})}),"\n",(0,e.jsx)(i,{alt:"less",src:"/images/hafta1/12.png",width:"800"}),"\n",(0,e.jsx)("hr",{}),"\n",(0,e.jsx)(a.h3,{children:"mkdir [make directory]"}),"\n",(0,e.jsx)(a.p,{children:"Dizin (klas\xf6r) olu\u015fturmak amac\u0131yla kullan\u0131l\u0131r. Ayn\u0131 anda birden fazla klas\xf6r olu\u015fturulabilir."}),"\n",(0,e.jsx)(a.p,{children:"Hatta ayn\u0131 anda i\xe7 i\xe7e klas\xf6rler de direkt olarak tek komutta olu\u015fturulabilir."}),"\n",(0,e.jsx)(a.pre,{children:(0,e.jsx)(a.code,{className:"language-bash",children:"\tmkdir klasor_adi\n"})}),"\n",(0,e.jsx)(i,{alt:"mkdir",src:"/images/hafta1/13.png",width:"800"}),"\n",(0,e.jsx)("hr",{}),"\n",(0,e.jsx)(a.h3,{children:"mv [move]"}),"\n",(0,e.jsx)(a.p,{children:"Dosya ya da dizinlerin ta\u015f\u0131nmas\u0131n\u0131 sa\u011flar."}),"\n",(0,e.jsx)(a.p,{children:(0,e.jsx)(a.em,{children:"Bu arada, GNU/Linux'da dosya ve dizin ayn\u0131 \u015feydir, buna ileride de\u011finece\u011fiz."})}),"\n",(0,e.jsx)(a.pre,{children:(0,e.jsx)(a.code,{className:"language-bash",children:"\tmv pamuk_seker tatli_bisey/\n"})}),"\n",(0,e.jsx)(i,{alt:"mv",src:"/images/hafta1/14.png",width:"800"}),"\n",(0,e.jsx)("hr",{}),"\n",(0,e.jsx)(a.h3,{children:"cp [copy]"}),"\n",(0,e.jsx)(a.p,{children:"Dosya ya da dizinlerin kopyalanmas\u0131 sa\u011flar."}),"\n",(0,e.jsx)(a.pre,{children:(0,e.jsx)(a.code,{className:"language-bash",children:"\tcp dosya dosya.backup\n"})}),"\n",(0,e.jsxs)(a.p,{children:[(0,e.jsx)(a.strong,{children:'"-r"'})," parametresi ise dizinlerin kopyalanmas\u0131 sa\u011flan\u0131rken kullan\u0131l\u0131r."]}),"\n",(0,e.jsx)(a.pre,{children:(0,e.jsx)(a.code,{className:"language-bash",children:"\tcp -r sutlac/ tatli_bisey/\n"})}),"\n",(0,e.jsx)(i,{alt:"cp",src:"/images/hafta1/15.png",width:"800"}),"\n",(0,e.jsx)("hr",{}),"\n",(0,e.jsx)(a.h3,{children:"rm [remove]"}),"\n",(0,e.jsx)(a.p,{children:"Dosya ya da dizinlerin silinmesi amac\u0131yla kullan\u0131l\u0131r."}),"\n",(0,e.jsx)(a.pre,{children:(0,e.jsx)(a.code,{className:"language-bash",children:"\trm dosya\n"})}),"\n",(0,e.jsx)(a.pre,{children:(0,e.jsx)(a.code,{className:"language-bash",children:"\trm -r dizin/\n"})}),"\n",(0,e.jsx)(a.p,{children:"\xd6rne\u011fin a\u015fa\u011f\u0131daki gibi t\xfcm sistemi tek bir komut ile silebilirsiniz. Lakin bu komutun bir \xe7ok GNU/Linux da\u011f\u0131t\u0131m\u0131nda \xe7al\u0131\u015ft\u0131r\u0131lmas\u0131 engellidir."}),"\n",(0,e.jsx)(a.pre,{children:(0,e.jsx)(a.code,{className:"language-bash",children:"\trm -rf /\n"})}),"\n",(0,e.jsx)(i,{alt:"sil cnm",src:"/images/hafta1/16.png",width:"800"}),"\n",(0,e.jsx)("hr",{}),"\n",(0,e.jsx)(a.h3,{children:"wget"}),"\n",(0,e.jsx)(a.p,{children:"Wget; internet protokolleri \xfczerinden dosya indirme arac\u0131d\u0131r."}),"\n",(0,e.jsx)(a.pre,{children:(0,e.jsx)(a.code,{className:"language-bash",children:"\twget https://raw.githubusercontent.com/PauSiber/gnulinux/master/hafta1/hafta1.md\n"})}),"\n",(0,e.jsx)(i,{alt:"wget",src:"/images/hafta1/17.png",width:"800"}),"\n",(0,e.jsx)("hr",{}),"\n",(0,e.jsx)(a.h3,{children:"!!"}),"\n",(0,e.jsx)(a.p,{children:"Son komutu tekrar y\xfcr\xfct\xfcr."}),"\n",(0,e.jsx)(i,{alt:"!!-elif-hocama-selamlar",src:"/images/hafta1/18.png",width:"800"}),"\n",(0,e.jsx)("hr",{}),"\n",(0,e.jsx)(a.h3,{children:"history"}),"\n",(0,e.jsx)(a.p,{children:"\xd6nceden y\xfcr\xfct\xfclen komutlar\u0131 listeli halde g\xf6sterir."}),"\n",(0,e.jsx)(a.pre,{children:(0,e.jsx)(a.code,{className:"language-bash",children:"\thistory\n"})}),"\n",(0,e.jsx)(a.p,{children:"Daha d\xfczenli \u015fekilde g\xf6rebilmek a\u015fa\u011f\u0131daki gibi bir komut y\xfcr\xfctebilirsiniz."}),"\n",(0,e.jsx)(a.pre,{children:(0,e.jsx)(a.code,{className:"language-bash",children:"\thistory | less\n"})}),"\n",(0,e.jsx)(i,{alt:"history",src:"/images/hafta1/19.png",width:"800"}),"\n",(0,e.jsx)("hr",{}),"\n",(0,e.jsx)(a.h2,{children:"Bir Ka\xe7 K\u0131sa Yol"}),"\n",(0,e.jsxs)(a.p,{children:[(0,e.jsx)(a.strong,{children:"ctrl + a"})," ile terminalde yaz\u0131l\u0131 olan ifadenin ",(0,e.jsx)(a.strong,{children:"ilk ba\u015f\u0131na"})," gidilir."]}),"\n",(0,e.jsxs)(a.p,{children:[(0,e.jsx)(a.strong,{children:"ctrl + e"})," ile terminalde yaz\u0131l\u0131 olan ifadenin ",(0,e.jsx)(a.strong,{children:"en sonuna"})," gidilir."]}),"\n",(0,e.jsxs)(a.p,{children:[(0,e.jsx)(a.strong,{children:"ctrl + l"})," ile terminal ",(0,e.jsx)(a.strong,{children:"temizlenir"}),"."]}),"\n",(0,e.jsxs)(a.p,{children:[(0,e.jsx)(a.strong,{children:"ctrl + d"})," ile terminalden ",(0,e.jsx)(a.strong,{children:"\xe7\u0131k\u0131\u015f"})," sa\u011flan\u0131r."]}),"\n",(0,e.jsxs)(a.p,{children:[(0,e.jsx)(a.strong,{children:"ctrl + shift + c"})," ile ",(0,e.jsx)(a.strong,{children:"kopyalama"})," yap\u0131l\u0131r."]}),"\n",(0,e.jsxs)(a.p,{children:[(0,e.jsx)(a.strong,{children:"ctrl + shift + v"})," ile ",(0,e.jsx)(a.strong,{children:"yap\u0131\u015ft\u0131rma"})," yap\u0131l\u0131r."]}),"\n",(0,e.jsxs)(a.p,{children:[(0,e.jsx)(a.strong,{children:"ctrl + c"})," ile \xe7al\u0131\u015fan uygulama ",(0,e.jsx)(a.strong,{children:"durdurulabilir"}),"."]}),"\n",(0,e.jsxs)(a.p,{children:[(0,e.jsx)(a.strong,{children:"ctrl + z"})," \xe7al\u0131\u015fan uygulama ",(0,e.jsx)(a.strong,{children:"arkaya at\u0131l\u0131r"}),"."]}),"\n",(0,e.jsxs)(a.p,{children:[(0,e.jsx)(a.strong,{children:"ctrl + u"})," o anda ",(0,e.jsx)(a.strong,{children:"sat\u0131ra yaz\u0131lan her\u015feyi siler"}),", temizler."]}),"\n",(0,e.jsx)("hr",{}),"\n",(0,e.jsx)(a.h2,{children:"Terminal'de \xc7al\u0131\u015fan Metin Edit\xf6rleri"}),"\n",(0,e.jsx)(a.h4,{children:"nano"}),"\n",(0,e.jsx)(i,{alt:"nano",src:"/images/hafta1/20.png",width:"800"}),"\n",(0,e.jsx)(a.h4,{children:"vim"}),"\n",(0,e.jsx)(i,{alt:"vim",src:"/images/hafta1/21.png",width:"800"}),"\n",(0,e.jsx)("hr",{}),"\n",(0,e.jsx)(a.h2,{children:"GNU/Linux'da Dosya Sistem Hiyerar\u015fisi"}),"\n",(0,e.jsx)(a.p,{children:"UNIX tabanl\u0131 ya da esinlenilmi\u015f i\u015fletim sistemlerinin dosya sistem hiyerar\u015fisi Windows i\u015fletim sisteminden olduk\xe7a farkl\u0131d\u0131r."}),"\n",(0,e.jsx)(i,{alt:"windows-my-computer",src:"/images/hafta1/23.png",width:"800"}),"\n",(0,e.jsx)(i,{alt:"windows-my-computer",src:"/images/hafta1/24.png",width:"800"}),"\n",(0,e.jsxs)(a.p,{children:["GNU/Linux sistemlerde bir dosya dizin hiyerar\u015fisi vard\u0131r. Bu hiyerar\u015finin en \xfcst\xfcnde ",(0,e.jsx)(a.strong,{children:'"/"'})," yani ",(0,e.jsx)(a.strong,{children:"root(k\xf6k)"})," dizini bulunur. Bu, t\xfcm sistemin referans noktas\u0131d\u0131r."]}),"\n",(0,e.jsx)(i,{alt:"dosya-sistem-hiyerar\u015fisi",src:"/images/hafta1/22.png",width:"800"}),"\n",(0,e.jsx)(a.h4,{children:"/ [root(k\xf6k) dizini]"}),"\n",(0,e.jsx)(a.p,{children:"T\xfcm dizinlerin \xfczerinde bulunan dizindir. T\xfcm dizinler buradan dallanarak olu\u015fturulur."}),"\n",(0,e.jsx)(a.h4,{children:"/bin"}),"\n",(0,e.jsx)(a.p,{children:"Sistemin temel komutlar\u0131n\u0131n bulundu\u011fu dizindir."}),"\n",(0,e.jsxs)(a.p,{children:["Kulland\u0131\u011f\u0131m\u0131z \xe7o\u011fu komut bu dizin alt\u0131nda bulunur. ",(0,e.jsx)(a.strong,{children:"(cat, mkdir, cp, ls, mv, rm )"})]}),"\n",(0,e.jsx)(a.h4,{children:"/etc"}),"\n",(0,e.jsx)(a.p,{children:"Sistemin b\xfct\xfcn yap\u0131land\u0131rma dosyalar\u0131 bu dizin alt\u0131nda bulunur. Yap\u0131land\u0131rma dosyas\u0131; bir program\u0131n i\u015fleyi\u015fini kontrol etmek i\xe7in kullan\u0131lan yerel bir dosyad\u0131r."}),"\n",(0,e.jsx)(a.h4,{children:"/home"}),"\n",(0,e.jsx)(a.p,{children:"Kullan\u0131c\u0131lar\u0131n kay\u0131tl\u0131 dosyalar\u0131n\u0131, ki\u015fisel ayarlar\u0131n\u0131 vb. i\xe7eren ev dizinleridir.\nWindows'daki Documents and Settings'e benzetebiliriz. Her bir yeni kullan\u0131c\u0131 i\xe7in alt dizin olarak alt\u0131na olu\u015fturulur."}),"\n",(0,e.jsx)(a.pre,{children:(0,e.jsx)(a.code,{className:"language-bash",children:"- /home\n\t|-----\x3e dev\n\t|-----\x3e hasantezcan \n\t|-----\x3e boratanr\u0131kulu\n"})}),"\n",(0,e.jsx)(a.h4,{children:"/root"}),"\n",(0,e.jsx)(a.p,{children:"Root kullan\u0131c\u0131s\u0131n\u0131n home dizinidir. Di\u011fer home dizinlerinden bi fark\u0131 yoktur."}),"\n",(0,e.jsx)(a.h4,{children:"/lib"}),"\n",(0,e.jsxs)(a.p,{children:["Kernel mod\xfclleri ve payla\u015f\u0131lan k\xfct\xfcphane dosyalar\u0131 bu klas\xf6rde bulunur. Var olan \xe7ekirdek mod\xfcllerini ",(0,e.jsx)(a.strong,{children:"/lib/modules/[versiyon_numaras\u0131]"})," i\xe7erisinde bulabilirsiniz."]}),"\n",(0,e.jsx)(a.h4,{children:"/var"}),"\n",(0,e.jsxs)(a.p,{children:["Sistem de\u011fi\u015fkenlerini saklar. Home dizini kullan\u0131c\u0131lar\u0131n dosyalar\u0131n\u0131 depolarken, ",(0,e.jsx)(a.strong,{children:"/var"})," dizini i\xe7inde de programlar\u0131n olu\u015fturdu\u011fu veriler tutulur."]}),"\n",(0,e.jsx)(a.h4,{children:"/opt"}),"\n",(0,e.jsxs)(a.p,{children:['GNU/Linux dosya dizin hiyerar\u015fisine uymayan programlar\u0131n kuruldu\u011fu dizindir. Hen\xfcz sizlere bahsetmedi\u011fimiz "Ba\u011f\u0131ml\u0131l\u0131k" kavram\u0131na uymayan bu programlar sistemden yal\u0131t\u0131lm\u0131\u015f halde ',(0,e.jsx)(a.strong,{children:"/opt"})," dizini alt\u0131ndan \xe7al\u0131\u015fmay\u0131 s\xfcrd\xfcr\xfcr."]}),"\n",(0,e.jsx)(i,{alt:"opt",src:"/images/hafta1/25.png",width:"800"}),"\n",(0,e.jsxs)(a.p,{children:[(0,e.jsx)(a.strong,{children:"Not :"})," GNU/Linux sistemlerde ",(0,e.jsx)(a.strong,{children:"her zaman bir dizin i\xe7ersinde bulunursunuz."})," Yani a\u011fa\xe7 yap\u0131s\u0131n\u0131n d\u0131\u015f\u0131na \xe7\u0131kamazs\u0131n\u0131z."]}),"\n",(0,e.jsx)("hr",{}),"\n",(0,e.jsxs)(a.p,{children:["Bir dosyan\u0131n yeri tarif ederken kullan\u0131d\u0131\u011f\u0131m\u0131z iki t\xfcrl\xfc yol vard\u0131r. Bunlar ",(0,e.jsx)(a.strong,{children:"Tam Yol"})," ve ",(0,e.jsx)(a.strong,{children:"G\xf6receli Yol"})," dur."]}),"\n",(0,e.jsxs)(a.p,{children:[(0,e.jsx)(a.strong,{children:"Tam Yol :"})," Her zaman ",(0,e.jsx)(a.strong,{children:"root"})," dizininden ba\u015flar ve hedef g\xf6sterdi\u011fimiz dizine kadar devam eder. Bu komutu hangi dizinde olursak olal\u0131m \xe7al\u0131\u015ft\u0131rd\u0131\u011f\u0131m\u0131zda sonu\xe7 al\u0131r\u0131z. \xc7\xfcnk\xfc bu tarif hi\xe7bir zaman de\u011fi\u015fmez. Bunun nedeni de referans ald\u0131\u011f\u0131 ilk yolun root olmas\u0131d\u0131r."]}),"\n",(0,e.jsxs)(a.p,{children:[(0,e.jsx)(a.strong,{children:"G\xf6receli Yol :"})," Bu tarifin her zaman ge\xe7erlili\u011fi yoktur. \u0130\xe7ersinde bulununan dizine g\xf6re de\u011fi\u015fiklik g\xf6sterir."]}),"\n",(0,e.jsx)("hr",{}),"\n",(0,e.jsx)(a.h2,{children:"Paket Y\xf6neticisi Nedir ?"}),"\n",(0,e.jsx)(a.p,{children:"Hadi \u015fimdi gidip Windows bir sistemde deneme ama\xe7l\u0131 bir uygulama kural\u0131m. \xd6rnek olmas\u0131 a\xe7\u0131s\u0131ndan firefox kurulumu yapal\u0131m."}),"\n",(0,e.jsx)(a.p,{children:"Kurulum i\xe7in ilk olarak browser a\xe7\u0131lmal\u0131, ilgili site bulunmal\u0131, ilgili exe dosyas\u0131 sisteme indirilip, \xe7al\u0131\u015ft\u0131r\u0131lmal\u0131 ve ard\u0131ndan kurulum ad\u0131mlar\u0131 uygulanmal\u0131d\u0131r."}),"\n",(0,e.jsx)(a.p,{children:(0,e.jsx)(a.strong,{children:"Ne kadar ilkelce de\u011fil mi ?"})}),"\n",(0,e.jsxs)(a.p,{children:["GNU/Linux da\u011f\u0131t\u0131mlar\u0131nda b\xf6yle bir \u015fey yok arkada\u015flar. Paket y\xf6neticisi diye bir kavram var. Paket y\xf6neticisi ile tek bir komut ile istedi\u011finiz uygulamay\u0131 kulland\u0131\u011f\u0131n\u0131z da\u011f\u0131t\u0131m\u0131n ",(0,e.jsx)(a.strong,{children:"repo"}),"'lar\u0131ndan direkt olarak \xe7ekip kurabilirsiniz."]}),"\n",(0,e.jsx)(a.p,{children:"Paket y\xf6neticisi yaln\u0131zca bir programd\u0131r ama da\u011f\u0131t\u0131mdan da\u011f\u0131t\u0131ma farkl\u0131l\u0131k g\xf6sterir, her paket y\xf6neticisini her da\u011f\u0131t\u0131mda kullanamazs\u0131n\u0131z."}),"\n",(0,e.jsx)(a.p,{children:"\xd6rne\u011fin Debian'dan t\xfcremi\u015f olan Ubuntu, APT isimli bir paket y\xf6neticisi kullan\u0131r."}),"\n",(0,e.jsx)(a.p,{children:"Yani Debian tabanl\u0131 da\u011f\u0131t\u0131mlarda APT paket y\xf6neticisi kullan\u0131l\u0131r."}),"\n",(0,e.jsx)(a.p,{children:"APT d\u0131\u015f\u0131nda, debian tabanl\u0131 olmayadan da\u011f\u0131t\u0131mlarda kullan\u0131lan, bir\xe7ok paket y\xf6neticisi vard\u0131r."}),"\n",(0,e.jsxs)(a.ul,{children:["\n",(0,e.jsxs)(a.li,{children:["dnf(yum) ",(0,e.jsx)(a.strong,{children:"fedora"})]}),"\n",(0,e.jsxs)(a.li,{children:["pacman ",(0,e.jsx)(a.strong,{children:"archlinux"})]}),"\n",(0,e.jsxs)(a.li,{children:["portage ",(0,e.jsx)(a.strong,{children:"gentoo"})]}),"\n",(0,e.jsxs)(a.li,{children:["zypper ",(0,e.jsx)(a.strong,{children:"opensuse"})]}),"\n"]}),"\n",(0,e.jsx)(a.p,{children:"Paket y\xf6neticilerinin kullan\u0131mlar\u0131 farkl\u0131l\u0131k g\xf6sterebilir. Ancak temelde b\xfct\xfcn paket y\xf6neticileri ayn\u0131 i\u015fi yaparlar."}),"\n",(0,e.jsx)(a.p,{children:"Hadi \u015fimdi bir de terminal \xfczerinden firefox kurulumunu ger\xe7ekle\u015ftirelim. Bunun i\xe7in a\u015fa\u011f\u0131daki komutu y\xfcr\xfctmemiz yeterlidir."}),"\n",(0,e.jsx)(a.pre,{children:(0,e.jsx)(a.code,{className:"language-bash",children:"\tsudo apt install firefox\n"})}),"\n",(0,e.jsx)(i,{alt:"apt",src:"/images/hafta1/28.png",width:"800"}),"\n",(0,e.jsx)(a.p,{children:"\u015eimdi bu komutu inceleyelim.."}),"\n",(0,e.jsx)(i,{alt:"apt",src:"/images/hafta1/29.png",width:"800"}),"\n",(0,e.jsxs)(a.p,{children:["Burada ",(0,e.jsx)(a.strong,{children:"sudo"})," ifadesini kullanma sebebimiz i\u015flemin sistem dosyalar\u0131 \xfczerinde ger\xe7ekle\u015fiyor olmas\u0131. Bu y\xfczden komutun root yetkisi ile \xe7al\u0131\u015fmas\u0131 i\xe7in komutun ba\u015f\u0131na ",(0,e.jsx)(a.strong,{children:"sudo"})," ifadesini ekledik."]}),"\n",(0,e.jsx)(a.p,{children:"G\xf6rd\xfc\u011f\xfcn\xfcz gibi kullan\u0131m\u0131 olduk\xe7a basit. APT paket y\xf6neticisinin parametreleri ile ilgili bilgiye a\u015fa\u011f\u0131daki tablodan eri\u015febilirisiniz."}),"\n",(0,e.jsxs)(a.p,{children:["Tablo ba\u015flang\u0131\xe7ta olduk\xe7a korkun\xe7 g\xf6z\xfckecektir ama paket y\xf6neticisi kulland\u0131k\xe7a al\u0131\u015faca\u011f\u0131n\u0131z\u0131n garantisini veririz ",(0,e.jsx)(a.strong,{children:":)"})," ."]}),"\n",(0,e.jsxs)(a.table,{children:[(0,e.jsx)(a.thead,{children:(0,e.jsxs)(a.tr,{children:[(0,e.jsx)(a.th,{align:"center",children:"APT"}),(0,e.jsx)(a.th,{align:"center",children:"A\xe7\u0131klama"})]})}),(0,e.jsxs)(a.tbody,{children:[(0,e.jsxs)(a.tr,{children:[(0,e.jsxs)(a.td,{align:"center",children:["apt search ",(0,e.jsx)(a.strong,{children:"packageName"})]}),(0,e.jsx)(a.td,{align:"center",children:"paket arar"})]}),(0,e.jsxs)(a.tr,{children:[(0,e.jsxs)(a.td,{align:"center",children:["apt install ",(0,e.jsx)(a.strong,{children:"packageName"})]}),(0,e.jsx)(a.td,{align:"center",children:"paket y\xfckler"})]}),(0,e.jsxs)(a.tr,{children:[(0,e.jsxs)(a.td,{align:"center",children:["apt remove ",(0,e.jsx)(a.strong,{children:"packageName"})]}),(0,e.jsx)(a.td,{align:"center",children:"paket siler"})]}),(0,e.jsxs)(a.tr,{children:[(0,e.jsx)(a.td,{align:"center",children:"apt autoremove"}),(0,e.jsx)(a.td,{align:"center",children:"herhangi bir pakete ba\u011fl\u0131 olmayan gereksiz paketleri siler"})]}),(0,e.jsxs)(a.tr,{children:[(0,e.jsx)(a.td,{align:"center",children:"apt update"}),(0,e.jsx)(a.td,{align:"center",children:"repo paket bilgilerini g\xfcnceller"})]}),(0,e.jsxs)(a.tr,{children:[(0,e.jsx)(a.td,{align:"center",children:"apt update && apt upgrade"}),(0,e.jsx)(a.td,{align:"center",children:"y\xfckl\xfc paketleri g\xfcnceller"})]}),(0,e.jsxs)(a.tr,{children:[(0,e.jsx)(a.td,{align:"center",children:"apt update && apt dist-upgrade"}),(0,e.jsx)(a.td,{align:"center",children:"sistemin tam g\xfcncellemesini yapar"})]}),(0,e.jsxs)(a.tr,{children:[(0,e.jsxs)(a.td,{align:"center",children:["apt install \u2013download-only ",(0,e.jsx)(a.strong,{children:"packageName"})]}),(0,e.jsx)(a.td,{align:"center",children:"paketi yaln\u0131zca indirir (paket y\xf6neticisi cache konumuna)"})]}),(0,e.jsxs)(a.tr,{children:[(0,e.jsx)(a.td,{align:"center",children:"ls /var/cache/apt/archives/"}),(0,e.jsx)(a.td,{align:"center",children:"paket y\xf6neticisi cache'ni g\xf6r\xfcnt\xfcler"})]}),(0,e.jsxs)(a.tr,{children:[(0,e.jsxs)(a.td,{align:"center",children:["apt install ",(0,e.jsx)(a.strong,{children:"/path/to/packageName.deb"})]}),(0,e.jsx)(a.td,{align:"center",children:"paketi dosya ile y\xfckler"})]}),(0,e.jsxs)(a.tr,{children:[(0,e.jsx)(a.td,{align:"center",children:"tail -f /var/log/dpkg.log"}),(0,e.jsx)(a.td,{align:"center",children:"paket y\xf6neticisi log'lar\u0131n\u0131 g\xf6sterir"})]}),(0,e.jsxs)(a.tr,{children:[(0,e.jsxs)(a.td,{align:"center",children:["apt show ",(0,e.jsx)(a.strong,{children:"packageName"})]}),(0,e.jsx)(a.td,{align:"center",children:"repo'daki bir paketin bilgisini g\xf6sterir"})]}),(0,e.jsxs)(a.tr,{children:[(0,e.jsxs)(a.td,{align:"center",children:["dpkg -s ",(0,e.jsx)(a.strong,{children:"packageName"})]}),(0,e.jsx)(a.td,{align:"center",children:"y\xfckl\xfc olan bir paketin bilgisini g\xf6sterir"})]}),(0,e.jsxs)(a.tr,{children:[(0,e.jsxs)(a.td,{align:"center",children:["dpkg -L ",(0,e.jsx)(a.strong,{children:"packageName"})]}),(0,e.jsx)(a.td,{align:"center",children:"y\xfckl\xfc olan paketin dosyalar\u0131n\u0131n konumlar\u0131n\u0131 g\xf6sterir"})]}),(0,e.jsxs)(a.tr,{children:[(0,e.jsx)(a.td,{align:"center",children:"apt-cache policy"}),(0,e.jsx)(a.td,{align:"center",children:"paket kaynak adreslerini listeler"})]})]})]}),"\n",(0,e.jsx)("hr",{}),"\n",(0,e.jsx)(a.h2,{children:"REPO Kavram\u0131 Nedir ?"}),"\n",(0,e.jsx)(a.p,{children:"Az \xf6nce paket y\xf6neticisi ile birlikte uygulamalar\u0131n nas\u0131l kurulaca\u011f\u0131n\u0131 \xf6\u011frendik."}),"\n",(0,e.jsxs)(a.p,{children:[(0,e.jsx)(a.strong,{children:"Peki bu paketler nereden geliyor.."})," \u0130\u015fte burada REPO kavram\u0131 ortaya \xe7\u0131k\u0131yor. Her da\u011f\u0131t\u0131m\u0131n kendisine ait bir REPO'su vard\u0131r. Paket y\xf6neticisi ile indirilip kurulan uygulamalar bu REPO'lardan gelir."]}),"\n",(0,e.jsx)(a.p,{children:"REPO adreslerini a\u015fa\u011f\u0131daki gibi g\xf6r\xfcnt\xfcleyebiliriz. Ama l\xfctfen bu dosyalar\u0131 bir bilginiz yok ise de\u011fi\u015ftirmeyin."}),"\n",(0,e.jsx)(a.pre,{children:(0,e.jsx)(a.code,{className:"language-bash",children:"\tvim /etc/apt/source.list\n"})}),"\n",(0,e.jsxs)(a.p,{children:["PauSiber Dev'de REPO olarak ",(0,e.jsx)(a.a,{href:"http://archive.ubuntu.com/ubuntu/",children:"http://archive.ubuntu.com/ubuntu/"})," kullan\u0131lmaktad\u0131r."]}),"\n",(0,e.jsx)(i,{alt:"repo",src:"/images/hafta1/30.png",width:"800"}),"\n",(0,e.jsx)("hr",{}),"\n",(0,e.jsx)(a.h2,{children:"REPO'da Olmayan Uygulamalar"}),"\n",(0,e.jsx)(a.p,{children:"REPO'larda yaln\u0131zca a\xe7\u0131k kaynak uygulamalar bulunabilir. \xd6rne\u011fin Google Chrome kapal\u0131 kaynak bir uygulamad\u0131r. Bu durumda ne yapaca\u011f\u0131z ?"}),"\n",(0,e.jsxs)(a.p,{children:[(0,e.jsx)(a.strong,{children:"Not :"})," Chromium a\xe7\u0131k kaynak oldu\u011fu i\xe7in REPO'larda mevcuttur."]}),"\n",(0,e.jsx)(a.p,{children:"E\u011fer REPO'larda bulunmayan bir uygulama kurulacak ise ilk yap\u0131lmas\u0131 gereken, uygulaman\u0131n da\u011f\u0131t\u0131c\u0131n\u0131n sitesinden hangi \u015fekilde edinilmesi gerekti\u011fine bakmakt\u0131r. \xc7\xfcnk\xfc bir\xe7ok farkl\u0131 \u015fekilde da\u011f\u0131t\u0131l\u0131yor olabilir."}),"\n",(0,e.jsxs)(a.p,{children:["\xd6rne\u011fin Google Chrome i\xe7in bir ",(0,e.jsx)(a.strong,{children:"deb"})," paketi indirmek gerekirken, Spotify kurulumu i\xe7in REPO listemize ek bir kaynak adresi eklememiz gerekir."]}),"\n",(0,e.jsx)(a.p,{children:"Bu y\xfczden l\xfctfen d\u0131\u015far\u0131dan bir uygulama kuracaksan\u0131z, forumlara ya da youtube'a bakmak yerine, da\u011f\u0131t\u0131c\u0131n\u0131n sitesinden bak\u0131n. Orada kesinlikle bir bilgi olacakt\u0131r."}),"\n",(0,e.jsx)(i,{alt:"chrome",src:"/images/hafta1/31.png",width:"800"}),"\n",(0,e.jsx)(i,{alt:"spotify",src:"/images/hafta1/32.png",width:"800"}),"\n",(0,e.jsx)("hr",{}),"\n",(0,e.jsx)(a.h2,{children:"Bu hafta neler yapt\u0131k ?"}),"\n",(0,e.jsxs)(a.ul,{children:["\n",(0,e.jsxs)(a.li,{children:[(0,e.jsx)(a.strong,{children:"Terminalin ne oldu\u011funu"})," ve neden kullanmam\u0131z gerekti\u011fini \xf6\u011frendik."]}),"\n",(0,e.jsxs)(a.li,{children:[(0,e.jsx)(a.strong,{children:"Temel komutlar"})," ile terminal kullan\u0131m\u0131na ilk ad\u0131m\u0131 att\u0131k."]}),"\n",(0,e.jsxs)(a.li,{children:["Terminal \xfczerinde kullanabilece\u011fimiz ",(0,e.jsx)(a.strong,{children:"yararl\u0131 k\u0131sayollar"}),"\u0131 \xf6\u011frendik."]}),"\n",(0,e.jsxs)(a.li,{children:["Terminal \xfczerinde \xe7al\u0131\u015fan ",(0,e.jsx)(a.strong,{children:"metin edit\xf6rleri"}),"ni denedik."]}),"\n",(0,e.jsxs)(a.li,{children:["GNU/Linux\u2019da ",(0,e.jsx)(a.strong,{children:"dosya sistem hiyerar\u015fisi"}),"nin nas\u0131l oldu\u011funu temel d\xfczeyde \xf6\u011frendik."]}),"\n",(0,e.jsxs)(a.li,{children:[(0,e.jsx)(a.strong,{children:"Paket Y\xf6neticisi"})," ve ",(0,e.jsx)(a.strong,{children:"REPO"})," kavramlar\u0131n\u0131 \xf6\u011frendik."]}),"\n"]})]})},i=Object.assign({},(0,t.ah)(),n.components),r=i.wrapper;return r?(0,e.jsx)(r,h({},n,{children:(0,e.jsx)(a,{})})):a()}var u=(0,e.jsx)(c,{});function o(n,a){throw new Error("Expected "+(a?"component":"object")+" `"+n+"` to be defined: you likely forgot to import, pass, or provide it.")}function m(n){return(0,l.withSSG)((0,r.Z)({filename:"hafta-bir.mdx",route:"/haftalar/hafta-bir",meta:{title:"Hafta 1",date:"2022/5/5",description:"Linux'a giri\u015f.",tag:"gnu/linux",author:"Enes Kaya"},pageMap:[{name:"haftalar",children:[{name:"hafta-bir",route:"/haftalar/hafta-bir",frontMatter:{title:"Hafta 1",date:"2022/5/5",description:"Linux'a giri\u015f.",tag:"gnu/linux",author:"Enes Kaya"}},{name:"hafta-dort",route:"/haftalar/hafta-dort",frontMatter:{title:"Hafta 4",date:"2019/10/4",description:"Kriptolojiye giri\u015f, Canl\u0131 d\xfcnya \xf6rnekleri, \u015eifreleme algoritmas\u0131 geli\u015ftirilmesi.",tag:"gnu/linux cryptography",author:"Abdullah Bagyapan"}},{name:"hafta-iki",route:"/haftalar/hafta-iki",frontMatter:{title:"Hafta 2",date:"2021/5/5",description:"Linux'ta kullan\u0131c\u0131-grup y\xf6netimini ve dosya-dizin izinlerini kavratmak.",tag:"gnu/linux",author:"Enes Kaya"}},{name:"hafta-sifir",route:"/haftalar/hafta-sifir",frontMatter:{title:"Hafta 0",date:"2023/5/5",description:"Linux'un genel bir tan\u0131m\u0131. Gerekli kurulumlar\u0131n ger\xe7ekle\u015ftirilmesi.",tag:"gnu/linux",author:"Enes Kaya"}},{name:"hafta-uc",route:"/haftalar/hafta-uc",frontMatter:{title:"Hafta 3",date:"2020/5/5",description:"Server kavram\u0131n\u0131n a\xe7\u0131klanmas\u0131, SSH Kullan\u0131m\u0131, Zamanlanm\u0131\u015f g\xf6revler olu\u015fturulmas\u0131.",tag:"gnu/linux",author:"Enes Kaya"}},{name:"index",route:"/haftalar",frontMatter:{type:"posts",title:"Haftalar",date:"2021-03-18T00:00:00.000Z"}}],route:"/haftalar"},{name:"index",route:"/",frontMatter:{type:"page",title:"Hakk\u0131nda",date:"2021-03-19T00:00:00.000Z"}},{name:"tags",children:[{name:"[tag]",route:"/tags/[tag]",frontMatter:{type:"tag",title:"Tagged Posts"}}],route:"/tags"}]},s.Z))(h({},n,{children:u}))}}},function(n){n.O(0,[774,353,888,179],(function(){return a=8232,n(n.s=a);var a}));var a=n.O();_N_E=a}]); \ No newline at end of file diff --git a/_next/static/chunks/pages/haftalar/hafta-dort-17d909c3c3f5a2c9.js b/_next/static/chunks/pages/haftalar/hafta-dort-17d909c3c3f5a2c9.js new file mode 100644 index 0000000..b3f4af6 --- /dev/null +++ b/_next/static/chunks/pages/haftalar/hafta-dort-17d909c3c3f5a2c9.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[375],{2101:function(e,n,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/haftalar/hafta-dort",function(){return i(7296)}])},7845:function(e,n,i){"use strict";var r=i(5893),a=i(5988),t=(new Date).getFullYear();n.Z={footer:(0,r.jsxs)("small",{style:{display:"block",marginTop:"8rem"},className:"jsx-7c359fde634f3543",children:[(0,r.jsx)("time",{className:"jsx-7c359fde634f3543",children:t})," \xa9 PauSiber",(0,r.jsx)(a.default,{id:"7c359fde634f3543",children:"a.jsx-7c359fde634f3543{float:right}\n@media screen and (max-width:480px) {article.jsx-7c359fde634f3543{padding-top:2rem;\npadding-bottom:4rem}}"})]})}},7296:function(e,n,i){"use strict";i.r(n),i.d(n,{default:function(){return g}});var r=i(5893),a=i(8616),t=i(3805),l=i(7845),s=i(1151);function o(e,n,i){return n in e?Object.defineProperty(e,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[n]=i,e}function d(e){for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:{},n=function(){var n=Object.assign({h1:"h1",p:"p",strong:"strong",a:"a",h2:"h2",ul:"ul",li:"li",h3:"h3",blockquote:"blockquote",pre:"pre",code:"code"},(0,s.ah)(),e.components),i=n.CenteredImageLightbox;return i||m("CenteredImageLightbox",!0),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.h1,{children:"Hafta 4"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"Ama\xe7 :"})," Kriptoloji kavram\u0131n\u0131n a\xe7\u0131klanmas\u0131. \xd6rnek kullan\u0131mlar\u0131n g\xf6sterilmesi. \u015eifreleme algoritmas\u0131 kodlanmas\u0131."]}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"Yazar :"})," ",(0,r.jsx)(n.a,{href:"https://github.com/abdullahbagyapan",children:(0,r.jsx)(n.strong,{children:"abdullahbagyapan"})})]}),"\n",(0,r.jsx)("hr",{}),"\n",(0,r.jsx)(n.h2,{children:"Kriptoloji Nedir ?"}),"\n",(0,r.jsx)(n.p,{children:"Kriptoloji, bilgiyi \u015fifreleme ve gizleme ile ilgilenen bir bilim dal\u0131d\u0131r."}),"\n",(0,r.jsx)(n.p,{children:"Modern kriptoloji, birden \xe7ok disiplinin bir araya gelmesiyle olu\u015fmu\u015ftur: Matematik, bilgisayar bilimleri, elektronik..."}),"\n",(0,r.jsx)(n.p,{children:"Dijital bankac\u0131l\u0131k uygulamalar\u0131, e-ticaret, dijital para birimleri, askeri ileti\u015fim gibi her alanda kriptolojinin pratik uygulamlar\u0131 vard\u0131r."}),"\n",(0,r.jsx)("hr",{}),"\n",(0,r.jsx)(n.h2,{children:"Kriptoloji Neden \xd6nemlidir ?"}),"\n",(0,r.jsx)(n.p,{children:"Kriptolojinin g\xfcn\xfcm\xfczde bu kadar \xf6nemli olmas\u0131n\u0131n bir\xe7ok nedeni vard\u0131r."}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsx)(n.li,{children:(0,r.jsx)(n.strong,{children:"Gizlilik ve G\xfcvenlik"})}),"\n",(0,r.jsx)(n.li,{children:(0,r.jsx)(n.strong,{children:"G\xfcvenli \u0130leti\u015fim"})}),"\n",(0,r.jsx)(n.li,{children:(0,r.jsx)(n.strong,{children:"Kimlik Do\u011frulama"})}),"\n",(0,r.jsx)(n.li,{children:(0,r.jsx)(n.strong,{children:"Veri Saklama ve Ta\u015f\u0131ma"})}),"\n",(0,r.jsx)(n.li,{children:(0,r.jsx)(n.strong,{children:"Veri B\xfct\xfcnl\xfc\u011f\xfc"})}),"\n"]}),"\n",(0,r.jsx)("hr",{}),"\n",(0,r.jsx)(n.h2,{children:"Kriptolojinin Y\xfckseli\u015fi"}),"\n",(0,r.jsx)(n.p,{children:"Modern kriptoloji, 1. D\xfcnya Sava\u015f\u0131yla(1914 \u2013 1918) beraber y\xfckseli\u015fe ge\xe7mi\u015ftir."}),"\n",(0,r.jsx)(n.p,{children:"Rotor makinelerin ke\u015ffiyle beraber \xe7ok daha kompleks \u015fifreleme algoritmalar\u0131 geli\u015ftirilmi\u015ftir."}),"\n",(0,r.jsx)(i,{alt:"rotor machine",src:"/images/hafta4/0.png"}),"\n",(0,r.jsx)("hr",{}),"\n",(0,r.jsx)(n.h3,{children:"Enigma"}),"\n",(0,r.jsx)(n.p,{children:"Enigma, diplomatik ve askeri ileti\u015fimi korumak i\xe7in 20. y\xfczy\u0131l\u0131n ba\u015flar\u0131ndan ortalar\u0131na kadar geli\u015ftirilen ve kullan\u0131lan bir \u015fifreleme cihaz\u0131d\u0131r. 2. D\xfcnya Sava\u015f\u0131 s\u0131ras\u0131nda Nazi Almanyas\u0131 taraf\u0131ndan yayg\u0131n olarak kullan\u0131ld\u0131."}),"\n",(0,r.jsx)(n.p,{children:"Enigma, alfabenin 26 harfini kar\u0131\u015ft\u0131ran elektromekanik bir rotor mekanizmas\u0131na sahiptir."}),"\n",(0,r.jsx)(i,{alt:"enigma machine",src:"/images/hafta4/1.jpg"}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:["Daha detayl\u0131 bilgi i\xe7in: ",(0,r.jsx)(n.a,{href:"https://www.cryptomuseum.com/crypto/enigma/hist.htm",children:(0,r.jsx)(n.strong,{children:"History of the Enigma"})})]}),"\n"]}),"\n",(0,r.jsx)("hr",{}),"\n",(0,r.jsx)(n.h2,{children:"Encoding/Decoding"}),"\n",(0,r.jsx)(n.p,{children:"Encoding, bir bilgiyi veya veriyi belirli bir formata d\xf6n\xfc\u015ft\xfcrme veya kodlama i\u015flemidir.\nOrijinal verinin kolayl\u0131kla iletilebilecek, saklanabilecek veya i\u015flenebilecek kodlanm\u0131\u015f bir forma d\xf6n\xfc\u015ft\xfcr\xfclmesini i\xe7erir."}),"\n",(0,r.jsx)(i,{alt:"base conversion",src:"/images/hafta4/2.png"}),"\n",(0,r.jsx)(i,{alt:"string conversion",src:"/images/hafta4/3.png"}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:["String conversion: ",(0,r.jsx)(n.a,{href:"https://string-functions.com/string-binary.aspx",children:"https://string-functions.com/string-binary.aspx"})]}),"\n"]}),"\n",(0,r.jsx)("hr",{}),"\n",(0,r.jsx)(n.h2,{children:"Encryption/Decryption"}),"\n",(0,r.jsx)(n.p,{children:"Encryption, verileri yaln\u0131zca anahtar sahiplerinin \xe7\xf6zebilece\u011fi \u015fekilde d\xf6n\xfc\u015ft\xfcrme i\u015flemidir."}),"\n",(0,r.jsx)(n.p,{children:"Verinin \u015fifrelenmemi\u015f halini, \u015fifrelenmi\u015f olarak bilinen alternatif bir bi\xe7ime d\xf6n\xfc\u015ft\xfcr\xfcr."}),"\n",(0,r.jsx)(i,{alt:"encryption",src:"/images/hafta4/4.png"}),"\n",(0,r.jsx)("hr",{}),"\n",(0,r.jsx)(n.h3,{children:"Caesar Cipher"}),"\n",(0,r.jsx)(n.p,{children:"Caesar \u015fifreleme, en basit ve en \xe7ok bilinen \u015fifreleme tekniklerinden biridir. D\xfcz metindeki her harfin, alfabede sabit say\u0131da kayd\u0131r\u0131larak de\u011fi\u015ftirilmesiyle olu\u015fan bir t\xfcr \u015fifreleme methodudur."}),"\n",(0,r.jsx)(i,{alt:"caesar cipher",src:"/images/hafta4/5.png"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-python",children:'def caesar_cipher(text, shift):\n cipher_text = ""\n\n for character in text:\n\n if character.isalpha():\n encrypted_chr = ord(character) + shift # get shifted character\n\n if (encrypted_chr > ord("z")): # overflow check\n encrypted_chr -= 26\n\n encrypted_chr = chr(encrypted_chr) # return into character\n\n cipher_text += encrypted_chr\n\n return cipher_text\n\ncipher_text = caesar_cipher("PAUSIBER", 3)\nprint(cipher_text)\n'})}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:["Online Python Editor: ",(0,r.jsx)(n.a,{href:"https://pythononline.net/",children:"https://pythononline.net/"})]}),"\n"]}),"\n",(0,r.jsx)("hr",{}),"\n",(0,r.jsx)(n.h3,{children:"XOR Cipher"}),"\n",(0,r.jsx)(n.p,{children:"XOR, bir mant\u0131k kap\u0131s\u0131d\u0131r."}),"\n",(0,r.jsx)(i,{alt:"xor gate",src:"/images/hafta4/6.png"}),"\n",(0,r.jsx)(n.p,{children:"XOR kap\u0131s\u0131, karma\u015f\u0131k \u015fifrelemede son derece yayg\u0131nd\u0131r."}),"\n",(0,r.jsx)(n.p,{children:"Ba\u015fl\u0131ca avantaj\u0131, uygulanmas\u0131n\u0131n basit olmas\u0131 ve XOR i\u015fleminin hesaplama a\xe7\u0131s\u0131ndan ucuz olmas\u0131d\u0131r."}),"\n",(0,r.jsx)(i,{alt:"xor cipher",src:"/images/hafta4/7.png"}),"\n",(0,r.jsx)("hr",{}),"\n",(0,r.jsx)(n.h3,{children:"Stream Cipher, LFSR"}),"\n",(0,r.jsx)(n.p,{children:"Linear-feedback shift register (LFSR), giri\u015f biti \xf6nceki durumunun do\u011frusal bir fonksiyonu olan bir dijital devredir."}),"\n",(0,r.jsx)(n.p,{children:"En yayg\u0131n kullan\u0131lan do\u011frusal fonksiyonu, XOR fonksiyonudur. Bu nedenle, bir LFSR \xe7o\u011funlukla baz\u0131 bitlerinin XOR kap\u0131s\u0131 taraf\u0131ndan y\xf6nlendirilen bir dijital devredir."}),"\n",(0,r.jsx)(i,{alt:"lfsr",src:"/images/hafta4/8.gif"}),"\n",(0,r.jsx)("hr",{}),"\n",(0,r.jsx)(n.h2,{children:"Rastgelelik ve S\xf6zde Rastgelelik (Pseudorandom)"}),"\n",(0,r.jsx)(n.p,{children:"Rastgelelik, bilgide kesin bir \xf6ng\xf6r\xfclebilirli\u011fin olmamas\u0131d\u0131r. Rastgele ad\u0131mlar dizisinin \xe7o\u011fu zaman bir s\u0131ras\u0131 yoktur ve anla\u015f\u0131l\u0131r bir model veya kombinasyon izlemez."}),"\n",(0,r.jsx)(n.p,{children:"S\xf6zde rasgele say\u0131 dizisi, tamamen deterministik ve tekrarlanabilir bir s\xfcre\xe7 taraf\u0131ndan \xfcretilmi\u015f olmas\u0131na ra\u011fmen istatistiksel olarak rasgele g\xf6r\xfcnen bir dizidir."}),"\n",(0,r.jsx)(n.p,{children:"\u0130nsanlar i\xe7in mevcut olan geleneksel rastgelelik kaynaklar\u0131 (zar atmak gibi), bilgisayarlar taraf\u0131ndan kolayca kullan\u0131lamayan fiziksel s\xfcre\xe7lere dayan\u0131r."}),"\n",(0,r.jsx)("hr",{}),"\n",(0,r.jsx)(n.h3,{children:"Linear Congruential Generator (LCG)"}),"\n",(0,r.jsx)(n.p,{children:"LCG, do\u011frusal denklemle hesaplanan s\xf6zde rastgele say\u0131lar\u0131n bir dizisini veren bir algoritmad\u0131r. Y\xf6ntem, en eski ve en iyi bilinen s\xf6zde rastgele say\u0131 \xfcreteci algoritmalar\u0131ndan birini temsil eder."}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-python",children:'MODULUS = 1033 # M, 0 < M \u2014 the "modulus"\nMULTIPLIER = 827 # A, 0 < A < M \u2014 the "multiplier"\nINCREMENT = 57 # C, 0 <= C < M \u2014 the "increment"\nSEED = 512 # X, 0 <= X < M \u2014 the "seed" or "start value"\n\n# X = (A*X + C) mod M\ndef lcg():\n\n global SEED\n \n SEED = (MULTIPLIER * SEED + INCREMENT) % MODULUS\n'})}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:["Online Python Editor: ",(0,r.jsx)(n.a,{href:"https://pythononline.net/",children:"https://pythononline.net/"})]}),"\n"]}),"\n",(0,r.jsx)("hr",{}),"\n",(0,r.jsx)(n.h2,{children:"Bu hafta neler yapt\u0131k ?"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Kriptolojinin ne oldu\u011funu"})," ve neden kullanmam\u0131z gerekti\u011fini \xf6\u011frendik."]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Kriptolojinin y\xfckseli\u015fini"})," ve fiziksel \u015fifreleme makinelerini \xf6\u011frendik."]}),"\n",(0,r.jsxs)(n.li,{children:["\u015eifrelemeyle \xe7ok kar\u0131\u015ft\u0131r\u0131lan ",(0,r.jsx)(n.strong,{children:"encoding/decoding"})," kavramlar\u0131n\u0131 \xf6\u011frendik."]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Encryption/Decryption"})," kavramlar\u0131n\u0131 ve en basit \u015fifreleme methodolojisini \xf6\u011frendik."]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"XOR \u015fifrelemeyi ve LFSR \u015fifrelemeyi"})," \xf6\u011frendik."]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Rastgelelik ve S\xf6zde Rastgelelik"})," kavramlar\u0131n\u0131 \xf6\u011frendik ve s\xf6zde rastgele say\u0131 \xfcreteci yapt\u0131k."]}),"\n"]})]})},i=Object.assign({},(0,s.ah)(),e.components),a=i.wrapper;return a?(0,r.jsx)(a,d({},e,{children:(0,r.jsx)(n,{})})):n()}var c=(0,r.jsx)(h,{});function m(e,n){throw new Error("Expected "+(n?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}function g(e){return(0,t.withSSG)((0,a.Z)({filename:"hafta-dort.mdx",route:"/haftalar/hafta-dort",meta:{title:"Hafta 4",date:"2019/10/4",description:"Kriptolojiye giri\u015f, Canl\u0131 d\xfcnya \xf6rnekleri, \u015eifreleme algoritmas\u0131 geli\u015ftirilmesi.",tag:"gnu/linux cryptography",author:"Abdullah Bagyapan"},pageMap:[{name:"haftalar",children:[{name:"hafta-bir",route:"/haftalar/hafta-bir",frontMatter:{title:"Hafta 1",date:"2022/5/5",description:"Linux'a giri\u015f.",tag:"gnu/linux",author:"Enes Kaya"}},{name:"hafta-dort",route:"/haftalar/hafta-dort",frontMatter:{title:"Hafta 4",date:"2019/10/4",description:"Kriptolojiye giri\u015f, Canl\u0131 d\xfcnya \xf6rnekleri, \u015eifreleme algoritmas\u0131 geli\u015ftirilmesi.",tag:"gnu/linux cryptography",author:"Abdullah Bagyapan"}},{name:"hafta-iki",route:"/haftalar/hafta-iki",frontMatter:{title:"Hafta 2",date:"2021/5/5",description:"Linux'ta kullan\u0131c\u0131-grup y\xf6netimini ve dosya-dizin izinlerini kavratmak.",tag:"gnu/linux",author:"Enes Kaya"}},{name:"hafta-sifir",route:"/haftalar/hafta-sifir",frontMatter:{title:"Hafta 0",date:"2023/5/5",description:"Linux'un genel bir tan\u0131m\u0131. Gerekli kurulumlar\u0131n ger\xe7ekle\u015ftirilmesi.",tag:"gnu/linux",author:"Enes Kaya"}},{name:"hafta-uc",route:"/haftalar/hafta-uc",frontMatter:{title:"Hafta 3",date:"2020/5/5",description:"Server kavram\u0131n\u0131n a\xe7\u0131klanmas\u0131, SSH Kullan\u0131m\u0131, Zamanlanm\u0131\u015f g\xf6revler olu\u015fturulmas\u0131.",tag:"gnu/linux",author:"Enes Kaya"}},{name:"index",route:"/haftalar",frontMatter:{type:"posts",title:"Haftalar",date:"2021-03-18T00:00:00.000Z"}}],route:"/haftalar"},{name:"index",route:"/",frontMatter:{type:"page",title:"Hakk\u0131nda",date:"2021-03-19T00:00:00.000Z"}},{name:"tags",children:[{name:"[tag]",route:"/tags/[tag]",frontMatter:{type:"tag",title:"Tagged Posts"}}],route:"/tags"}]},l.Z))(d({},e,{children:c}))}}},function(e){e.O(0,[774,353,888,179],(function(){return n=2101,e(e.s=n);var n}));var n=e.O();_N_E=n}]); \ No newline at end of file diff --git a/_next/static/chunks/pages/haftalar/hafta-iki-70e0c7d09d1a590c.js b/_next/static/chunks/pages/haftalar/hafta-iki-6d49e9edfdf05678.js similarity index 95% rename from _next/static/chunks/pages/haftalar/hafta-iki-70e0c7d09d1a590c.js rename to _next/static/chunks/pages/haftalar/hafta-iki-6d49e9edfdf05678.js index 2147dfd..7bf29aa 100644 --- a/_next/static/chunks/pages/haftalar/hafta-iki-70e0c7d09d1a590c.js +++ b/_next/static/chunks/pages/haftalar/hafta-iki-6d49e9edfdf05678.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[409],{7003:function(i,n,e){(window.__NEXT_P=window.__NEXT_P||[]).push(["/haftalar/hafta-iki",function(){return e(8433)}])},7845:function(i,n,e){"use strict";var r=e(5893),a=e(5988),l=(new Date).getFullYear();n.Z={footer:(0,r.jsxs)("small",{style:{display:"block",marginTop:"8rem"},className:"jsx-7c359fde634f3543",children:[(0,r.jsx)("time",{className:"jsx-7c359fde634f3543",children:l})," \xa9 PauSiber",(0,r.jsx)(a.default,{id:"7c359fde634f3543",children:"a.jsx-7c359fde634f3543{float:right}\n@media screen and (max-width:480px) {article.jsx-7c359fde634f3543{padding-top:2rem;\npadding-bottom:4rem}}"})]})}},8433:function(i,n,e){"use strict";e.r(n),e.d(n,{default:function(){return k}});var r=e(5893),a=e(8616),l=e(3805),s=e(7845),d=e(1151);function t(i,n,e){return n in i?Object.defineProperty(i,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):i[n]=e,i}function c(i){for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:{},n=function(){var n=Object.assign({h1:"h1",p:"p",strong:"strong",a:"a",h2:"h2",h4:"h4",ul:"ul",li:"li",pre:"pre",code:"code",table:"table",thead:"thead",tr:"tr",th:"th",tbody:"tbody",td:"td"},(0,d.ah)(),i.components),e=n.CenteredImageLightbox;return e||o("CenteredImageLightbox",!0),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.h1,{children:"Hafta 2"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"Ama\xe7 :"})," Kullan\u0131c\u0131-grup y\xf6netimini ve dosya-dizin izinlerini kavratmak."]}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"Yazarlar :"})," ",(0,r.jsx)(n.a,{href:"https://github.com/boratanrikulu",children:(0,r.jsx)(n.strong,{children:"boratanrikulu"})})," ",(0,r.jsx)(n.strong,{children:"&&"})," ",(0,r.jsx)(n.a,{href:"https://github.com/hasantezcan",children:(0,r.jsx)(n.strong,{children:"hasantezcan"})})]}),"\n",(0,r.jsx)("hr",{}),"\n",(0,r.jsx)(n.h2,{children:"Hastane \xd6rne\u011fi \xdczerinden A\xe7\u0131klanmas\u0131"}),"\n",(0,r.jsxs)(n.p,{children:["Bir hastane d\xfc\u015f\xfcn\xfcn, bu hastanede \xe7al\u0131\u015fanlar\u0131n kullanabilece\u011fi yaln\u0131z bir tane bilgisayar var. Ve hastanemizde \xe7al\u0131\u015fan \xfc\xe7 ana meslek grubu var. Bunlar; ",(0,r.jsx)(n.strong,{children:"doktorlar"}),", ",(0,r.jsx)(n.strong,{children:"g\xfcvenlik g\xf6revlileri"})," ve ",(0,r.jsx)(n.strong,{children:"a\u015f\xe7\u0131lar"}),"."]}),"\n",(0,r.jsx)(e,{alt:"pwd",src:"/images/hafta2/14.png",width:"800"}),"\n",(0,r.jsx)(n.p,{children:"Bu \xe7al\u0131\u015fanlar\u0131n tek bir bilgisayar\u0131 kullanmas\u0131n\u0131n iki farkl\u0131 seneryosu olabilir."}),"\n",(0,r.jsx)(n.h4,{children:'1 - \xdc\xe7 meslek grubu da ayn\u0131 bilgisayar\u0131 "tek oturum" \u015feklinde kullanabilir.'}),"\n",(0,r.jsxs)(n.p,{children:["Bu durumda doktor, bilgisayar\u0131 kulland\u0131\u011f\u0131 zaman, olmas\u0131 gerekti\u011fi gibi hastalar\u0131n\u0131n; raporlar\u0131na, filimlerine, ameliyat g\xf6r\xfcnt\xfclerine vb.. bilgilere ula\u015fabilir. Ayn\u0131 zamanda di\u011fer meslek gruplar\u0131 ile ortak bir bilgisayar kulland\u0131\u011f\u0131ndan; ",(0,r.jsx)(n.strong,{children:"g\xfcvenlik kameralar\u0131na"}),", o ay\u0131n ",(0,r.jsx)(n.strong,{children:"mutfak masraflar\u0131na"})," da bakabilir."]}),"\n",(0,r.jsx)(n.p,{children:"Ve bu durum di\u011fer meslek gruplar\u0131 i\xe7in de ge\xe7erlidir. Bir g\xfcvenlik g\xf6revlisinin ya da a\u015f\xe7\u0131n\u0131n herhangi bir hastan\u0131n raporlar\u0131na eri\u015febilmesi ne kadar g\xfcvenli ve do\u011furudur?"}),"\n",(0,r.jsx)(n.p,{children:"\u0130\u015fte bu durumun ya\u015fanmamas\u0131 i\xe7in, her bir \xe7al\u0131\u015fan i\xe7in ayr\u0131 bir kullan\u0131c\u0131 oturumu olu\u015ftururuz."}),"\n",(0,r.jsx)(n.h4,{children:"2 - Her bir \xe7al\u0131\u015fan i\xe7in ayr\u0131 bir oturum a\xe7\u0131labilir."}),"\n",(0,r.jsxs)(n.p,{children:["Bu durumda her bir \xe7al\u0131\u015fan\u0131n kendine ait bir ",(0,r.jsx)(n.strong,{children:"kullan\u0131c\u0131s\u0131"})," olaca\u011f\u0131ndan bir \xf6nceki durumda ya\u015fanan dosya eri\u015fim karma\u015fas\u0131 bu sefer olmayacakt\u0131r. Yani hi\xe7bir a\u015f\xe7\u0131, g\xfcvenlik kameralar\u0131na eri\u015fip bu kay\u0131tlar ile oynayamayacakt\u0131r. Her bir kullan\u0131c\u0131n\u0131n yetkileri belirli olacakt\u0131r."]}),"\n",(0,r.jsx)("hr",{}),"\n",(0,r.jsx)(n.h2,{children:"Hastane \xd6rne\u011fimizi Uygulayal\u0131m"}),"\n",(0,r.jsxs)(n.p,{children:["\u015eimdi gelin bu hastaneye ",(0,r.jsx)(n.strong,{children:"iki tane doktor"}),", ",(0,r.jsx)(n.strong,{children:"iki tane g\xfcvenlik g\xf6revlisi"})," ve ",(0,r.jsx)(n.strong,{children:"iki tane de a\u015f\xe7\u0131"})," ekleyelim."]}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:["Doktorlar","\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsx)(n.li,{children:"doktor_beyza"}),"\n",(0,r.jsx)(n.li,{children:"doktor_ahmed"}),"\n"]}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["G\xfcvenlik\xe7iler","\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsx)(n.li,{children:"guvenlik_aykut"}),"\n",(0,r.jsx)(n.li,{children:"guvenlik_ayse"}),"\n"]}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["A\u015f\xe7\u0131lar","\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsx)(n.li,{children:"asci_bora"}),"\n",(0,r.jsx)(n.li,{children:"asci_hayriye"}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,r.jsxs)(n.p,{children:["GNU/Linux da\u011f\u0131t\u0131mlar\u0131nda, sisteme bir kullan\u0131c\u0131 eklemek i\xe7in ",(0,r.jsx)(n.strong,{children:"adduser"})," komutu kullan\u0131labilir."]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{children:"\t[~$] adduser kullan\u0131c\u0131n\u0131n_ad\u0131\n"})}),"\n",(0,r.jsx)(e,{alt:"tldr useradd",src:"/images/hafta2/28.jpg",width:"800"}),"\n",(0,r.jsx)(e,{alt:"useradd",src:"/images/hafta2/29.jpg",width:"800"}),"\n",(0,r.jsx)(e,{alt:"home",src:"/images/hafta2/30.jpg",width:"800"}),"\n",(0,r.jsx)(n.p,{children:"\u015euan sistemimize alt\u0131 adet kullan\u0131c\u0131 ekledik."}),"\n",(0,r.jsx)("hr",{}),"\n",(0,r.jsx)(n.h4,{children:"Ekledi\u011fimiz Kullan\u0131c\u0131lar\u0131 G\xf6r\xfcnt\xfcleyelim"}),"\n",(0,r.jsxs)(n.p,{children:["GNU/Linux'da sistemde bulunan kullan\u0131c\u0131lar ",(0,r.jsx)(n.strong,{children:"/etc/passwd"})," dosyas\u0131nda s\u0131ralan\u0131r. Kullanc\u0131lar\u0131n bilgileri bu dosyada saklan\u0131r."]}),"\n",(0,r.jsx)(n.p,{children:"Bu dosyay\u0131 g\xf6r\xfcnt\xfclemek i\xe7in;"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{children:"\t[~$] cat /etc/passwd\n"})}),"\n",(0,r.jsx)(e,{alt:"pwd",src:"/images/hafta2/7.png",width:"800"}),"\n",(0,r.jsxs)(n.p,{children:["Dosya incelendi\u011finde ",(0,r.jsx)(n.strong,{children:"dev:x:1000:1000:PauSiber Dev,,,:/home/dev:/usr/bin/zsh"})," gibi ifadeler g\xf6z\xfck\xfcr. Hadi \u015fimdi bu ifadelerin ne anlama geldi\u011fini a\xe7\u0131klayal\u0131m."]}),"\n",(0,r.jsxs)(n.table,{children:[(0,r.jsx)(n.thead,{children:(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.th,{align:"center",children:"ifade"}),(0,r.jsx)(n.th,{align:"center",children:"a\xe7\u0131klama"})]})}),(0,r.jsxs)(n.tbody,{children:[(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{align:"center",children:(0,r.jsx)(n.strong,{children:"dev"})}),(0,r.jsx)(n.td,{align:"center",children:"kullan\u0131c\u0131 ad\u0131"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{align:"center",children:(0,r.jsx)(n.strong,{children:"x"})}),(0,r.jsx)(n.td,{align:"center",children:"kullanc\u0131n\u0131n parolas\u0131n\u0131 temsil eder"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{align:"center",children:(0,r.jsx)(n.strong,{children:"1000"})}),(0,r.jsx)(n.td,{align:"center",children:"kullan\u0131c\u0131n\u0131n \xfcyelik numaras\u0131d\u0131r (user ID)"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{align:"center",children:(0,r.jsx)(n.strong,{children:"1000"})}),(0,r.jsx)(n.td,{align:"center",children:"kullan\u0131c\u0131n\u0131n ait oldu\u011fu grubun numaras\u0131d\u0131r (group ID)"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{align:"center",children:(0,r.jsx)(n.strong,{children:"PauSiber Dev"})}),(0,r.jsx)(n.td,{align:"center",children:"kullanc\u0131 hakk\u0131nda kay\u0131tl\u0131 bilgi"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{align:"center",children:(0,r.jsx)(n.strong,{children:"/usr/bin/zsh"})}),(0,r.jsx)(n.td,{align:"center",children:"kullan\u0131c\u0131n\u0131n shell dizini"})]})]})]}),"\n",(0,r.jsx)("hr",{}),"\n",(0,r.jsx)(n.h4,{children:"Gruplar\u0131m\u0131z\u0131 Olu\u015ftural\u0131m"}),"\n",(0,r.jsx)(n.p,{children:"Peki bu hastanede bir tane mi doktar var ? Tabiki de hay\u0131r. Bir meslek grubuna dahil birden fazla \xe7al\u0131\u015fan olabilir. Ayn\u0131 meslek grubunda bulunan \xe7al\u0131\u015fanlar\u0131n g\xf6rev tan\u0131mlar\u0131 birbirleri ile \xf6rt\xfc\u015f\xfcr. Ayn\u0131 meslek grubunda olanlar\u0131 gruplara toplamam\u0131z mant\u0131kl\u0131 bir hareket olacakt\u0131r."}),"\n",(0,r.jsx)(n.p,{children:"\u015euan hastanemizde \xfc\xe7 farkl\u0131 meslek grubuna ait iki\u015fer tane \xe7al\u0131\u015fan\u0131m\u0131z var. Gelin \u015fimdi bu meslek gruplar\u0131 i\xe7in sistemimizde bunu ifade edecek yeni gruplar olu\u015ftural\u0131m."}),"\n",(0,r.jsxs)(n.p,{children:["GNU/Linux da\u011f\u0131t\u0131mlar\u0131nda, sisteme bir grup eklemek i\xe7in ",(0,r.jsx)(n.strong,{children:"groupadd"})," komutu kullan\u0131labilir."]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{children:"\t[~#] groupadd grubun_ismi\n"})}),"\n",(0,r.jsx)(e,{alt:"pwd",src:"/images/hafta2/8.png",width:"800"}),"\n",(0,r.jsxs)(n.p,{children:["Sistemimize \xfc\xe7 adet yeni grup ekledik. Sistemimizde bulunan gruplar ",(0,r.jsx)(n.strong,{children:"/etc/group"})," dosyas\u0131nda s\u0131ralan\u0131r."]}),"\n",(0,r.jsx)(n.p,{children:"Bu dosyay\u0131 g\xf6r\xfcnt\xfclemek i\xe7in;"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{children:"\t[~$] cat /etc/group\n"})}),"\n",(0,r.jsx)(e,{alt:"pwd",src:"/images/hafta2/9.png",width:"800"}),"\n",(0,r.jsxs)(n.p,{children:['Son g\xf6rselde de g\xf6r\xfcld\xfc\u011f\xfc \xfczere bizim ekledi\u011fimiz gruplar\u0131n haricinde, \xf6nceden ekledi\u011fimiz kullac\u0131lar da burada g\xf6z\xfckmekte. \xd6rne\u011fin "doktor_beyza" gibi bir grup sistemde \xe7oktand\u0131r eklenmi\u015f durumda. ',(0,r.jsx)(n.strong,{children:"Peki bu nas\u0131l oluyor?"})]}),"\n",(0,r.jsx)(n.p,{children:"GNU/Linux da\u011f\u0131t\u0131mlar\u0131nda, sisteme yeni bir kullan\u0131c\u0131 ekledi\u011finizde, sisteme ayn\u0131 anda bu kullan\u0131c\u0131 ad\u0131nda bir de grup ekler."}),"\n",(0,r.jsx)("hr",{}),"\n",(0,r.jsx)(n.h4,{children:"\xc7al\u0131\u015fanlar\u0131m\u0131z\u0131 Gruplar\u0131na Ekleyelim"}),"\n",(0,r.jsx)(n.p,{children:"Evet, \u015fuan hastanemizde alt\u0131 adet \xe7al\u0131\u015fan ve bununla birlikte hen\xfcz daha hi\xe7bir personeli dahil etmedi\u011fimiz \xfc\xe7 tane de meslek grubumuz var. \u015eimdi \xe7al\u0131\u015fanlar\u0131m\u0131z\u0131 ait olduklar\u0131 meslek gruplar\u0131na ekleyelim."}),"\n",(0,r.jsxs)(n.p,{children:["Bunu yapmak i\xe7in ",(0,r.jsx)(n.strong,{children:"gpasswd"})," komutu kullan\u0131labilir."]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{children:"\t[~#] gpasswd --add kullan\u0131c\u0131_adi grup_adi\n"})}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"Not :"})," Burada ",(0,r.jsx)(n.strong,{children:"--add"})," parametresi olduk\xe7a kritiktir. E\u011fer kullan\u0131lmaz ise kullan\u0131c\u0131y\u0131 hali haz\u0131rda bulundu\u011fu t\xfcm gruplardan \xe7\u0131kar\u0131r ve yeni gruba ekler. Fakat bizim istedi\u011fimiz bu de\u011fil, kullan\u0131c\u0131n\u0131n hali haz\u0131rda bulundu\u011fu gruplar\u0131 de\u011fi\u015ftirmek istemiyoruz, yaln\u0131zca yeni bir gruba dahil etmek istiyoruz, bu durumda ",(0,r.jsx)(n.strong,{children:"--add"})," parametresi kullanmam\u0131z bir gerekliliktir."]}),"\n",(0,r.jsx)(e,{alt:"pwd",src:"/images/hafta2/10.png",width:"800"}),"\n",(0,r.jsxs)(n.p,{children:["Ekleme i\u015flemlerimizi yapt\u0131k. \u015eimdi ",(0,r.jsx)(n.strong,{children:"/etc/group"}),"' u yeniden g\xf6r\xfcnt\xfcleyelim."]}),"\n",(0,r.jsx)(e,{alt:"pwd",src:"/images/hafta2/11.png",width:"800"}),"\n",(0,r.jsx)(n.p,{children:"Ba\u015far\u0131l\u0131 bir \u015fekilde personelimizi gruplar\u0131na ekledik."}),"\n",(0,r.jsx)("hr",{}),"\n",(0,r.jsx)(n.h4,{children:"Hastane M\xfcd\xfcr\xfcm\xfcz, Nam-\u0131 De\u011fer ROOT !"}),"\n",(0,r.jsx)(n.p,{children:"\u015eimdi s\u0131ra hastanenin m\xfcd\xfcr\xfcnden bahsetmeye geldi. Hastane m\xfcd\xfcr\xfc hastanedeki en yetkili ki\u015fidir. Doktorlar\u0131n, g\xfcvenlik g\xf6revlilerinin ve a\u015f\xe7\u0131n\u0131n eri\u015febildi\u011fi verilerin hepsine eri\u015febilir. Asl\u0131nda o da bir \xe7al\u0131\u015fand\u0131r, fakat \xf6zel bir \xe7al\u0131\u015fand\u0131r. Yetkileri onu di\u011fer \xe7al\u0131\u015fanlardan ayr\u0131\u015ft\u0131r\u0131r."}),"\n",(0,r.jsxs)(n.p,{children:["GNU/Linux sistemlerde bahsetti\u011fimiz hastane m\xfcdr\xfcn\xfcn kar\u015f\u0131l\u0131\u011f\u0131 ",(0,r.jsx)(n.strong,{children:"root"})," kullan\u0131c\u0131s\u0131d\u0131r. Root kullanc\u0131s\u0131 sistemdeki en yetkili kullanc\u0131d\u0131r. Sistemdeki t\xfcm dosyalara eri\u015fim yetkisi vard\u0131r."]}),"\n",(0,r.jsx)("hr",{}),"\n",(0,r.jsx)(n.h4,{children:"\xc7al\u0131\u015fanlar\u0131n Odalar\u0131, /home dizinleri"}),"\n",(0,r.jsx)(n.p,{children:"Hastanemizde \xe7al\u0131\u015fan t\xfcm personelin kendine ait bir odas\u0131 vard\u0131r. \xc7al\u0131\u015fanlar bu odalarda kendi ki\u015fisel e\u015fyalar\u0131n\u0131 saklarlar."}),"\n",(0,r.jsxs)(n.p,{children:["GNU/Linux i\u015fletim sistemlerinde sisteme kay\u0131tl\u0131 her insan kullanc\u0131 i\xe7in ",(0,r.jsx)(n.strong,{children:"/home"})," dizini alt\u0131nda o kullanc\u0131ya tahsis edilmi\u015f bir alan mevcuttur. Kullan\u0131c\u0131lar bu dizinde verilerini diledikleri \u015fekilde depolarlar."]}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"root"})," kullanc\u0131s\u0131n\u0131n da kendine ait bir odas\u0131 vard\u0131r. Fakat ",(0,r.jsx)(n.strong,{children:"root"})," kullac\u0131s\u0131na ayr\u0131lm\u0131\u015f bu alan direkt ",(0,r.jsx)(n.strong,{children:"root"})," dizini alt\u0131nda ayr\u0131lm\u0131\u015f ",(0,r.jsx)(n.strong,{children:"/root"})," dizinidir."]}),"\n",(0,r.jsx)(e,{alt:"pwd",src:"/images/hafta2/17.png",width:"800"}),"\n",(0,r.jsx)("hr",{}),"\n",(0,r.jsx)(n.h4,{children:"Hastanemizden \xc7al\u0131\u015fan \xc7\u0131karal\u0131m"}),"\n",(0,r.jsxs)(n.p,{children:["Hastanemizden, yani sistemimizden bir kullan\u0131c\u0131y\u0131 silmek istersek ",(0,r.jsx)(n.strong,{children:"deluser"})," komutunu kullanabiliriz."]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{children:"\t[~#] deluser --remove-home kullanc\u0131_adi\n"})}),"\n",(0,r.jsx)(n.p,{children:"\u015eimdi sistemimizde kay\u0131tl\u0131 olan doktor_ahmedi a\u015fa\u011f\u0131daki \xf6rnekteki gibi i\u015ften \xe7\u0131karal\u0131m."}),"\n",(0,r.jsx)(e,{alt:"pwd",src:"/images/hafta2/12.png",width:"800"}),"\n",(0,r.jsx)("hr",{}),"\n",(0,r.jsx)(n.h4,{children:"Kullanc\u0131n\u0131n Parolalar\u0131n\u0131n De\u011fi\u015ftirilmesi"}),"\n",(0,r.jsxs)(n.p,{children:["E\u011fer bir kullan\u0131c\u0131 parolas\u0131n\u0131 de\u011fi\u015ftirmek ister ise ",(0,r.jsx)(n.strong,{children:"passwd"})," komutu kullan\u0131labilir."]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{children:"\t[~$] passwd\n"})}),"\n",(0,r.jsx)(e,{alt:"pwd",src:"/images/hafta2/13.png",width:"800"}),"\n",(0,r.jsx)("hr",{}),"\n",(0,r.jsx)(n.h4,{children:"Bir \xc7al\u0131\u015fan\u0131m\u0131z\u0131 Grubundan \xc7\u0131karal\u0131m"}),"\n",(0,r.jsxs)(n.p,{children:["\xd6rne\u011fin guvenl\u0131k_aykut kullan\u0131c\u0131s\u0131n\u0131n art\u0131k guvenlik grubunda bulunmas\u0131n\u0131 istemiyorsak ",(0,r.jsx)(n.strong,{children:"gpasswd"})," ile birlikte ",(0,r.jsx)(n.strong,{children:"--delete"})," parametresini kullanarak bu i\u015flemi ger\xe7ekle\u015ftirebiliriz."]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{children:"\t[~#] gpasswd --delete guvenlik_aykut guvenlikciler\n"})}),"\n",(0,r.jsx)(e,{alt:"pwd",src:"/images/hafta2/18.png",width:"800"}),"\n",(0,r.jsxs)(n.p,{children:["Kullan\u0131c\u0131y\u0131 \xf6rnek amac\u0131yla grubundan \xe7\u0131karm\u0131\u015ft\u0131k, \u015fimdi geri dahil edelim ",(0,r.jsx)(n.strong,{children:":)"}),"."]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{children:"\t[~#] gpasswd --add guvenlik_aykut guvenlikciler\n"})}),"\n",(0,r.jsx)("hr",{}),"\n",(0,r.jsx)(n.h4,{children:"Bir Grubumuzu Silelim"}),"\n",(0,r.jsxs)(n.p,{children:["\xd6rne\u011fin sistemimize hem\u015fireler grubunu eklemi\u015f olal\u0131m, e\u011fer bu gruba ihtiyac\u0131m\u0131z art\u0131k kalmaz ise grubu silebiliriz. Grubu silmek i\xe7in ",(0,r.jsx)(n.strong,{children:"groupdel"})," komutu kullan\u0131l\u0131r."]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{children:"\t[~#] groupdel hemsireler\n"})}),"\n",(0,r.jsx)(e,{alt:"pwd",src:"/images/hafta2/15.png",width:"800"}),"\n",(0,r.jsx)("hr",{}),"\n",(0,r.jsx)(n.h2,{children:"Hastane Y\xf6netimi"}),"\n",(0,r.jsxs)(n.p,{children:["Hastane \xf6rne\u011fimizde ",(0,r.jsx)(n.strong,{children:"hastalar"}),", ",(0,r.jsx)(n.strong,{children:"kameralar"})," ve ",(0,r.jsx)(n.strong,{children:"yemekhane"})," dizinlerimiz olacak. Fakat tahmin edece\u011finiz \xfczere bu dosyalara yaln\u0131zca belirli meslek gruplar\u0131n\u0131n ve belirli kullan\u0131c\u0131lar\u0131n yetki sahibi olmas\u0131n\u0131 bekleriz."]}),"\n",(0,r.jsx)(n.p,{children:"A\u015fa\u011f\u0131daki gibi dizinleri olu\u015ftural\u0131m."}),"\n",(0,r.jsx)(e,{alt:"pwd",src:"/images/hafta2/19.png",width:"800"}),"\n",(0,r.jsx)(n.p,{children:"Dizinlerimiz i\xe7erisine a\u015fa\u011f\u0131daki gibi gerekli dosyalar\u0131 da olu\u015ftural\u0131m."}),"\n",(0,r.jsx)(n.p,{children:"Bu dizinlerin sahiplik ve izinlerini ayarlama i\u015flemine ge\xe7meden \xf6nce GNU/Linux'da dosya ve dizin kavramlar\u0131ndan bahsetmeliyiz."}),"\n",(0,r.jsx)(e,{alt:"pwd",src:"/images/hafta2/20.png",width:"800"}),"\n",(0,r.jsx)("hr",{}),"\n",(0,r.jsx)(n.h2,{children:"Dosya ve Dizin Kavramlar\u0131"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"GNU/Linux'ta her \u015fey birer dosyad\u0131r"}),". ",(0,r.jsx)(n.a,{href:"https://stackoverflow.com/a/10893965",children:(0,r.jsx)(n.strong,{children:"[1]"})})]}),"\n",(0,r.jsxs)(n.p,{children:["\xd6z\xfcnde ",(0,r.jsx)(n.strong,{children:"dizinler de dosyalar\u0131n konumunu belirten birer \xf6zel dosyad\u0131r."})," Dizinler veri i\xe7eremez, yaln\u0131zca konum belirtmek ama\xe7l\u0131 kullan\u0131labilirler. Dizinlerin bir t\xfcr\xfc yoktur, uzant\u0131s\u0131 yoktur. Dosyalar\u0131n ise bir t\xfcr\xfc vard\u0131r, uzant\u0131s\u0131 bulunabilir."]}),"\n",(0,r.jsx)(n.p,{children:"Dizin ve dosya isimleri ayn\u0131 olamaz."}),"\n",(0,r.jsx)("hr",{}),"\n",(0,r.jsx)(n.h4,{children:"Dosya ve Dizin \u0130zinlerinin \u0130ncelenmesi"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"ls"})," ile dosyalar\u0131n izinleri incelenebilir."]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{children:"\t[~$] ls -l fileName\n"})}),"\n",(0,r.jsx)(e,{src:"/images/hafta2/dosya-ve-dizin-izinleri/0.png"}),"\n",(0,r.jsx)(n.p,{children:"Dosya ve dizin i\u015flemlerine bak\u0131ld\u0131\u011f\u0131nda 10 karakterden olu\u015fan bir yap\u0131 g\xf6r\xfcn\xfcr."}),"\n",(0,r.jsx)(n.p,{children:"Bu karakterler"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:["dosyalar i\xe7in ",(0,r.jsx)(n.strong,{children:"r"}),"[read] okumak, ",(0,r.jsx)(n.strong,{children:"w"}),"[write] yazmak, ",(0,r.jsx)(n.strong,{children:"x"}),"[execute] \xe7al\u0131\u015ft\u0131rmak"]}),"\n",(0,r.jsxs)(n.li,{children:["dizinler i\xe7in ",(0,r.jsx)(n.strong,{children:"r"}),"[read] i\xe7eri\u011fini g\xf6r\xfcnt\xfcleyebilmek, ",(0,r.jsx)(n.strong,{children:"w"}),"[write] alt dosya ve dizinler olu\u015fturabilmek, ",(0,r.jsx)(n.strong,{children:"x"}),"[execute] cd ile i\xe7ine girebilmek"]}),"\n"]}),"\n",(0,r.jsx)(n.p,{children:"izinlerini temsilen kullan\u0131l\u0131r."}),"\n",(0,r.jsx)(n.p,{children:"Bunlar\u0131 a\u015fa\u011f\u0131daki gibi \xfc\xe7erli olarak grupland\u0131rarak incelemekte fayda vard\u0131r."}),"\n",(0,r.jsx)(e,{src:"/images/hafta2/dosya-ve-dizin-izinleri/1.jpg"}),"\n",(0,r.jsx)(n.p,{children:"Yani bu \xf6rnektekinin;"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:["bir ",(0,r.jsx)(n.strong,{children:"dizin"})," oldu\u011funu,"]}),"\n",(0,r.jsxs)(n.li,{children:["dosya kullan\u0131c\u0131s\u0131n\u0131n ",(0,r.jsx)(n.strong,{children:"okuma/yazma/\xe7al\u0131\u015ft\u0131rma"}),","]}),"\n",(0,r.jsxs)(n.li,{children:["dosya grubunun ",(0,r.jsx)(n.strong,{children:"okuma/\xe7al\u0131\u015ft\u0131rma"}),","]}),"\n",(0,r.jsxs)(n.li,{children:["di\u011fer herkesin de ",(0,r.jsx)(n.strong,{children:"okuma/\xe7al\u0131\u015ft\u0131rma"})]}),"\n"]}),"\n",(0,r.jsx)(n.p,{children:"iznine sahip oldu\u011funu g\xf6r\xfcyoruz. Ayr\u0131ca bu dosyalar\u0131n fsutil kullan\u0131c\u0131s\u0131na ait oldu\u011funu ve group'unun users oldu\u011funu incelemi\u015f olduk."}),"\n",(0,r.jsx)("hr",{}),"\n",(0,r.jsx)(n.h4,{children:"Hastane Dosya Sahipliklerinin De\u011fi\u015ftirilmesi"}),"\n",(0,r.jsx)(n.p,{children:"\u015eimdi teorik bilgimizi edikten sonra hastane \xf6rne\u011fimize geri d\xf6nebiliriz."}),"\n",(0,r.jsxs)(n.p,{children:["Dosyalar\u0131n sahipliklerini user ve group baz\u0131nda de\u011fi\u015ftirece\u011fiz. Bunun i\xe7in ",(0,r.jsx)(n.strong,{children:"chown"})," komutu kullanabiliriz. Yap\u0131s\u0131 olduk\xe7a basittir."]}),"\n",(0,r.jsx)(n.p,{children:"Genel syntax \xf6rnekleri a\u015fa\u011f\u0131daki gibidir."}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{children:"\t[~#] chown yeniSahip dosya_adi\n"})}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{children:"\t[~#] chown yeniSahip:yeniGroup dosya_adi\n"})}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{children:"\t[~#] chown :yeniGroup dosya_adi\n"})}),"\n",(0,r.jsxs)(n.p,{children:["A\u015fa\u011f\u0131daki gibi 3 dizin i\xe7in de ",(0,r.jsx)(n.strong,{children:"-R"})," parametresini kullanarak dosyalar\u0131n group bilgilerini de\u011fi\u015ftirelim."]}),"\n",(0,r.jsxs)(n.p,{children:["Burada ",(0,r.jsx)(n.strong,{children:"-R"})," parametresini kullanma sebebimiz belirtti\u011fimiz i\u015flemi recursive olarak t\xfcm alt(sub) dosya ve dizinlere uygulanmas\u0131 gerekti\u011fini belirtmek i\xe7indir."]}),"\n",(0,r.jsx)(e,{src:"/images/hafta2/21.png"}),"\n",(0,r.jsx)(n.p,{children:"T\xfcm hastane dosyalar\u0131m\u0131z\u0131n group sahipliklerini de\u011fi\u015ftirdik. Fakat dosyalar\u0131n kullan\u0131c\u0131 sahiplikleri halen belirlenmi\u015f de\u011fil. Her dosyan\u0131n sahibi olarak meslek grubundan belirlenen bir kullan\u0131c\u0131y\u0131 atamak istiyoruz. A\u015fa\u011f\u0131daki gibi ad\u0131mlar\u0131 ger\xe7ekle\u015ftirdik."}),"\n",(0,r.jsx)(e,{src:"/images/hafta2/22.png"}),"\n",(0,r.jsx)(n.p,{children:"Dosya sahipliklerini ayarlad\u0131k."}),"\n",(0,r.jsx)("hr",{}),"\n",(0,r.jsx)(n.h4,{children:"Hastane Dosya \u0130zinlerinin De\u011fi\u015ftirilmesi"}),"\n",(0,r.jsx)(n.p,{children:"Burada kurmak iste\u011fimiz yap\u0131 \u015fu \u015fekilde; ilgi dizinler ve dosyalar meslek grubundaki herkes taraf\u0131ndan okunabilir, \xe7al\u0131\u015ft\u0131r\u0131labilir olmal\u0131; meslek grubundan belirlenen yaln\u0131zca bir ki\u015fi dosya \xfczerinde de\u011fi\u015ftirme yetkisine sahip olmal\u0131."}),"\n",(0,r.jsx)(n.p,{children:"Bunun i\xe7in dosyalar\u0131n izinlerini de\u011fi\u015ftirece\u011fiz."}),"\n",(0,r.jsxs)(n.p,{children:["Bunun i\xe7in ",(0,r.jsx)(n.strong,{children:"chmod"})," komutu kullanabilirz. Chmod'un iki tip kullan\u0131m\u0131 vard\u0131r; ",(0,r.jsx)(n.strong,{children:"text method"})," ve ",(0,r.jsx)(n.strong,{children:"numeric method"}),". Text method g\xfcnl\xfck kullan\u0131mda daha \xe7ok kullan\u0131l\u0131r, basit olmas\u0131 a\xe7\u0131s\u0131ndan. Numeric method daha \xe7ok script'lerde kullan\u0131l\u0131r."]}),"\n",(0,r.jsx)(n.p,{children:"Text Method'un genel kullan\u0131m syntax'\u0131 a\u015fa\u011f\u0131daki gibidir."}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{children:"\t[~$] chmod kim=izinYetkisi dosyaAd\n"})}),"\n",(0,r.jsxs)(n.p,{children:["Burada ",(0,r.jsx)(n.strong,{children:"kim"})," ifadesi, i\u015flemi hangi ki\u015filer i\xe7in yapaca\u011f\u0131n\u0131 belirtmek i\xe7in kullan\u0131r\u0131z."]}),"\n",(0,r.jsxs)(n.table,{children:[(0,r.jsx)(n.thead,{children:(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.th,{align:"center",children:"Text"}),(0,r.jsx)(n.th,{align:"center",children:"Class"}),(0,r.jsx)(n.th,{align:"center",children:"A\xe7\u0131klama"})]})}),(0,r.jsxs)(n.tbody,{children:[(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{align:"center",children:(0,r.jsx)(n.strong,{children:"u"})}),(0,r.jsx)(n.td,{align:"center",children:"Owner"}),(0,r.jsx)(n.td,{align:"center",children:"Dosyaya sahip olan kullan\u0131c\u0131"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{align:"center",children:(0,r.jsx)(n.strong,{children:"g"})}),(0,r.jsx)(n.td,{align:"center",children:"Group"}),(0,r.jsx)(n.td,{align:"center",children:"Dosyan\u0131n ait oldu\u011fu grup"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{align:"center",children:(0,r.jsx)(n.strong,{children:"o"})}),(0,r.jsx)(n.td,{align:"center",children:"Other"}),(0,r.jsx)(n.td,{align:"center",children:"Di\u011fer herkes"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{align:"center",children:(0,r.jsx)(n.strong,{children:"a"})}),(0,r.jsx)(n.td,{align:"center",children:"All"}),(0,r.jsxs)(n.td,{align:"center",children:["Herkes (",(0,r.jsx)(n.strong,{children:"ugo"})," ile ayn\u0131 anlama gelir)"]})]})]})]}),"\n",(0,r.jsxs)(n.p,{children:["\xd6rnekte ",(0,r.jsx)(n.strong,{children:"="})," olarak ifade ise verilen i\u015flem ile ne yap\u0131laca\u011f\u0131n\u0131 belirtmek amac\u0131yla kullan\u0131r\u0131z."]}),"\n",(0,r.jsxs)(n.table,{children:[(0,r.jsx)(n.thead,{children:(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.th,{align:"center",children:"Operator"}),(0,r.jsx)(n.th,{align:"center",children:"A\xe7\u0131klama"})]})}),(0,r.jsxs)(n.tbody,{children:[(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{align:"center",children:(0,r.jsx)(n.strong,{children:"+"})}),(0,r.jsx)(n.td,{align:"center",children:"Yetkiyi ilgili kullan\u0131c\u0131lara ekler"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{align:"center",children:(0,r.jsx)(n.strong,{children:"-"})}),(0,r.jsx)(n.td,{align:"center",children:"Yetkiyi ilgili kullan\u0131c\u0131lardan \xe7\u0131kar\u0131r"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{align:"center",children:(0,r.jsx)(n.strong,{children:"="})}),(0,r.jsx)(n.td,{align:"center",children:"Yetkiyi e\u015fitler"})]})]})]}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"\u0130zin yetkisi"})," ise verilecek olan izindir. Yani; r, w, x gibi ifadeler girilir."]}),"\n",(0,r.jsx)("hr",{}),"\n",(0,r.jsx)(n.h4,{children:"Dosyalar\u0131m\u0131z\u0131n \u0130zinlerini Ayarlayal\u0131m"}),"\n",(0,r.jsx)(n.p,{children:"\u015eimdi \xf6\u011frendi\u011fimiz teorik bilgileri, hastane \xf6rne\u011fimiz \xfczerinde uygulayarak prati\u011fe d\xf6kelim."}),"\n",(0,r.jsxs)(n.p,{children:["\u0130lk olarak t\xfcm dosya group'lar\u0131ndan yazma yetkisini \xe7\u0131karaca\u011f\u0131z. Bunun i\xe7in a\u015fa\u011f\u0131daki gibi bir ifade kullanmam\u0131z yeterlidir. A\u015fa\u011f\u0131daki ifade, dosyan\u0131n group sahipli\u011finden yazma ",(0,r.jsx)(n.strong,{children:"[w]"})," yetkisini \xe7\u0131karmam\u0131z\u0131 sa\u011flar. Art\u0131k group yetkisi kullan\u0131larak dosya \xfczerinde yazma i\u015flemi yap\u0131lamayacakt\u0131r."]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{children:"\t[~#] chmod g-w -R dizin/\n"})}),"\n",(0,r.jsx)(e,{src:"/images/hafta2/23.png"}),"\n",(0,r.jsxs)(n.p,{children:["Ayr\u0131ca ",(0,r.jsx)(n.strong,{children:"other"}),"'\u0131n dosya \xfczerinde hi\xe7bir yetkisinin olmas\u0131n\u0131 istemiyoruz. Bunun i\xe7in de a\u015fa\u011f\u0131daki gibi \xf6rne\u011fimizi uygular\u0131z. Other'\u0131n sahip oldu\u011fu t\xfcm yetkiyi kald\u0131rm\u0131\u015f oluruz."]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{children:"\t[~#] chmod o-rwx -R dizin/\n"})}),"\n",(0,r.jsx)(e,{src:"/images/hafta2/24.png"}),"\n",(0,r.jsxs)(n.p,{children:["Bu i\u015flemi uygulad\u0131\u011f\u0131m\u0131zda klas\xf6r'\xfcn i\xe7inde neler oldu\u011funa bile bakamay\u0131z, \xe7\xfcnk\xfc \u015fu ana kadar olan t\xfcm i\u015flemleri PauSiber Dev'in normal kullan\u0131c\u0131s\u0131 olan ",(0,r.jsx)(n.strong,{children:"dev"})," ile yapt\u0131k, dizinler \xfczerinde dev kullan\u0131c\u0131s\u0131 other olarak g\xf6z\xfck\xfcr. dev'in hi\xe7bir yetkisi olmad\u0131\u011f\u0131 i\xe7in dizin i\xe7lerini g\xf6remeyiz."]}),"\n",(0,r.jsx)(n.p,{children:"Dizinlerin i\xe7erisini g\xf6r\xfcnt\xfclemek i\xe7in meslek grubundan bir kullan\u0131c\u0131ya ge\xe7i\u015f yapabiliriz."}),"\n",(0,r.jsx)(n.p,{children:"E\u011fer dosyalar \xfczerinden yazma i\u015flemi yapmak istersek de meslek grubundan \u015fef olarak se\xe7ti\u011fimiz kullan\u0131c\u0131ya ge\xe7i\u015f yapmam\u0131z gerekir."}),"\n",(0,r.jsxs)(n.p,{children:["Ba\u015fka bir kullan\u0131c\u0131ya ge\xe7i\u015f yapmak i\xe7in ",(0,r.jsx)(n.strong,{children:"su"})," komutunu kullanabiliriz."]}),"\n",(0,r.jsx)(e,{src:"/images/hafta2/25.png"}),"\n",(0,r.jsx)("hr",{}),"\n",(0,r.jsx)(n.h4,{children:"Numeric Method ile \u0130zin \u0130\u015flemlerinin Yap\u0131lmas\u0131"}),"\n",(0,r.jsx)(n.p,{children:"Az \xf6nce, text method \xf6rneklerimizi yapmadan \xf6nce, numeric method da oldu\u011funu s\xf6ylemi\u015ftik. Bu method'u uygulayabilmemiz i\xe7in baz\u0131 bilgilere ihtiyac\u0131m\u0131z var."}),"\n",(0,r.jsxs)(n.p,{children:["Daha \xf6nceden \xf6\u011frendi\u011fimiz gibi, dosya ve dizinlerin izinleri ",(0,r.jsx)(n.strong,{children:"r"}),", ",(0,r.jsx)(n.strong,{children:"w"})," ve ",(0,r.jsx)(n.strong,{children:"x"})," ile temsil edilir. Her yetkinin numarasal olarak bir kar\u015f\u0131l\u0131\u011f\u0131 vard\u0131r. Bunlar a\u015fa\u011f\u0131daki gibidir."]}),"\n",(0,r.jsxs)(n.table,{children:[(0,r.jsx)(n.thead,{children:(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.th,{align:"center",children:"\u0130zin"}),(0,r.jsx)(n.th,{align:"center",children:"Numara Kar\u015f\u0131l\u0131\u011f\u0131"})]})}),(0,r.jsxs)(n.tbody,{children:[(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{align:"center",children:(0,r.jsx)(n.strong,{children:"r"})}),(0,r.jsx)(n.td,{align:"center",children:"4"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{align:"center",children:(0,r.jsx)(n.strong,{children:"w"})}),(0,r.jsx)(n.td,{align:"center",children:"2"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{align:"center",children:(0,r.jsx)(n.strong,{children:"x"})}),(0,r.jsx)(n.td,{align:"center",children:"1"})]})]})]}),"\n",(0,r.jsx)(e,{src:"/images/hafta2/dosya-ve-dizin-izinleri/1.jpg"}),"\n",(0,r.jsx)(n.p,{children:"Bir dosyan\u0131n yetkisinin numarasal kar\u015f\u0131l\u0131\u011f\u0131n\u0131 g\xf6stermek i\xe7in 3 basamakl\u0131 bir say\u0131 kullan\u0131r\u0131z. Bu 3 basamakl\u0131 say\u0131y\u0131 elde etmek i\xe7in yetkileri \xfc\xe7erli olarak grupland\u0131r\u0131p toplar\u0131z."}),"\n",(0,r.jsxs)(n.p,{children:["Kendimiz toplamak yerine, bir dosyan\u0131n yetkisinin numarasal kar\u015f\u0131l\u0131\u011f\u0131n\u0131 direkt olarak g\xf6rmek i\xe7in ",(0,r.jsx)(n.strong,{children:"stat"})," komutu kullan\u0131labilir."]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{children:"\t[~$] stat -c %a dosyaAdi\n"})}),"\n",(0,r.jsx)(e,{src:"/images/hafta2/26.png"}),"\n",(0,r.jsx)(n.p,{children:"Dosyan\u0131n izinlerini numeric method ile de\u011fi\u015ftirmek istiyorsak a\u015fa\u011f\u0131daki gibi bir syntax kullan\u0131r\u0131z."}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{children:"\t[~$] chmod XXX dosyaAdi\n"})}),"\n",(0,r.jsx)(n.p,{children:"\xd6rne\u011fin hastalar klas\xf6r\xfc i\xe7erisinde bulunan dosyalar\u0131n, other'lar taraf\u0131ndan okunabilir ve \xe7al\u0131\u015ft\u0131r\u0131labilir olmas\u0131n\u0131 istiyor olal\u0131m, a\u015fa\u011f\u0131daki gibi yapabiliriz."}),"\n",(0,r.jsx)(e,{src:"/images/hafta2/27.png"}),"\n",(0,r.jsx)(n.p,{children:"Text method kullanacak olsayd\u0131k, ayn\u0131 i\u015flemi yapmak i\xe7in chmod o=rx * dememiz yeterdi."}),"\n",(0,r.jsx)("hr",{}),"\n",(0,r.jsx)(n.h4,{children:"Dosya Kilitlemek"}),"\n",(0,r.jsxs)(n.p,{children:["Bir dosyay\u0131 \xfczerinde izni verilmi\u015f olsa bile kilitlemek, yani de\u011fi\u015fiklik yap\u0131lmaz olsun istiyorsak ",(0,r.jsx)(n.strong,{children:"chattr"})," komutu kullanabiliriz. Kullan\u0131m\u0131 olduk\xe7a basittir."]}),"\n",(0,r.jsx)(n.p,{children:"Kilitlemek i\xe7in :"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{children:"\t[~$] chattr +i dosyaAdi\n"})}),"\n",(0,r.jsx)(n.p,{children:"Kilidi a\xe7mak i\xe7in :"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{children:"\t[~$] chattr -i dosyaAdi\n"})}),"\n",(0,r.jsx)("hr",{}),"\n",(0,r.jsx)(n.h2,{children:"Bu hafta neler yapt\u0131k ?"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:"Kullan\u0131c\u0131-Grup Y\xf6netimi i\xe7in;"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsx)(n.li,{children:"Bir kullan\u0131c\u0131n\u0131n parolas\u0131n\u0131n nas\u0131l de\u011fi\u015ftirilece\u011fini,"}),"\n",(0,r.jsx)(n.li,{children:"Sisteme yeni kullan\u0131c\u0131lar\u0131n nas\u0131l eklenece\u011fini,"}),"\n",(0,r.jsx)(n.li,{children:"Yeni gruplar\u0131n nas\u0131l olu\u015fturulaca\u011f\u0131n\u0131,"}),"\n",(0,r.jsx)(n.li,{children:"Gruplara kullan\u0131c\u0131lar\u0131n nas\u0131l eklenece\u011fini,"}),"\n",(0,r.jsx)(n.li,{children:"Root kullan\u0131c\u0131s\u0131n\u0131n mant\u0131\u011f\u0131n\u0131,"}),"\n",(0,r.jsx)(n.li,{children:"/home dizinlerinin mant\u0131\u011f\u0131n\u0131,"}),"\n",(0,r.jsx)(n.li,{children:"Kullan\u0131c\u0131lar\u0131n nas\u0131l silinece\u011fini,"}),"\n",(0,r.jsx)(n.li,{children:"Gruplardan kullan\u0131c\u0131lar\u0131n nas\u0131l \xe7\u0131kar\u0131laca\u011f\u0131n\u0131,"}),"\n",(0,r.jsx)(n.li,{children:"Gruplar\u0131n nas\u0131l silinece\u011fini \xf6\u011frendik.."}),"\n"]}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:"Dosya-Dizin \u0130zinleri i\xe7in;"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsx)(n.li,{children:"GNU/Linux'ta dizinlerin de asl\u0131nda birer dosya oldu\u011funu,"}),"\n",(0,r.jsx)(n.li,{children:"Yetki kavramlar\u0131n\u0131,"}),"\n",(0,r.jsx)(n.li,{children:"Dosya sahipliklerinin nas\u0131l de\u011fi\u015ftirilece\u011fini,"}),"\n",(0,r.jsx)(n.li,{children:"Text ve numeric method ile dosyalar\u0131n izinlerinin nas\u0131l de\u011fi\u015ftirilece\u011fini,"}),"\n",(0,r.jsx)(n.li,{children:"Dosyalar\u0131n nas\u0131l kilitlenebilece\u011fini \xf6\u011frendik.."}),"\n"]}),"\n"]}),"\n"]})]})},e=Object.assign({},(0,d.ah)(),i.components),a=e.wrapper;return a?(0,r.jsx)(a,c({},i,{children:(0,r.jsx)(n,{})})):n()}var u=(0,r.jsx)(h,{});function o(i,n){throw new Error("Expected "+(n?"component":"object")+" `"+i+"` to be defined: you likely forgot to import, pass, or provide it.")}function k(i){return(0,l.withSSG)((0,a.Z)({filename:"hafta-iki.mdx",route:"/haftalar/hafta-iki",meta:{title:"Hafta 2",date:"2021/5/5",description:"Linux'ta kullan\u0131c\u0131-grup y\xf6netimini ve dosya-dizin izinlerini kavratmak.",tag:"gnu/linux",author:"Enes Kaya"},pageMap:[{name:"haftalar",children:[{name:"hafta-bir",route:"/haftalar/hafta-bir",frontMatter:{title:"Hafta 1",date:"2022/5/5",description:"Linux'a giri\u015f.",tag:"gnu/linux",author:"Enes Kaya"}},{name:"hafta-iki",route:"/haftalar/hafta-iki",frontMatter:{title:"Hafta 2",date:"2021/5/5",description:"Linux'ta kullan\u0131c\u0131-grup y\xf6netimini ve dosya-dizin izinlerini kavratmak.",tag:"gnu/linux",author:"Enes Kaya"}},{name:"hafta-sifir",route:"/haftalar/hafta-sifir",frontMatter:{title:"Hafta 0",date:"2023/5/5",description:"Linux'un genel bir tan\u0131m\u0131. Gerekli kurulumlar\u0131n ger\xe7ekle\u015ftirilmesi.",tag:"gnu/linux",author:"Enes Kaya"}},{name:"hafta-uc",route:"/haftalar/hafta-uc",frontMatter:{title:"Hafta 3",date:"2020/5/5",description:"Server kavram\u0131n\u0131n a\xe7\u0131klanmas\u0131, SSH Kullan\u0131m\u0131, Zamanlanm\u0131\u015f g\xf6revler olu\u015fturulmas\u0131.",tag:"gnu/linux",author:"Enes Kaya"}},{name:"index",route:"/haftalar",frontMatter:{type:"posts",title:"Haftalar",date:"2021-03-18T00:00:00.000Z"}}],route:"/haftalar"},{name:"index",route:"/",frontMatter:{type:"page",title:"Hakk\u0131nda",date:"2021-03-19T00:00:00.000Z"}},{name:"tags",children:[{name:"[tag]",route:"/tags/[tag]",frontMatter:{type:"tag",title:"Tagged Posts"}}],route:"/tags"}]},s.Z))(c({},i,{children:u}))}}},function(i){i.O(0,[774,353,888,179],(function(){return n=7003,i(i.s=n);var n}));var n=i.O();_N_E=n}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[409],{7003:function(i,n,e){(window.__NEXT_P=window.__NEXT_P||[]).push(["/haftalar/hafta-iki",function(){return e(8433)}])},7845:function(i,n,e){"use strict";var r=e(5893),a=e(5988),l=(new Date).getFullYear();n.Z={footer:(0,r.jsxs)("small",{style:{display:"block",marginTop:"8rem"},className:"jsx-7c359fde634f3543",children:[(0,r.jsx)("time",{className:"jsx-7c359fde634f3543",children:l})," \xa9 PauSiber",(0,r.jsx)(a.default,{id:"7c359fde634f3543",children:"a.jsx-7c359fde634f3543{float:right}\n@media screen and (max-width:480px) {article.jsx-7c359fde634f3543{padding-top:2rem;\npadding-bottom:4rem}}"})]})}},8433:function(i,n,e){"use strict";e.r(n),e.d(n,{default:function(){return k}});var r=e(5893),a=e(8616),l=e(3805),s=e(7845),d=e(1151);function t(i,n,e){return n in i?Object.defineProperty(i,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):i[n]=e,i}function c(i){for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:{},n=function(){var n=Object.assign({h1:"h1",p:"p",strong:"strong",a:"a",h2:"h2",h4:"h4",ul:"ul",li:"li",pre:"pre",code:"code",table:"table",thead:"thead",tr:"tr",th:"th",tbody:"tbody",td:"td"},(0,d.ah)(),i.components),e=n.CenteredImageLightbox;return e||o("CenteredImageLightbox",!0),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.h1,{children:"Hafta 2"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"Ama\xe7 :"})," Kullan\u0131c\u0131-grup y\xf6netimini ve dosya-dizin izinlerini kavratmak."]}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"Yazarlar :"})," ",(0,r.jsx)(n.a,{href:"https://github.com/boratanrikulu",children:(0,r.jsx)(n.strong,{children:"boratanrikulu"})})," ",(0,r.jsx)(n.strong,{children:"&&"})," ",(0,r.jsx)(n.a,{href:"https://github.com/hasantezcan",children:(0,r.jsx)(n.strong,{children:"hasantezcan"})})]}),"\n",(0,r.jsx)("hr",{}),"\n",(0,r.jsx)(n.h2,{children:"Hastane \xd6rne\u011fi \xdczerinden A\xe7\u0131klanmas\u0131"}),"\n",(0,r.jsxs)(n.p,{children:["Bir hastane d\xfc\u015f\xfcn\xfcn, bu hastanede \xe7al\u0131\u015fanlar\u0131n kullanabilece\u011fi yaln\u0131z bir tane bilgisayar var. Ve hastanemizde \xe7al\u0131\u015fan \xfc\xe7 ana meslek grubu var. Bunlar; ",(0,r.jsx)(n.strong,{children:"doktorlar"}),", ",(0,r.jsx)(n.strong,{children:"g\xfcvenlik g\xf6revlileri"})," ve ",(0,r.jsx)(n.strong,{children:"a\u015f\xe7\u0131lar"}),"."]}),"\n",(0,r.jsx)(e,{alt:"pwd",src:"/images/hafta2/14.png",width:"800"}),"\n",(0,r.jsx)(n.p,{children:"Bu \xe7al\u0131\u015fanlar\u0131n tek bir bilgisayar\u0131 kullanmas\u0131n\u0131n iki farkl\u0131 seneryosu olabilir."}),"\n",(0,r.jsx)(n.h4,{children:'1 - \xdc\xe7 meslek grubu da ayn\u0131 bilgisayar\u0131 "tek oturum" \u015feklinde kullanabilir.'}),"\n",(0,r.jsxs)(n.p,{children:["Bu durumda doktor, bilgisayar\u0131 kulland\u0131\u011f\u0131 zaman, olmas\u0131 gerekti\u011fi gibi hastalar\u0131n\u0131n; raporlar\u0131na, filimlerine, ameliyat g\xf6r\xfcnt\xfclerine vb.. bilgilere ula\u015fabilir. Ayn\u0131 zamanda di\u011fer meslek gruplar\u0131 ile ortak bir bilgisayar kulland\u0131\u011f\u0131ndan; ",(0,r.jsx)(n.strong,{children:"g\xfcvenlik kameralar\u0131na"}),", o ay\u0131n ",(0,r.jsx)(n.strong,{children:"mutfak masraflar\u0131na"})," da bakabilir."]}),"\n",(0,r.jsx)(n.p,{children:"Ve bu durum di\u011fer meslek gruplar\u0131 i\xe7in de ge\xe7erlidir. Bir g\xfcvenlik g\xf6revlisinin ya da a\u015f\xe7\u0131n\u0131n herhangi bir hastan\u0131n raporlar\u0131na eri\u015febilmesi ne kadar g\xfcvenli ve do\u011furudur?"}),"\n",(0,r.jsx)(n.p,{children:"\u0130\u015fte bu durumun ya\u015fanmamas\u0131 i\xe7in, her bir \xe7al\u0131\u015fan i\xe7in ayr\u0131 bir kullan\u0131c\u0131 oturumu olu\u015ftururuz."}),"\n",(0,r.jsx)(n.h4,{children:"2 - Her bir \xe7al\u0131\u015fan i\xe7in ayr\u0131 bir oturum a\xe7\u0131labilir."}),"\n",(0,r.jsxs)(n.p,{children:["Bu durumda her bir \xe7al\u0131\u015fan\u0131n kendine ait bir ",(0,r.jsx)(n.strong,{children:"kullan\u0131c\u0131s\u0131"})," olaca\u011f\u0131ndan bir \xf6nceki durumda ya\u015fanan dosya eri\u015fim karma\u015fas\u0131 bu sefer olmayacakt\u0131r. Yani hi\xe7bir a\u015f\xe7\u0131, g\xfcvenlik kameralar\u0131na eri\u015fip bu kay\u0131tlar ile oynayamayacakt\u0131r. Her bir kullan\u0131c\u0131n\u0131n yetkileri belirli olacakt\u0131r."]}),"\n",(0,r.jsx)("hr",{}),"\n",(0,r.jsx)(n.h2,{children:"Hastane \xd6rne\u011fimizi Uygulayal\u0131m"}),"\n",(0,r.jsxs)(n.p,{children:["\u015eimdi gelin bu hastaneye ",(0,r.jsx)(n.strong,{children:"iki tane doktor"}),", ",(0,r.jsx)(n.strong,{children:"iki tane g\xfcvenlik g\xf6revlisi"})," ve ",(0,r.jsx)(n.strong,{children:"iki tane de a\u015f\xe7\u0131"})," ekleyelim."]}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:["Doktorlar","\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsx)(n.li,{children:"doktor_beyza"}),"\n",(0,r.jsx)(n.li,{children:"doktor_ahmed"}),"\n"]}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["G\xfcvenlik\xe7iler","\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsx)(n.li,{children:"guvenlik_aykut"}),"\n",(0,r.jsx)(n.li,{children:"guvenlik_ayse"}),"\n"]}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["A\u015f\xe7\u0131lar","\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsx)(n.li,{children:"asci_bora"}),"\n",(0,r.jsx)(n.li,{children:"asci_hayriye"}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,r.jsxs)(n.p,{children:["GNU/Linux da\u011f\u0131t\u0131mlar\u0131nda, sisteme bir kullan\u0131c\u0131 eklemek i\xe7in ",(0,r.jsx)(n.strong,{children:"adduser"})," komutu kullan\u0131labilir."]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{children:"\t[~$] adduser kullan\u0131c\u0131n\u0131n_ad\u0131\n"})}),"\n",(0,r.jsx)(e,{alt:"tldr useradd",src:"/images/hafta2/28.jpg",width:"800"}),"\n",(0,r.jsx)(e,{alt:"useradd",src:"/images/hafta2/29.jpg",width:"800"}),"\n",(0,r.jsx)(e,{alt:"home",src:"/images/hafta2/30.jpg",width:"800"}),"\n",(0,r.jsx)(n.p,{children:"\u015euan sistemimize alt\u0131 adet kullan\u0131c\u0131 ekledik."}),"\n",(0,r.jsx)("hr",{}),"\n",(0,r.jsx)(n.h4,{children:"Ekledi\u011fimiz Kullan\u0131c\u0131lar\u0131 G\xf6r\xfcnt\xfcleyelim"}),"\n",(0,r.jsxs)(n.p,{children:["GNU/Linux'da sistemde bulunan kullan\u0131c\u0131lar ",(0,r.jsx)(n.strong,{children:"/etc/passwd"})," dosyas\u0131nda s\u0131ralan\u0131r. Kullanc\u0131lar\u0131n bilgileri bu dosyada saklan\u0131r."]}),"\n",(0,r.jsx)(n.p,{children:"Bu dosyay\u0131 g\xf6r\xfcnt\xfclemek i\xe7in;"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{children:"\t[~$] cat /etc/passwd\n"})}),"\n",(0,r.jsx)(e,{alt:"pwd",src:"/images/hafta2/7.png",width:"800"}),"\n",(0,r.jsxs)(n.p,{children:["Dosya incelendi\u011finde ",(0,r.jsx)(n.strong,{children:"dev:x:1000:1000:PauSiber Dev,,,:/home/dev:/usr/bin/zsh"})," gibi ifadeler g\xf6z\xfck\xfcr. Hadi \u015fimdi bu ifadelerin ne anlama geldi\u011fini a\xe7\u0131klayal\u0131m."]}),"\n",(0,r.jsxs)(n.table,{children:[(0,r.jsx)(n.thead,{children:(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.th,{align:"center",children:"ifade"}),(0,r.jsx)(n.th,{align:"center",children:"a\xe7\u0131klama"})]})}),(0,r.jsxs)(n.tbody,{children:[(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{align:"center",children:(0,r.jsx)(n.strong,{children:"dev"})}),(0,r.jsx)(n.td,{align:"center",children:"kullan\u0131c\u0131 ad\u0131"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{align:"center",children:(0,r.jsx)(n.strong,{children:"x"})}),(0,r.jsx)(n.td,{align:"center",children:"kullanc\u0131n\u0131n parolas\u0131n\u0131 temsil eder"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{align:"center",children:(0,r.jsx)(n.strong,{children:"1000"})}),(0,r.jsx)(n.td,{align:"center",children:"kullan\u0131c\u0131n\u0131n \xfcyelik numaras\u0131d\u0131r (user ID)"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{align:"center",children:(0,r.jsx)(n.strong,{children:"1000"})}),(0,r.jsx)(n.td,{align:"center",children:"kullan\u0131c\u0131n\u0131n ait oldu\u011fu grubun numaras\u0131d\u0131r (group ID)"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{align:"center",children:(0,r.jsx)(n.strong,{children:"PauSiber Dev"})}),(0,r.jsx)(n.td,{align:"center",children:"kullanc\u0131 hakk\u0131nda kay\u0131tl\u0131 bilgi"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{align:"center",children:(0,r.jsx)(n.strong,{children:"/usr/bin/zsh"})}),(0,r.jsx)(n.td,{align:"center",children:"kullan\u0131c\u0131n\u0131n shell dizini"})]})]})]}),"\n",(0,r.jsx)("hr",{}),"\n",(0,r.jsx)(n.h4,{children:"Gruplar\u0131m\u0131z\u0131 Olu\u015ftural\u0131m"}),"\n",(0,r.jsx)(n.p,{children:"Peki bu hastanede bir tane mi doktar var ? Tabiki de hay\u0131r. Bir meslek grubuna dahil birden fazla \xe7al\u0131\u015fan olabilir. Ayn\u0131 meslek grubunda bulunan \xe7al\u0131\u015fanlar\u0131n g\xf6rev tan\u0131mlar\u0131 birbirleri ile \xf6rt\xfc\u015f\xfcr. Ayn\u0131 meslek grubunda olanlar\u0131 gruplara toplamam\u0131z mant\u0131kl\u0131 bir hareket olacakt\u0131r."}),"\n",(0,r.jsx)(n.p,{children:"\u015euan hastanemizde \xfc\xe7 farkl\u0131 meslek grubuna ait iki\u015fer tane \xe7al\u0131\u015fan\u0131m\u0131z var. Gelin \u015fimdi bu meslek gruplar\u0131 i\xe7in sistemimizde bunu ifade edecek yeni gruplar olu\u015ftural\u0131m."}),"\n",(0,r.jsxs)(n.p,{children:["GNU/Linux da\u011f\u0131t\u0131mlar\u0131nda, sisteme bir grup eklemek i\xe7in ",(0,r.jsx)(n.strong,{children:"groupadd"})," komutu kullan\u0131labilir."]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{children:"\t[~#] groupadd grubun_ismi\n"})}),"\n",(0,r.jsx)(e,{alt:"pwd",src:"/images/hafta2/8.png",width:"800"}),"\n",(0,r.jsxs)(n.p,{children:["Sistemimize \xfc\xe7 adet yeni grup ekledik. Sistemimizde bulunan gruplar ",(0,r.jsx)(n.strong,{children:"/etc/group"})," dosyas\u0131nda s\u0131ralan\u0131r."]}),"\n",(0,r.jsx)(n.p,{children:"Bu dosyay\u0131 g\xf6r\xfcnt\xfclemek i\xe7in;"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{children:"\t[~$] cat /etc/group\n"})}),"\n",(0,r.jsx)(e,{alt:"pwd",src:"/images/hafta2/9.png",width:"800"}),"\n",(0,r.jsxs)(n.p,{children:['Son g\xf6rselde de g\xf6r\xfcld\xfc\u011f\xfc \xfczere bizim ekledi\u011fimiz gruplar\u0131n haricinde, \xf6nceden ekledi\u011fimiz kullac\u0131lar da burada g\xf6z\xfckmekte. \xd6rne\u011fin "doktor_beyza" gibi bir grup sistemde \xe7oktand\u0131r eklenmi\u015f durumda. ',(0,r.jsx)(n.strong,{children:"Peki bu nas\u0131l oluyor?"})]}),"\n",(0,r.jsx)(n.p,{children:"GNU/Linux da\u011f\u0131t\u0131mlar\u0131nda, sisteme yeni bir kullan\u0131c\u0131 ekledi\u011finizde, sisteme ayn\u0131 anda bu kullan\u0131c\u0131 ad\u0131nda bir de grup ekler."}),"\n",(0,r.jsx)("hr",{}),"\n",(0,r.jsx)(n.h4,{children:"\xc7al\u0131\u015fanlar\u0131m\u0131z\u0131 Gruplar\u0131na Ekleyelim"}),"\n",(0,r.jsx)(n.p,{children:"Evet, \u015fuan hastanemizde alt\u0131 adet \xe7al\u0131\u015fan ve bununla birlikte hen\xfcz daha hi\xe7bir personeli dahil etmedi\u011fimiz \xfc\xe7 tane de meslek grubumuz var. \u015eimdi \xe7al\u0131\u015fanlar\u0131m\u0131z\u0131 ait olduklar\u0131 meslek gruplar\u0131na ekleyelim."}),"\n",(0,r.jsxs)(n.p,{children:["Bunu yapmak i\xe7in ",(0,r.jsx)(n.strong,{children:"gpasswd"})," komutu kullan\u0131labilir."]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{children:"\t[~#] gpasswd --add kullan\u0131c\u0131_adi grup_adi\n"})}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"Not :"})," Burada ",(0,r.jsx)(n.strong,{children:"--add"})," parametresi olduk\xe7a kritiktir. E\u011fer kullan\u0131lmaz ise kullan\u0131c\u0131y\u0131 hali haz\u0131rda bulundu\u011fu t\xfcm gruplardan \xe7\u0131kar\u0131r ve yeni gruba ekler. Fakat bizim istedi\u011fimiz bu de\u011fil, kullan\u0131c\u0131n\u0131n hali haz\u0131rda bulundu\u011fu gruplar\u0131 de\u011fi\u015ftirmek istemiyoruz, yaln\u0131zca yeni bir gruba dahil etmek istiyoruz, bu durumda ",(0,r.jsx)(n.strong,{children:"--add"})," parametresi kullanmam\u0131z bir gerekliliktir."]}),"\n",(0,r.jsx)(e,{alt:"pwd",src:"/images/hafta2/10.png",width:"800"}),"\n",(0,r.jsxs)(n.p,{children:["Ekleme i\u015flemlerimizi yapt\u0131k. \u015eimdi ",(0,r.jsx)(n.strong,{children:"/etc/group"}),"' u yeniden g\xf6r\xfcnt\xfcleyelim."]}),"\n",(0,r.jsx)(e,{alt:"pwd",src:"/images/hafta2/11.png",width:"800"}),"\n",(0,r.jsx)(n.p,{children:"Ba\u015far\u0131l\u0131 bir \u015fekilde personelimizi gruplar\u0131na ekledik."}),"\n",(0,r.jsx)("hr",{}),"\n",(0,r.jsx)(n.h4,{children:"Hastane M\xfcd\xfcr\xfcm\xfcz, Nam-\u0131 De\u011fer ROOT !"}),"\n",(0,r.jsx)(n.p,{children:"\u015eimdi s\u0131ra hastanenin m\xfcd\xfcr\xfcnden bahsetmeye geldi. Hastane m\xfcd\xfcr\xfc hastanedeki en yetkili ki\u015fidir. Doktorlar\u0131n, g\xfcvenlik g\xf6revlilerinin ve a\u015f\xe7\u0131n\u0131n eri\u015febildi\u011fi verilerin hepsine eri\u015febilir. Asl\u0131nda o da bir \xe7al\u0131\u015fand\u0131r, fakat \xf6zel bir \xe7al\u0131\u015fand\u0131r. Yetkileri onu di\u011fer \xe7al\u0131\u015fanlardan ayr\u0131\u015ft\u0131r\u0131r."}),"\n",(0,r.jsxs)(n.p,{children:["GNU/Linux sistemlerde bahsetti\u011fimiz hastane m\xfcdr\xfcn\xfcn kar\u015f\u0131l\u0131\u011f\u0131 ",(0,r.jsx)(n.strong,{children:"root"})," kullan\u0131c\u0131s\u0131d\u0131r. Root kullanc\u0131s\u0131 sistemdeki en yetkili kullanc\u0131d\u0131r. Sistemdeki t\xfcm dosyalara eri\u015fim yetkisi vard\u0131r."]}),"\n",(0,r.jsx)("hr",{}),"\n",(0,r.jsx)(n.h4,{children:"\xc7al\u0131\u015fanlar\u0131n Odalar\u0131, /home dizinleri"}),"\n",(0,r.jsx)(n.p,{children:"Hastanemizde \xe7al\u0131\u015fan t\xfcm personelin kendine ait bir odas\u0131 vard\u0131r. \xc7al\u0131\u015fanlar bu odalarda kendi ki\u015fisel e\u015fyalar\u0131n\u0131 saklarlar."}),"\n",(0,r.jsxs)(n.p,{children:["GNU/Linux i\u015fletim sistemlerinde sisteme kay\u0131tl\u0131 her insan kullanc\u0131 i\xe7in ",(0,r.jsx)(n.strong,{children:"/home"})," dizini alt\u0131nda o kullanc\u0131ya tahsis edilmi\u015f bir alan mevcuttur. Kullan\u0131c\u0131lar bu dizinde verilerini diledikleri \u015fekilde depolarlar."]}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"root"})," kullanc\u0131s\u0131n\u0131n da kendine ait bir odas\u0131 vard\u0131r. Fakat ",(0,r.jsx)(n.strong,{children:"root"})," kullac\u0131s\u0131na ayr\u0131lm\u0131\u015f bu alan direkt ",(0,r.jsx)(n.strong,{children:"root"})," dizini alt\u0131nda ayr\u0131lm\u0131\u015f ",(0,r.jsx)(n.strong,{children:"/root"})," dizinidir."]}),"\n",(0,r.jsx)(e,{alt:"pwd",src:"/images/hafta2/17.png",width:"800"}),"\n",(0,r.jsx)("hr",{}),"\n",(0,r.jsx)(n.h4,{children:"Hastanemizden \xc7al\u0131\u015fan \xc7\u0131karal\u0131m"}),"\n",(0,r.jsxs)(n.p,{children:["Hastanemizden, yani sistemimizden bir kullan\u0131c\u0131y\u0131 silmek istersek ",(0,r.jsx)(n.strong,{children:"deluser"})," komutunu kullanabiliriz."]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{children:"\t[~#] deluser --remove-home kullanc\u0131_adi\n"})}),"\n",(0,r.jsx)(n.p,{children:"\u015eimdi sistemimizde kay\u0131tl\u0131 olan doktor_ahmedi a\u015fa\u011f\u0131daki \xf6rnekteki gibi i\u015ften \xe7\u0131karal\u0131m."}),"\n",(0,r.jsx)(e,{alt:"pwd",src:"/images/hafta2/12.png",width:"800"}),"\n",(0,r.jsx)("hr",{}),"\n",(0,r.jsx)(n.h4,{children:"Kullanc\u0131n\u0131n Parolalar\u0131n\u0131n De\u011fi\u015ftirilmesi"}),"\n",(0,r.jsxs)(n.p,{children:["E\u011fer bir kullan\u0131c\u0131 parolas\u0131n\u0131 de\u011fi\u015ftirmek ister ise ",(0,r.jsx)(n.strong,{children:"passwd"})," komutu kullan\u0131labilir."]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{children:"\t[~$] passwd\n"})}),"\n",(0,r.jsx)(e,{alt:"pwd",src:"/images/hafta2/13.png",width:"800"}),"\n",(0,r.jsx)("hr",{}),"\n",(0,r.jsx)(n.h4,{children:"Bir \xc7al\u0131\u015fan\u0131m\u0131z\u0131 Grubundan \xc7\u0131karal\u0131m"}),"\n",(0,r.jsxs)(n.p,{children:["\xd6rne\u011fin guvenl\u0131k_aykut kullan\u0131c\u0131s\u0131n\u0131n art\u0131k guvenlik grubunda bulunmas\u0131n\u0131 istemiyorsak ",(0,r.jsx)(n.strong,{children:"gpasswd"})," ile birlikte ",(0,r.jsx)(n.strong,{children:"--delete"})," parametresini kullanarak bu i\u015flemi ger\xe7ekle\u015ftirebiliriz."]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{children:"\t[~#] gpasswd --delete guvenlik_aykut guvenlikciler\n"})}),"\n",(0,r.jsx)(e,{alt:"pwd",src:"/images/hafta2/18.png",width:"800"}),"\n",(0,r.jsxs)(n.p,{children:["Kullan\u0131c\u0131y\u0131 \xf6rnek amac\u0131yla grubundan \xe7\u0131karm\u0131\u015ft\u0131k, \u015fimdi geri dahil edelim ",(0,r.jsx)(n.strong,{children:":)"}),"."]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{children:"\t[~#] gpasswd --add guvenlik_aykut guvenlikciler\n"})}),"\n",(0,r.jsx)("hr",{}),"\n",(0,r.jsx)(n.h4,{children:"Bir Grubumuzu Silelim"}),"\n",(0,r.jsxs)(n.p,{children:["\xd6rne\u011fin sistemimize hem\u015fireler grubunu eklemi\u015f olal\u0131m, e\u011fer bu gruba ihtiyac\u0131m\u0131z art\u0131k kalmaz ise grubu silebiliriz. Grubu silmek i\xe7in ",(0,r.jsx)(n.strong,{children:"groupdel"})," komutu kullan\u0131l\u0131r."]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{children:"\t[~#] groupdel hemsireler\n"})}),"\n",(0,r.jsx)(e,{alt:"pwd",src:"/images/hafta2/15.png",width:"800"}),"\n",(0,r.jsx)("hr",{}),"\n",(0,r.jsx)(n.h2,{children:"Hastane Y\xf6netimi"}),"\n",(0,r.jsxs)(n.p,{children:["Hastane \xf6rne\u011fimizde ",(0,r.jsx)(n.strong,{children:"hastalar"}),", ",(0,r.jsx)(n.strong,{children:"kameralar"})," ve ",(0,r.jsx)(n.strong,{children:"yemekhane"})," dizinlerimiz olacak. Fakat tahmin edece\u011finiz \xfczere bu dosyalara yaln\u0131zca belirli meslek gruplar\u0131n\u0131n ve belirli kullan\u0131c\u0131lar\u0131n yetki sahibi olmas\u0131n\u0131 bekleriz."]}),"\n",(0,r.jsx)(n.p,{children:"A\u015fa\u011f\u0131daki gibi dizinleri olu\u015ftural\u0131m."}),"\n",(0,r.jsx)(e,{alt:"pwd",src:"/images/hafta2/19.png",width:"800"}),"\n",(0,r.jsx)(n.p,{children:"Dizinlerimiz i\xe7erisine a\u015fa\u011f\u0131daki gibi gerekli dosyalar\u0131 da olu\u015ftural\u0131m."}),"\n",(0,r.jsx)(n.p,{children:"Bu dizinlerin sahiplik ve izinlerini ayarlama i\u015flemine ge\xe7meden \xf6nce GNU/Linux'da dosya ve dizin kavramlar\u0131ndan bahsetmeliyiz."}),"\n",(0,r.jsx)(e,{alt:"pwd",src:"/images/hafta2/20.png",width:"800"}),"\n",(0,r.jsx)("hr",{}),"\n",(0,r.jsx)(n.h2,{children:"Dosya ve Dizin Kavramlar\u0131"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"GNU/Linux'ta her \u015fey birer dosyad\u0131r"}),". ",(0,r.jsx)(n.a,{href:"https://stackoverflow.com/a/10893965",children:(0,r.jsx)(n.strong,{children:"[1]"})})]}),"\n",(0,r.jsxs)(n.p,{children:["\xd6z\xfcnde ",(0,r.jsx)(n.strong,{children:"dizinler de dosyalar\u0131n konumunu belirten birer \xf6zel dosyad\u0131r."})," Dizinler veri i\xe7eremez, yaln\u0131zca konum belirtmek ama\xe7l\u0131 kullan\u0131labilirler. Dizinlerin bir t\xfcr\xfc yoktur, uzant\u0131s\u0131 yoktur. Dosyalar\u0131n ise bir t\xfcr\xfc vard\u0131r, uzant\u0131s\u0131 bulunabilir."]}),"\n",(0,r.jsx)(n.p,{children:"Dizin ve dosya isimleri ayn\u0131 olamaz."}),"\n",(0,r.jsx)("hr",{}),"\n",(0,r.jsx)(n.h4,{children:"Dosya ve Dizin \u0130zinlerinin \u0130ncelenmesi"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"ls"})," ile dosyalar\u0131n izinleri incelenebilir."]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{children:"\t[~$] ls -l fileName\n"})}),"\n",(0,r.jsx)(e,{src:"/images/hafta2/dosya-ve-dizin-izinleri/0.png"}),"\n",(0,r.jsx)(n.p,{children:"Dosya ve dizin i\u015flemlerine bak\u0131ld\u0131\u011f\u0131nda 10 karakterden olu\u015fan bir yap\u0131 g\xf6r\xfcn\xfcr."}),"\n",(0,r.jsx)(n.p,{children:"Bu karakterler"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:["dosyalar i\xe7in ",(0,r.jsx)(n.strong,{children:"r"}),"[read] okumak, ",(0,r.jsx)(n.strong,{children:"w"}),"[write] yazmak, ",(0,r.jsx)(n.strong,{children:"x"}),"[execute] \xe7al\u0131\u015ft\u0131rmak"]}),"\n",(0,r.jsxs)(n.li,{children:["dizinler i\xe7in ",(0,r.jsx)(n.strong,{children:"r"}),"[read] i\xe7eri\u011fini g\xf6r\xfcnt\xfcleyebilmek, ",(0,r.jsx)(n.strong,{children:"w"}),"[write] alt dosya ve dizinler olu\u015fturabilmek, ",(0,r.jsx)(n.strong,{children:"x"}),"[execute] cd ile i\xe7ine girebilmek"]}),"\n"]}),"\n",(0,r.jsx)(n.p,{children:"izinlerini temsilen kullan\u0131l\u0131r."}),"\n",(0,r.jsx)(n.p,{children:"Bunlar\u0131 a\u015fa\u011f\u0131daki gibi \xfc\xe7erli olarak grupland\u0131rarak incelemekte fayda vard\u0131r."}),"\n",(0,r.jsx)(e,{src:"/images/hafta2/dosya-ve-dizin-izinleri/1.jpg"}),"\n",(0,r.jsx)(n.p,{children:"Yani bu \xf6rnektekinin;"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:["bir ",(0,r.jsx)(n.strong,{children:"dizin"})," oldu\u011funu,"]}),"\n",(0,r.jsxs)(n.li,{children:["dosya kullan\u0131c\u0131s\u0131n\u0131n ",(0,r.jsx)(n.strong,{children:"okuma/yazma/\xe7al\u0131\u015ft\u0131rma"}),","]}),"\n",(0,r.jsxs)(n.li,{children:["dosya grubunun ",(0,r.jsx)(n.strong,{children:"okuma/\xe7al\u0131\u015ft\u0131rma"}),","]}),"\n",(0,r.jsxs)(n.li,{children:["di\u011fer herkesin de ",(0,r.jsx)(n.strong,{children:"okuma/\xe7al\u0131\u015ft\u0131rma"})]}),"\n"]}),"\n",(0,r.jsx)(n.p,{children:"iznine sahip oldu\u011funu g\xf6r\xfcyoruz. Ayr\u0131ca bu dosyalar\u0131n fsutil kullan\u0131c\u0131s\u0131na ait oldu\u011funu ve group'unun users oldu\u011funu incelemi\u015f olduk."}),"\n",(0,r.jsx)("hr",{}),"\n",(0,r.jsx)(n.h4,{children:"Hastane Dosya Sahipliklerinin De\u011fi\u015ftirilmesi"}),"\n",(0,r.jsx)(n.p,{children:"\u015eimdi teorik bilgimizi edikten sonra hastane \xf6rne\u011fimize geri d\xf6nebiliriz."}),"\n",(0,r.jsxs)(n.p,{children:["Dosyalar\u0131n sahipliklerini user ve group baz\u0131nda de\u011fi\u015ftirece\u011fiz. Bunun i\xe7in ",(0,r.jsx)(n.strong,{children:"chown"})," komutu kullanabiliriz. Yap\u0131s\u0131 olduk\xe7a basittir."]}),"\n",(0,r.jsx)(n.p,{children:"Genel syntax \xf6rnekleri a\u015fa\u011f\u0131daki gibidir."}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{children:"\t[~#] chown yeniSahip dosya_adi\n"})}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{children:"\t[~#] chown yeniSahip:yeniGroup dosya_adi\n"})}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{children:"\t[~#] chown :yeniGroup dosya_adi\n"})}),"\n",(0,r.jsxs)(n.p,{children:["A\u015fa\u011f\u0131daki gibi 3 dizin i\xe7in de ",(0,r.jsx)(n.strong,{children:"-R"})," parametresini kullanarak dosyalar\u0131n group bilgilerini de\u011fi\u015ftirelim."]}),"\n",(0,r.jsxs)(n.p,{children:["Burada ",(0,r.jsx)(n.strong,{children:"-R"})," parametresini kullanma sebebimiz belirtti\u011fimiz i\u015flemi recursive olarak t\xfcm alt(sub) dosya ve dizinlere uygulanmas\u0131 gerekti\u011fini belirtmek i\xe7indir."]}),"\n",(0,r.jsx)(e,{src:"/images/hafta2/21.png"}),"\n",(0,r.jsx)(n.p,{children:"T\xfcm hastane dosyalar\u0131m\u0131z\u0131n group sahipliklerini de\u011fi\u015ftirdik. Fakat dosyalar\u0131n kullan\u0131c\u0131 sahiplikleri halen belirlenmi\u015f de\u011fil. Her dosyan\u0131n sahibi olarak meslek grubundan belirlenen bir kullan\u0131c\u0131y\u0131 atamak istiyoruz. A\u015fa\u011f\u0131daki gibi ad\u0131mlar\u0131 ger\xe7ekle\u015ftirdik."}),"\n",(0,r.jsx)(e,{src:"/images/hafta2/22.png"}),"\n",(0,r.jsx)(n.p,{children:"Dosya sahipliklerini ayarlad\u0131k."}),"\n",(0,r.jsx)("hr",{}),"\n",(0,r.jsx)(n.h4,{children:"Hastane Dosya \u0130zinlerinin De\u011fi\u015ftirilmesi"}),"\n",(0,r.jsx)(n.p,{children:"Burada kurmak iste\u011fimiz yap\u0131 \u015fu \u015fekilde; ilgi dizinler ve dosyalar meslek grubundaki herkes taraf\u0131ndan okunabilir, \xe7al\u0131\u015ft\u0131r\u0131labilir olmal\u0131; meslek grubundan belirlenen yaln\u0131zca bir ki\u015fi dosya \xfczerinde de\u011fi\u015ftirme yetkisine sahip olmal\u0131."}),"\n",(0,r.jsx)(n.p,{children:"Bunun i\xe7in dosyalar\u0131n izinlerini de\u011fi\u015ftirece\u011fiz."}),"\n",(0,r.jsxs)(n.p,{children:["Bunun i\xe7in ",(0,r.jsx)(n.strong,{children:"chmod"})," komutu kullanabilirz. Chmod'un iki tip kullan\u0131m\u0131 vard\u0131r; ",(0,r.jsx)(n.strong,{children:"text method"})," ve ",(0,r.jsx)(n.strong,{children:"numeric method"}),". Text method g\xfcnl\xfck kullan\u0131mda daha \xe7ok kullan\u0131l\u0131r, basit olmas\u0131 a\xe7\u0131s\u0131ndan. Numeric method daha \xe7ok script'lerde kullan\u0131l\u0131r."]}),"\n",(0,r.jsx)(n.p,{children:"Text Method'un genel kullan\u0131m syntax'\u0131 a\u015fa\u011f\u0131daki gibidir."}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{children:"\t[~$] chmod kim=izinYetkisi dosyaAd\n"})}),"\n",(0,r.jsxs)(n.p,{children:["Burada ",(0,r.jsx)(n.strong,{children:"kim"})," ifadesi, i\u015flemi hangi ki\u015filer i\xe7in yapaca\u011f\u0131n\u0131 belirtmek i\xe7in kullan\u0131r\u0131z."]}),"\n",(0,r.jsxs)(n.table,{children:[(0,r.jsx)(n.thead,{children:(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.th,{align:"center",children:"Text"}),(0,r.jsx)(n.th,{align:"center",children:"Class"}),(0,r.jsx)(n.th,{align:"center",children:"A\xe7\u0131klama"})]})}),(0,r.jsxs)(n.tbody,{children:[(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{align:"center",children:(0,r.jsx)(n.strong,{children:"u"})}),(0,r.jsx)(n.td,{align:"center",children:"Owner"}),(0,r.jsx)(n.td,{align:"center",children:"Dosyaya sahip olan kullan\u0131c\u0131"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{align:"center",children:(0,r.jsx)(n.strong,{children:"g"})}),(0,r.jsx)(n.td,{align:"center",children:"Group"}),(0,r.jsx)(n.td,{align:"center",children:"Dosyan\u0131n ait oldu\u011fu grup"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{align:"center",children:(0,r.jsx)(n.strong,{children:"o"})}),(0,r.jsx)(n.td,{align:"center",children:"Other"}),(0,r.jsx)(n.td,{align:"center",children:"Di\u011fer herkes"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{align:"center",children:(0,r.jsx)(n.strong,{children:"a"})}),(0,r.jsx)(n.td,{align:"center",children:"All"}),(0,r.jsxs)(n.td,{align:"center",children:["Herkes (",(0,r.jsx)(n.strong,{children:"ugo"})," ile ayn\u0131 anlama gelir)"]})]})]})]}),"\n",(0,r.jsxs)(n.p,{children:["\xd6rnekte ",(0,r.jsx)(n.strong,{children:"="})," olarak ifade ise verilen i\u015flem ile ne yap\u0131laca\u011f\u0131n\u0131 belirtmek amac\u0131yla kullan\u0131r\u0131z."]}),"\n",(0,r.jsxs)(n.table,{children:[(0,r.jsx)(n.thead,{children:(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.th,{align:"center",children:"Operator"}),(0,r.jsx)(n.th,{align:"center",children:"A\xe7\u0131klama"})]})}),(0,r.jsxs)(n.tbody,{children:[(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{align:"center",children:(0,r.jsx)(n.strong,{children:"+"})}),(0,r.jsx)(n.td,{align:"center",children:"Yetkiyi ilgili kullan\u0131c\u0131lara ekler"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{align:"center",children:(0,r.jsx)(n.strong,{children:"-"})}),(0,r.jsx)(n.td,{align:"center",children:"Yetkiyi ilgili kullan\u0131c\u0131lardan \xe7\u0131kar\u0131r"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{align:"center",children:(0,r.jsx)(n.strong,{children:"="})}),(0,r.jsx)(n.td,{align:"center",children:"Yetkiyi e\u015fitler"})]})]})]}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"\u0130zin yetkisi"})," ise verilecek olan izindir. Yani; r, w, x gibi ifadeler girilir."]}),"\n",(0,r.jsx)("hr",{}),"\n",(0,r.jsx)(n.h4,{children:"Dosyalar\u0131m\u0131z\u0131n \u0130zinlerini Ayarlayal\u0131m"}),"\n",(0,r.jsx)(n.p,{children:"\u015eimdi \xf6\u011frendi\u011fimiz teorik bilgileri, hastane \xf6rne\u011fimiz \xfczerinde uygulayarak prati\u011fe d\xf6kelim."}),"\n",(0,r.jsxs)(n.p,{children:["\u0130lk olarak t\xfcm dosya group'lar\u0131ndan yazma yetkisini \xe7\u0131karaca\u011f\u0131z. Bunun i\xe7in a\u015fa\u011f\u0131daki gibi bir ifade kullanmam\u0131z yeterlidir. A\u015fa\u011f\u0131daki ifade, dosyan\u0131n group sahipli\u011finden yazma ",(0,r.jsx)(n.strong,{children:"[w]"})," yetkisini \xe7\u0131karmam\u0131z\u0131 sa\u011flar. Art\u0131k group yetkisi kullan\u0131larak dosya \xfczerinde yazma i\u015flemi yap\u0131lamayacakt\u0131r."]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{children:"\t[~#] chmod g-w -R dizin/\n"})}),"\n",(0,r.jsx)(e,{src:"/images/hafta2/23.png"}),"\n",(0,r.jsxs)(n.p,{children:["Ayr\u0131ca ",(0,r.jsx)(n.strong,{children:"other"}),"'\u0131n dosya \xfczerinde hi\xe7bir yetkisinin olmas\u0131n\u0131 istemiyoruz. Bunun i\xe7in de a\u015fa\u011f\u0131daki gibi \xf6rne\u011fimizi uygular\u0131z. Other'\u0131n sahip oldu\u011fu t\xfcm yetkiyi kald\u0131rm\u0131\u015f oluruz."]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{children:"\t[~#] chmod o-rwx -R dizin/\n"})}),"\n",(0,r.jsx)(e,{src:"/images/hafta2/24.png"}),"\n",(0,r.jsxs)(n.p,{children:["Bu i\u015flemi uygulad\u0131\u011f\u0131m\u0131zda klas\xf6r'\xfcn i\xe7inde neler oldu\u011funa bile bakamay\u0131z, \xe7\xfcnk\xfc \u015fu ana kadar olan t\xfcm i\u015flemleri PauSiber Dev'in normal kullan\u0131c\u0131s\u0131 olan ",(0,r.jsx)(n.strong,{children:"dev"})," ile yapt\u0131k, dizinler \xfczerinde dev kullan\u0131c\u0131s\u0131 other olarak g\xf6z\xfck\xfcr. dev'in hi\xe7bir yetkisi olmad\u0131\u011f\u0131 i\xe7in dizin i\xe7lerini g\xf6remeyiz."]}),"\n",(0,r.jsx)(n.p,{children:"Dizinlerin i\xe7erisini g\xf6r\xfcnt\xfclemek i\xe7in meslek grubundan bir kullan\u0131c\u0131ya ge\xe7i\u015f yapabiliriz."}),"\n",(0,r.jsx)(n.p,{children:"E\u011fer dosyalar \xfczerinden yazma i\u015flemi yapmak istersek de meslek grubundan \u015fef olarak se\xe7ti\u011fimiz kullan\u0131c\u0131ya ge\xe7i\u015f yapmam\u0131z gerekir."}),"\n",(0,r.jsxs)(n.p,{children:["Ba\u015fka bir kullan\u0131c\u0131ya ge\xe7i\u015f yapmak i\xe7in ",(0,r.jsx)(n.strong,{children:"su"})," komutunu kullanabiliriz."]}),"\n",(0,r.jsx)(e,{src:"/images/hafta2/25.png"}),"\n",(0,r.jsx)("hr",{}),"\n",(0,r.jsx)(n.h4,{children:"Numeric Method ile \u0130zin \u0130\u015flemlerinin Yap\u0131lmas\u0131"}),"\n",(0,r.jsx)(n.p,{children:"Az \xf6nce, text method \xf6rneklerimizi yapmadan \xf6nce, numeric method da oldu\u011funu s\xf6ylemi\u015ftik. Bu method'u uygulayabilmemiz i\xe7in baz\u0131 bilgilere ihtiyac\u0131m\u0131z var."}),"\n",(0,r.jsxs)(n.p,{children:["Daha \xf6nceden \xf6\u011frendi\u011fimiz gibi, dosya ve dizinlerin izinleri ",(0,r.jsx)(n.strong,{children:"r"}),", ",(0,r.jsx)(n.strong,{children:"w"})," ve ",(0,r.jsx)(n.strong,{children:"x"})," ile temsil edilir. Her yetkinin numarasal olarak bir kar\u015f\u0131l\u0131\u011f\u0131 vard\u0131r. Bunlar a\u015fa\u011f\u0131daki gibidir."]}),"\n",(0,r.jsxs)(n.table,{children:[(0,r.jsx)(n.thead,{children:(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.th,{align:"center",children:"\u0130zin"}),(0,r.jsx)(n.th,{align:"center",children:"Numara Kar\u015f\u0131l\u0131\u011f\u0131"})]})}),(0,r.jsxs)(n.tbody,{children:[(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{align:"center",children:(0,r.jsx)(n.strong,{children:"r"})}),(0,r.jsx)(n.td,{align:"center",children:"4"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{align:"center",children:(0,r.jsx)(n.strong,{children:"w"})}),(0,r.jsx)(n.td,{align:"center",children:"2"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{align:"center",children:(0,r.jsx)(n.strong,{children:"x"})}),(0,r.jsx)(n.td,{align:"center",children:"1"})]})]})]}),"\n",(0,r.jsx)(e,{src:"/images/hafta2/dosya-ve-dizin-izinleri/1.jpg"}),"\n",(0,r.jsx)(n.p,{children:"Bir dosyan\u0131n yetkisinin numarasal kar\u015f\u0131l\u0131\u011f\u0131n\u0131 g\xf6stermek i\xe7in 3 basamakl\u0131 bir say\u0131 kullan\u0131r\u0131z. Bu 3 basamakl\u0131 say\u0131y\u0131 elde etmek i\xe7in yetkileri \xfc\xe7erli olarak grupland\u0131r\u0131p toplar\u0131z."}),"\n",(0,r.jsxs)(n.p,{children:["Kendimiz toplamak yerine, bir dosyan\u0131n yetkisinin numarasal kar\u015f\u0131l\u0131\u011f\u0131n\u0131 direkt olarak g\xf6rmek i\xe7in ",(0,r.jsx)(n.strong,{children:"stat"})," komutu kullan\u0131labilir."]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{children:"\t[~$] stat -c %a dosyaAdi\n"})}),"\n",(0,r.jsx)(e,{src:"/images/hafta2/26.png"}),"\n",(0,r.jsx)(n.p,{children:"Dosyan\u0131n izinlerini numeric method ile de\u011fi\u015ftirmek istiyorsak a\u015fa\u011f\u0131daki gibi bir syntax kullan\u0131r\u0131z."}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{children:"\t[~$] chmod XXX dosyaAdi\n"})}),"\n",(0,r.jsx)(n.p,{children:"\xd6rne\u011fin hastalar klas\xf6r\xfc i\xe7erisinde bulunan dosyalar\u0131n, other'lar taraf\u0131ndan okunabilir ve \xe7al\u0131\u015ft\u0131r\u0131labilir olmas\u0131n\u0131 istiyor olal\u0131m, a\u015fa\u011f\u0131daki gibi yapabiliriz."}),"\n",(0,r.jsx)(e,{src:"/images/hafta2/27.png"}),"\n",(0,r.jsx)(n.p,{children:"Text method kullanacak olsayd\u0131k, ayn\u0131 i\u015flemi yapmak i\xe7in chmod o=rx * dememiz yeterdi."}),"\n",(0,r.jsx)("hr",{}),"\n",(0,r.jsx)(n.h4,{children:"Dosya Kilitlemek"}),"\n",(0,r.jsxs)(n.p,{children:["Bir dosyay\u0131 \xfczerinde izni verilmi\u015f olsa bile kilitlemek, yani de\u011fi\u015fiklik yap\u0131lmaz olsun istiyorsak ",(0,r.jsx)(n.strong,{children:"chattr"})," komutu kullanabiliriz. Kullan\u0131m\u0131 olduk\xe7a basittir."]}),"\n",(0,r.jsx)(n.p,{children:"Kilitlemek i\xe7in :"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{children:"\t[~$] chattr +i dosyaAdi\n"})}),"\n",(0,r.jsx)(n.p,{children:"Kilidi a\xe7mak i\xe7in :"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{children:"\t[~$] chattr -i dosyaAdi\n"})}),"\n",(0,r.jsx)("hr",{}),"\n",(0,r.jsx)(n.h2,{children:"Bu hafta neler yapt\u0131k ?"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:"Kullan\u0131c\u0131-Grup Y\xf6netimi i\xe7in;"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsx)(n.li,{children:"Bir kullan\u0131c\u0131n\u0131n parolas\u0131n\u0131n nas\u0131l de\u011fi\u015ftirilece\u011fini,"}),"\n",(0,r.jsx)(n.li,{children:"Sisteme yeni kullan\u0131c\u0131lar\u0131n nas\u0131l eklenece\u011fini,"}),"\n",(0,r.jsx)(n.li,{children:"Yeni gruplar\u0131n nas\u0131l olu\u015fturulaca\u011f\u0131n\u0131,"}),"\n",(0,r.jsx)(n.li,{children:"Gruplara kullan\u0131c\u0131lar\u0131n nas\u0131l eklenece\u011fini,"}),"\n",(0,r.jsx)(n.li,{children:"Root kullan\u0131c\u0131s\u0131n\u0131n mant\u0131\u011f\u0131n\u0131,"}),"\n",(0,r.jsx)(n.li,{children:"/home dizinlerinin mant\u0131\u011f\u0131n\u0131,"}),"\n",(0,r.jsx)(n.li,{children:"Kullan\u0131c\u0131lar\u0131n nas\u0131l silinece\u011fini,"}),"\n",(0,r.jsx)(n.li,{children:"Gruplardan kullan\u0131c\u0131lar\u0131n nas\u0131l \xe7\u0131kar\u0131laca\u011f\u0131n\u0131,"}),"\n",(0,r.jsx)(n.li,{children:"Gruplar\u0131n nas\u0131l silinece\u011fini \xf6\u011frendik.."}),"\n"]}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:"Dosya-Dizin \u0130zinleri i\xe7in;"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsx)(n.li,{children:"GNU/Linux'ta dizinlerin de asl\u0131nda birer dosya oldu\u011funu,"}),"\n",(0,r.jsx)(n.li,{children:"Yetki kavramlar\u0131n\u0131,"}),"\n",(0,r.jsx)(n.li,{children:"Dosya sahipliklerinin nas\u0131l de\u011fi\u015ftirilece\u011fini,"}),"\n",(0,r.jsx)(n.li,{children:"Text ve numeric method ile dosyalar\u0131n izinlerinin nas\u0131l de\u011fi\u015ftirilece\u011fini,"}),"\n",(0,r.jsx)(n.li,{children:"Dosyalar\u0131n nas\u0131l kilitlenebilece\u011fini \xf6\u011frendik.."}),"\n"]}),"\n"]}),"\n"]})]})},e=Object.assign({},(0,d.ah)(),i.components),a=e.wrapper;return a?(0,r.jsx)(a,c({},i,{children:(0,r.jsx)(n,{})})):n()}var u=(0,r.jsx)(h,{});function o(i,n){throw new Error("Expected "+(n?"component":"object")+" `"+i+"` to be defined: you likely forgot to import, pass, or provide it.")}function k(i){return(0,l.withSSG)((0,a.Z)({filename:"hafta-iki.mdx",route:"/haftalar/hafta-iki",meta:{title:"Hafta 2",date:"2021/5/5",description:"Linux'ta kullan\u0131c\u0131-grup y\xf6netimini ve dosya-dizin izinlerini kavratmak.",tag:"gnu/linux",author:"Enes Kaya"},pageMap:[{name:"haftalar",children:[{name:"hafta-bir",route:"/haftalar/hafta-bir",frontMatter:{title:"Hafta 1",date:"2022/5/5",description:"Linux'a giri\u015f.",tag:"gnu/linux",author:"Enes Kaya"}},{name:"hafta-dort",route:"/haftalar/hafta-dort",frontMatter:{title:"Hafta 4",date:"2019/10/4",description:"Kriptolojiye giri\u015f, Canl\u0131 d\xfcnya \xf6rnekleri, \u015eifreleme algoritmas\u0131 geli\u015ftirilmesi.",tag:"gnu/linux cryptography",author:"Abdullah Bagyapan"}},{name:"hafta-iki",route:"/haftalar/hafta-iki",frontMatter:{title:"Hafta 2",date:"2021/5/5",description:"Linux'ta kullan\u0131c\u0131-grup y\xf6netimini ve dosya-dizin izinlerini kavratmak.",tag:"gnu/linux",author:"Enes Kaya"}},{name:"hafta-sifir",route:"/haftalar/hafta-sifir",frontMatter:{title:"Hafta 0",date:"2023/5/5",description:"Linux'un genel bir tan\u0131m\u0131. Gerekli kurulumlar\u0131n ger\xe7ekle\u015ftirilmesi.",tag:"gnu/linux",author:"Enes Kaya"}},{name:"hafta-uc",route:"/haftalar/hafta-uc",frontMatter:{title:"Hafta 3",date:"2020/5/5",description:"Server kavram\u0131n\u0131n a\xe7\u0131klanmas\u0131, SSH Kullan\u0131m\u0131, Zamanlanm\u0131\u015f g\xf6revler olu\u015fturulmas\u0131.",tag:"gnu/linux",author:"Enes Kaya"}},{name:"index",route:"/haftalar",frontMatter:{type:"posts",title:"Haftalar",date:"2021-03-18T00:00:00.000Z"}}],route:"/haftalar"},{name:"index",route:"/",frontMatter:{type:"page",title:"Hakk\u0131nda",date:"2021-03-19T00:00:00.000Z"}},{name:"tags",children:[{name:"[tag]",route:"/tags/[tag]",frontMatter:{type:"tag",title:"Tagged Posts"}}],route:"/tags"}]},s.Z))(c({},i,{children:u}))}}},function(i){i.O(0,[774,353,888,179],(function(){return n=7003,i(i.s=n);var n}));var n=i.O();_N_E=n}]); \ No newline at end of file diff --git a/_next/static/chunks/pages/haftalar/hafta-sifir-545d2815e868ac92.js b/_next/static/chunks/pages/haftalar/hafta-sifir-708e4f1c3d6ce918.js similarity index 91% rename from _next/static/chunks/pages/haftalar/hafta-sifir-545d2815e868ac92.js rename to _next/static/chunks/pages/haftalar/hafta-sifir-708e4f1c3d6ce918.js index e5c9748..a669905 100644 --- a/_next/static/chunks/pages/haftalar/hafta-sifir-545d2815e868ac92.js +++ b/_next/static/chunks/pages/haftalar/hafta-sifir-708e4f1c3d6ce918.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[322],{6152:function(i,n,e){(window.__NEXT_P=window.__NEXT_P||[]).push(["/haftalar/hafta-sifir",function(){return e(7645)}])},7845:function(i,n,e){"use strict";var r=e(5893),a=e(5988),l=(new Date).getFullYear();n.Z={footer:(0,r.jsxs)("small",{style:{display:"block",marginTop:"8rem"},className:"jsx-7c359fde634f3543",children:[(0,r.jsx)("time",{className:"jsx-7c359fde634f3543",children:l})," \xa9 PauSiber",(0,r.jsx)(a.default,{id:"7c359fde634f3543",children:"a.jsx-7c359fde634f3543{float:right}\n@media screen and (max-width:480px) {article.jsx-7c359fde634f3543{padding-top:2rem;\npadding-bottom:4rem}}"})]})}},7645:function(i,n,e){"use strict";e.r(n),e.d(n,{default:function(){return o}});var r=e(5893),a=e(8616),l=e(3805),s=e(7845),t=e(1151);function d(i,n,e){return n in i?Object.defineProperty(i,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):i[n]=e,i}function u(i){for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:{},n=function(){var n=Object.assign({h1:"h1",p:"p",strong:"strong",a:"a",h2:"h2",blockquote:"blockquote",ul:"ul",li:"li",em:"em",h4:"h4",ol:"ol"},(0,t.ah)(),i.components),e=n.CenteredImageLightbox;return e||c("CenteredImageLightbox",!0),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.h1,{children:"Hafta 0"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"Ama\xe7 :"})," Linux'un genel bir tan\u0131m\u0131. Gerekli kurulumlar\u0131n ger\xe7ekle\u015ftirilmesi."]}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"Yazarlar :"})," ",(0,r.jsx)(n.a,{href:"https://github.com/boratanrikulu",children:(0,r.jsx)(n.strong,{children:"boratanrikulu"})})," ",(0,r.jsx)(n.strong,{children:"&&"})," ",(0,r.jsx)(n.a,{href:"https://github.com/hasantezcan",children:(0,r.jsx)(n.strong,{children:"hasantezcan"})})]}),"\n",(0,r.jsx)(n.h2,{children:"Linux Nedir ?"}),"\n",(0,r.jsx)(n.p,{children:"Linux C dili ile yaz\u0131lm\u0131\u015f bir \xe7ekirdektir."}),"\n",(0,r.jsx)(n.p,{children:"1991'de UNIX'e bir alternatif olmas\u0131 amac\u0131yla, Linus Torvalds taraf\u0131ndan, UNIX'den esinlenerek yaz\u0131lm\u0131\u015ft\u0131r. Linux'ta UNIX'den direkt olarak al\u0131nm\u0131\u015f hi\xe7bir kod bulunmamaktad\u0131r."}),"\n",(0,r.jsx)(n.p,{children:"POSIX standartlar\u0131na uygun olarak yaz\u0131lan Linux, GNU Genel Kamu Lisans\u0131 ile sunulan ve Linux Vakf\u0131 \xe7at\u0131s\u0131 alt\u0131nda geli\u015ftirilen bir \xf6zg\xfcr yaz\u0131l\u0131m projesidir."}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:["Daha detayl\u0131 bilgi i\xe7in ",(0,r.jsx)(n.strong,{children:"Just for Fun : The Story of an Accidental Revolutionary by Linus Benedict Torvalds"})]}),"\n"]}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.strong,{children:"Peki \xe7ekirdek nedir ?"})}),"\n",(0,r.jsx)(n.p,{children:"\xc7ekirdek, yani kernel, i\u015fletim sisteminin kalbidir. Uygulamalar ve donan\u0131m aras\u0131nda \xe7evirici g\xf6rev g\xf6r\xfcr. Fiziksel donan\u0131mla yaz\u0131l\u0131m aras\u0131ndaki haberle\u015fmeyi sa\u011flar."}),"\n",(0,r.jsx)(e,{alt:"kernel-nedir",src:"/images/hafta0/0.png"}),"\n",(0,r.jsx)(n.p,{children:"Yani Linux tek ba\u015f\u0131na bir i\u015fletim sistemi de\u011fildir."}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.strong,{children:"Peki i\u015fletim sistemi (operating system) nedir ?"})}),"\n",(0,r.jsx)(n.p,{children:"\u0130\u015fletim sistemi, bilgisayar\u0131 kullanabilmemiz i\xe7in gerekli olan yaz\u0131l\u0131mlar b\xfct\xfcn\xfcd\xfcr. \xd6rne\u011fin \xf6n\xfcn\xfczde bulunan Windows bir i\u015fletim sistemidir. \u0130\u015fletim sistemi User Interface (shell) ve Kernel'dan olu\u015fur."}),"\n",(0,r.jsx)(e,{alt:"os-nedir",src:"/images/hafta0/1.png",width:"650"}),"\n",(0,r.jsxs)(n.p,{children:["\u0130\u015fletim sistemleri ve kernel bir b\xfct\xfcn halinde \xe7al\u0131\u015f\u0131r. ",(0,r.jsx)(n.strong,{children:"Yani Linux i\xe7in tek ba\u015f\u0131na bir i\u015fletim sistemi diyemeyiz."})]}),"\n",(0,r.jsxs)(n.p,{children:["GNU isimli bir i\u015fletim sistemi vard\u0131r. \xd6zg\xfcr yaz\u0131l\u0131m felsefesini ama\xe7 edinen bu i\u015fletim sistemi, 1983'te Richard Stallman taraf\u0131ndan duyurulmu\u015ftur.",(0,r.jsx)(n.a,{href:"https://www.gnu.org/",children:"gnu.org"})]}),"\n",(0,r.jsxs)(n.p,{children:["Belli bir s\xfcre HURD \xe7ekirde\u011fini kullanan GNU; 1991'de Linus Torvals taraf\u0131ndan Linux'un duyurulmas\u0131 ve ",(0,r.jsx)(n.strong,{children:"Linux \xe7ekirde\u011finin pop\xfclerlik kazanmas\u0131yla, GNU i\u015fletim sisteminde, \xe7ekirdek olarak Linux'a ge\xe7i\u015f yap\u0131lm\u0131\u015ft\u0131r."})," GNU ara\xe7lar\u0131 Linux'a uyarlanm\u0131\u015f ve b\xf6ylelikle HURD'\u0131n geli\u015fimi iyiden iyiye yava\u015flam\u0131\u015ft\u0131r."]}),"\n",(0,r.jsx)(n.p,{children:"G\xfcn\xfcm\xfczde HURD'\u0131n 1. versiyonu halen \xe7\u0131kar\u0131lamam\u0131\u015ft\u0131r."}),"\n",(0,r.jsxs)(n.p,{children:["Bu sebeplerden dolay\u0131 yaln\u0131zca Linux demek yanl\u0131\u015ft\u0131r. ",(0,r.jsx)(n.strong,{children:"GNU/Linux"})," olarak s\xf6ylenmesi daha do\u011frudur."]}),"\n",(0,r.jsx)(e,{alt:"hurd",src:"/images/hafta0/2.png"}),"\n",(0,r.jsx)(n.h2,{children:"GNU/Linux'a Neden \u0130htiyac\u0131m\u0131z Var ?"}),"\n",(0,r.jsxs)(n.p,{children:["A\xe7\u0131k\xe7as\u0131 bu bir tercih meselesi. \u0130\u015fletim sistemi bir ara\xe7t\u0131r. ",(0,r.jsx)(n.strong,{children:"Sizin i\xe7in en do\u011fru ara\xe7, amac\u0131n\u0131za en uygun olan ara\xe7t\u0131r."})]}),"\n",(0,r.jsx)(n.p,{children:"GNU/Linux'un size sa\u011flayaca\u011f\u0131 bir\xe7ok avantaj var."}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:["Y\xfcksek d\xfczeyde ",(0,r.jsx)(n.strong,{children:"\xf6zelle\u015ftirilebilmesi."})]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"\xdccretsiz"})," olmas\u0131 (her da\u011f\u0131t\u0131m \xfccretsiz de\u011fildir)."]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"H\u0131zl\u0131 ve Kararl\u0131d\u0131r"})," (Donan\u0131m deste\u011fi oldu\u011fu taktirde)."]}),"\n",(0,r.jsxs)(n.li,{children:["GNU/Linux i\xe7in ",(0,r.jsx)(n.strong,{children:"zararl\u0131 yaz\u0131l\u0131m say\u0131s\u0131n\u0131n az olmas\u0131."})]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"\xd6zg\xfcr Yaz\u0131l\u0131m"})," olmas\u0131."]}),"\n",(0,r.jsxs)(n.li,{children:["A\xe7\u0131k kaynak oldu\u011fu i\xe7in, ",(0,r.jsx)(n.strong,{children:"sorun tespitinin ve \xe7\xf6z\xfcm\xfcn\xfcn olduk\xe7a h\u0131zl\u0131 olmas\u0131"})," (community)."]}),"\n",(0,r.jsxs)(n.li,{children:["Yard\u0131m bulabilmeniz i\xe7in bir\xe7ok toplulu\u011fun (community) olmas\u0131; ",(0,r.jsx)(n.strong,{children:"bir \u015firkete ba\u011fl\u0131 de\u011filsiniz, yaln\u0131z de\u011filsiniz!"})]}),"\n"]}),"\n",(0,r.jsx)(n.h2,{children:"\xd6zg\xfcr Yaz\u0131l\u0131m Nedir ?"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.strong,{children:"\xd6zg\xfcr Yaz\u0131l\u0131m bir \xf6zg\xfcrl\xfck meselesidir, fiyat de\u011fil."})}),"\n",(0,r.jsxs)(n.p,{children:["Bu yanl\u0131\u015f anla\u015f\u0131lman\u0131n sebebi; ",(0,r.jsx)(n.em,{children:"free"})," s\xf6zc\xfc\u011f\xfcn\xfcn hem \xfccretsiz hem de \xf6zg\xfcr manas\u0131na gelmesinden ortaya \xe7\u0131k\u0131yor."]}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.em,{children:(0,r.jsx)(n.strong,{children:"To understand the concept, you should think of \u201cfree\u201d as in \u201cfree speech,\u201d not as in \u201cfree beer\u201d."})})}),"\n",(0,r.jsx)(n.p,{children:"\xd6zg\xfcr yaz\u0131l\u0131m insanlar\u0131 \xf6\u011frenmeye, \xf6\u011frendiklerini \xf6\u011fretmeye, k\u0131s\u0131tl\u0131 \xf6mr\xfcm\xfczde kazand\u0131\u011f\u0131m\u0131z bilgileri gelecek nesillere bilgi birikimi olarak b\u0131rakmaya, bir defa yap\u0131lm\u0131\u015f bir \u015feyin yap\u0131m\u0131 i\xe7in gereken tekni\u011fi tekrar tekrar bulunmas\u0131na gerek b\u0131rakmamaya te\u015fvik eder."}),"\n",(0,r.jsxs)(n.p,{children:["K\u0131sacas\u0131 \xd6zg\xfcr Yaz\u0131l\u0131m ",(0,r.jsx)(n.strong,{children:"t\xfcm insanl\u0131\u011fa hizmet eder"}),", yanl\u0131zca ",(0,r.jsx)(n.strong,{children:"bir grup insan\u0131n cebine de\u011fil."})]}),"\n",(0,r.jsx)(n.h4,{children:"Bir Yaz\u0131l\u0131m Nas\u0131l \xd6zg\xfcr Yaz\u0131l\u0131m Olur?"}),"\n",(0,r.jsx)(n.p,{children:"Bir yaz\u0131l\u0131m\u0131n \xf6zg\xfcr olmas\u0131 i\xe7in yerine getirmesi gereken 4 kriter vard\u0131r."}),"\n",(0,r.jsxs)(n.ol,{start:"0",children:["\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"\xc7al\u0131\u015ft\u0131r\u0131labilirlik:"})," Bir yaz\u0131l\u0131m istendi\u011fi \u015fekilde ve do\u011frultuda \xe7al\u0131\u015ft\u0131r\u0131labilir."]}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"De\u011fi\u015ftirilebilirlik:"})," Herhangi bir yazl\u0131m istendi\u011fi ama\xe7 do\u011frultusunda de\u011fi\u015ftirilebilir. \u0130stedi\u011fimiz \u015fekilde ekleme \xe7\u0131karma yap\u0131labilinir.",(0,r.jsx)(n.em,{children:"(Yaz\u0131l\u0131m\u0131n kaynak koduna eri\u015fim (open source) bunun i\xe7in bir \xf6n\u015fartt\u0131r.)"})]}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"Da\u011f\u0131t\u0131labilirlik:"})," Yaz\u0131l\u0131m herhangi biri taraf\u0131ndan tekrardan da\u011f\u0131t\u0131labilir, toplulukla bunu payla\u015fabilir."]}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"De\u011fi\u015ftirip Da\u011f\u0131t\u0131labilirlik:"})," Bir yaz\u0131l\u0131m\u0131 istedi\u011fimiz gibi \xe7al\u0131\u015ft\u0131r\u0131p, de\u011fi\u015ftirdi\u011fimiz gibi o yaz\u0131l\u0131m\u0131 istedi\u011fimiz do\u011frultuda de\u011fi\u015ftirip ve geli\u015ftirip bu haliyle yeniden da\u011f\u0131tabiliriz."]}),"\n"]}),"\n"]}),"\n",(0,r.jsxs)(n.p,{children:["T\xfcm bu \u015fartlar\u0131 yerine getirebilen her yaz\u0131l\u0131m ",(0,r.jsx)(n.strong,{children:"\xf6zg\xfcrd\xfcr."})]}),"\n",(0,r.jsx)(n.h2,{children:"Distro (Da\u011f\u0131t\u0131m) nedir ?"}),"\n",(0,r.jsx)(n.p,{children:"GNU/Linux isimli indirip kurabilece\u011finiz bir i\u015fletim sistemi asl\u0131nda yoktur. Bir\xe7ok distro vard\u0131r."}),"\n",(0,r.jsx)(n.p,{children:"Distro, yani da\u011f\u0131t\u0131m, \xf6zg\xfcr yaz\u0131l\u0131m felsefesinin \xe7ok alternatifli d\xfcnyas\u0131n\u0131n bir sonucu olarak ortaya \xe7\u0131km\u0131\u015f, GNU/Linux'a \xf6zg\xfc bir terimdir."}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"http://futurist.se/gldt/",children:(0,r.jsx)(n.strong,{children:"futurist.se/gldt/"})})}),"\n",(0,r.jsx)(e,{alt:"distros",src:"http://futurist.se/gldt/wp-content/uploads/12.10/gldt1210.png",width:"400"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.strong,{children:"Peki neden tek bir i\u015fletim sistemi de\u011fil de birden fazla i\u015fletim sistemine -distro- ihtiya\xe7 duyulmu\u015ftur ?"})}),"\n",(0,r.jsxs)(n.p,{children:["\xc7\xfcnk\xfc t\xfcm insanlar farkl\u0131d\u0131r. Herkesin kendine g\xf6re ilgi alanlar\u0131 vard\u0131r. Bu sebepten dolay\u0131 ayn\u0131 ilgi alan\u0131na sahip ki\u015filer birle\u015ferek bir topluluk yani ",(0,r.jsx)(n.strong,{children:"community"}),"'leri olu\u015fturur. Bu community'ler ilgi duyduklar\u0131 alanlara uygun \xf6zelle\u015ftirmeleri yaparak bunu bir da\u011f\u0131t\u0131m haline getirirler ve bunu t\xfcm d\xfcnya ile payla\u015f\u0131rlar."]}),"\n",(0,r.jsx)(n.p,{children:"Ubuntu Studio bunun i\xe7in g\xfczel bir \xf6rnektir."}),"\n",(0,r.jsx)(e,{alt:"distros",src:"/images/hafta0/12.png",width:"600"}),"\n",(0,r.jsx)(n.h2,{children:"Temel Da\u011f\u0131t\u0131mlar Nelerdir ?"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:"Debian"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsx)(n.li,{children:"Ubuntu"}),"\n",(0,r.jsx)(n.li,{children:"Pardus"}),"\n"]}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:"Red Hat"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsx)(n.li,{children:"CentOS"}),"\n",(0,r.jsx)(n.li,{children:"Fedora"}),"\n"]}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:"Slackware"}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:"Arch"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsx)(n.li,{children:"Manjaro"}),"\n"]}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:"OpenSuse"}),"\n"]}),"\n"]}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://distrowatch.com/",children:(0,r.jsx)(n.strong,{children:"distrowatch.com/"})})}),"\n",(0,r.jsx)(n.h2,{children:"PauSiber Dev Nedir ? Neden \u0130htiyac\u0131m\u0131z Var ?"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.strong,{children:"Pa\xfcSiber Dev, Arch Linux \xfczerine \xf6zelle\u015ftirilerek, geli\u015ftirme yap\u0131lmas\u0131 i\xe7in uygun bir ortam\u0131n olu\u015fmas\u0131 amac\u0131yla haz\u0131rlanm\u0131\u015f, \xf6zelle\u015ftirilmi\u015f bir da\u011f\u0131t\u0131md\u0131r."})}),"\n",(0,r.jsxs)(n.p,{children:["Da\u011f\u0131t\u0131m\u0131n haz\u0131rlanmas\u0131 i\xe7in duydu\u011fumuz iste\u011fin ana kayna\u011f\u0131, toplulu\u011fumuz taraf\u0131ndan d\xfczenlenen e\u011fitimler s\u0131ras\u0131nda, kat\u0131l\u0131mc\u0131lar\u0131n sistemlerini e\u011fitime uygun hale haz\u0131rlayarak gelmemesi ya da anl\u0131k olarak sorunlar \xe7\u0131kmas\u0131ndan kaynaklanan ",(0,r.jsx)(n.strong,{children:"zaman israf\u0131n\u0131 \xf6nlemek"})," isteyi\u015fimizdir."]}),"\n",(0,r.jsx)(n.p,{children:"Bu da\u011f\u0131t\u0131m ile daha \xf6nceden d\xfc\u015f\xfcn\xfclerek yap\u0131land\u0131r\u0131lm\u0131\u015f sistem \xfczerinde, direkt olarak geli\u015ftirme a\u015famas\u0131na ge\xe7ilmesi planlanmaktad\u0131r. Ayr\u0131ca genel olarak sistemin kullan\u0131m\u0131 kolayla\u015ft\u0131racak baz\u0131 yap\u0131lar da sisteme entegre edilmi\u015ftir."}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.strong,{children:"Asl\u0131nda ger\xe7ekten bir da\u011f\u0131t\u0131m de\u011fildir, yaln\u0131zca OVA s\xfcr\xfcm\xfc vard\u0131r."})}),"\n",(0,r.jsx)(n.p,{children:'Da\u011f\u0131t\u0131m\u0131 \u015fuan yaln\u0131zca OVA olarak sunma sebebimiz, GNU/Linux\'un farkl\u0131 donan\u0131mlarda ortaya \xe7\u0131karabilece\u011fi s\xfcr\xfcc\xfc sorunlar\u0131d\u0131r. E\u011fitimler s\u0131ras\u0131nda bu gibi sorunlar\u0131n ortaya \xe7\u0131kmas\u0131n\u0131 istemiyoruz. OVA olarak sundu\u011fumuz i\xe7in, kat\u0131l\u0131mc\u0131 ana sisteminin yap\u0131s\u0131n\u0131 de\u011fi\u015ftirmeden, direkt olarak VirtualBox \xfczerinden "PauSiber Dev.ova" kurulumunu 2 dakika i\xe7ersinde yapabilecektir. Ard\u0131ndan geli\u015ftirmeye ba\u015flanabilir!'}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"PauSiber Dev"})," fikri ",(0,r.jsx)(n.strong,{children:"HacknBreak18"}),"'de oraya \xe7\u0131km\u0131\u015ft\u0131r."]}),"\n",(0,r.jsx)(e,{alt:"hacknbreak18",src:"/images/hafta0/3.png",width:"500"}),"\n",(0,r.jsx)(n.h2,{children:"VirtualBox Kurulumu"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"1 -"})," VirtualBox'\u0131n sitesinden bilgisayar\u0131n\u0131za uygun olan setup'\u0131 indirin.\n",(0,r.jsx)(n.a,{href:"https://www.virtualbox.org/wiki/Downloads",children:"www.virtualbox.org/wiki/Downloads/"})]}),"\n",(0,r.jsx)(e,{alt:"virtualbox",src:"/images/hafta0/4.png"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"2 -"})," \u0130ndirilen setup'\u0131 a\xe7\u0131n."]}),"\n",(0,r.jsx)(e,{alt:"virtualbox",src:"/images/hafta0/5.png"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"3 -"})," Ard\u0131ndan next next next diyerek kurulumu tamamlay\u0131n :) .."]}),"\n",(0,r.jsx)(e,{alt:"virtualbox",src:"/images/hafta0/6.png"}),"\n",(0,r.jsx)(e,{alt:"virtualbox",src:"/images/hafta0/7.png"}),"\n",(0,r.jsx)(e,{alt:"virtualbox",src:"/images/hafta0/8.png"}),"\n",(0,r.jsx)(e,{alt:"virtualbox",src:"/images/hafta0/9.png"}),"\n",(0,r.jsx)(e,{alt:"virtualbox",src:"/images/hafta0/10.png"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"4 -"})," Ve y\xfckleme i\u015flemi tamamland\u0131."]}),"\n",(0,r.jsx)(e,{alt:"virtualbox",src:"/images/hafta0/11.png"}),"\n",(0,r.jsx)(n.h2,{children:"PauSiber Dev Kurulumu"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"1 -"})," Dev'in sitesinden OVA'y\u0131 indirin.\n",(0,r.jsx)(n.a,{href:"https://dev.pausiber.xyz/",children:"dev.pausiber.xyz/"})]}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"2 -"})," Ard\u0131ndan OVA'y\u0131 VirtualBox ile \xe7al\u0131\u015ft\u0131r\u0131n."]}),"\n",(0,r.jsx)(e,{alt:"dev",src:"/images/hafta0/13.png"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"3 -"})," OVA'y\u0131 \xe7al\u0131\u015ft\u0131rd\u0131\u011f\u0131n\u0131zda kar\u015f\u0131n\u0131za a\u015fa\u011f\u0131daki gibi bir menu gelecek. MAC adreslerinin yeniden olu\u015fturulmas\u0131 i\xe7in gerekli tiki i\u015faretledikten sonra ",(0,r.jsx)(n.strong,{children:"import"})," se\xe7ene\u011fine bas\u0131n."]}),"\n",(0,r.jsx)(e,{alt:"dev",src:"/images/hafta0/14.png"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"4 -"})," Import i\u015flemi bittikten sonra sanal makineyi ba\u015flatabilirsiniz."]}),"\n",(0,r.jsx)(e,{alt:"dev",src:"/images/hafta0/15.png"}),"\n",(0,r.jsx)(n.h2,{children:"Bu hafta neler yapt\u0131k ?"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsx)(n.li,{children:"Linux'un bir i\u015fletim sistemi de\u011fil, \xe7ekirdek oldu\u011funu \xf6\u011frendik."}),"\n",(0,r.jsx)(n.li,{children:"\xc7ekirdek ve i\u015fletim sisteminin ne oldu\u011funu kabaca \xf6\u011frendik."}),"\n",(0,r.jsx)(n.li,{children:"GNU'nun ne oldu\u011funu, \xf6nceden HURD isimli bir \xe7ekirde\u011fi kulland\u0131\u011f\u0131n\u0131 \xf6\u011frendik."}),"\n",(0,r.jsx)(n.li,{children:"Yaln\u0131zca Linux denmesinin neden yanl\u0131\u015f oldu\u011funu, GNU/Linux olarak isimlendirilmesi gerekti\u011fini \xf6\u011frendik."}),"\n",(0,r.jsx)(n.li,{children:"GNU/Linux'a neden ihtiyac\u0131m\u0131z oldu\u011funu tart\u0131\u015ft\u0131k."}),"\n",(0,r.jsx)(n.li,{children:"\xd6zg\xfcr yaz\u0131l\u0131m\u0131n ne oldu\u011funu \xf6\u011frendik."}),"\n",(0,r.jsx)(n.li,{children:"Bir yaz\u0131l\u0131m\u0131n \xf6zg\xfcr olmas\u0131 i\xe7in gerekli ko\u015fullar\u0131n neler oldu\u011funu \xf6\u011frendik."}),"\n",(0,r.jsx)(n.li,{children:"Da\u011f\u0131t\u0131m yani distro teriminin ne oldu\u011funu ve neden bir\xe7ok da\u011f\u0131t\u0131m\u0131n oldu\u011funu \xf6\u011frendik."}),"\n",(0,r.jsx)(n.li,{children:"Temel da\u011f\u0131t\u0131mlar\u0131n neler oldu\u011funu \xf6\u011frendik."}),"\n",(0,r.jsx)(n.li,{children:"PauSiber Dev'in ne oldu\u011funu ve neden bunu haz\u0131rlama ihtiyac\u0131 duydu\u011fumuzu \xf6\u011frendik."}),"\n"]}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.strong,{children:"Haftaya G\xf6r\xfc\u015fmek \xdczere!"})})]})},e=Object.assign({},(0,t.ah)(),i.components),a=e.wrapper;return a?(0,r.jsx)(a,u({},i,{children:(0,r.jsx)(n,{})})):n()}var m=(0,r.jsx)(h,{});function c(i,n){throw new Error("Expected "+(n?"component":"object")+" `"+i+"` to be defined: you likely forgot to import, pass, or provide it.")}function o(i){return(0,l.withSSG)((0,a.Z)({filename:"hafta-sifir.mdx",route:"/haftalar/hafta-sifir",meta:{title:"Hafta 0",date:"2023/5/5",description:"Linux'un genel bir tan\u0131m\u0131. Gerekli kurulumlar\u0131n ger\xe7ekle\u015ftirilmesi.",tag:"gnu/linux",author:"Enes Kaya"},pageMap:[{name:"haftalar",children:[{name:"hafta-bir",route:"/haftalar/hafta-bir",frontMatter:{title:"Hafta 1",date:"2022/5/5",description:"Linux'a giri\u015f.",tag:"gnu/linux",author:"Enes Kaya"}},{name:"hafta-iki",route:"/haftalar/hafta-iki",frontMatter:{title:"Hafta 2",date:"2021/5/5",description:"Linux'ta kullan\u0131c\u0131-grup y\xf6netimini ve dosya-dizin izinlerini kavratmak.",tag:"gnu/linux",author:"Enes Kaya"}},{name:"hafta-sifir",route:"/haftalar/hafta-sifir",frontMatter:{title:"Hafta 0",date:"2023/5/5",description:"Linux'un genel bir tan\u0131m\u0131. Gerekli kurulumlar\u0131n ger\xe7ekle\u015ftirilmesi.",tag:"gnu/linux",author:"Enes Kaya"}},{name:"hafta-uc",route:"/haftalar/hafta-uc",frontMatter:{title:"Hafta 3",date:"2020/5/5",description:"Server kavram\u0131n\u0131n a\xe7\u0131klanmas\u0131, SSH Kullan\u0131m\u0131, Zamanlanm\u0131\u015f g\xf6revler olu\u015fturulmas\u0131.",tag:"gnu/linux",author:"Enes Kaya"}},{name:"index",route:"/haftalar",frontMatter:{type:"posts",title:"Haftalar",date:"2021-03-18T00:00:00.000Z"}}],route:"/haftalar"},{name:"index",route:"/",frontMatter:{type:"page",title:"Hakk\u0131nda",date:"2021-03-19T00:00:00.000Z"}},{name:"tags",children:[{name:"[tag]",route:"/tags/[tag]",frontMatter:{type:"tag",title:"Tagged Posts"}}],route:"/tags"}]},s.Z))(u({},i,{children:m}))}}},function(i){i.O(0,[774,353,888,179],(function(){return n=6152,i(i.s=n);var n}));var n=i.O();_N_E=n}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[322],{6152:function(i,n,e){(window.__NEXT_P=window.__NEXT_P||[]).push(["/haftalar/hafta-sifir",function(){return e(7645)}])},7845:function(i,n,e){"use strict";var r=e(5893),a=e(5988),l=(new Date).getFullYear();n.Z={footer:(0,r.jsxs)("small",{style:{display:"block",marginTop:"8rem"},className:"jsx-7c359fde634f3543",children:[(0,r.jsx)("time",{className:"jsx-7c359fde634f3543",children:l})," \xa9 PauSiber",(0,r.jsx)(a.default,{id:"7c359fde634f3543",children:"a.jsx-7c359fde634f3543{float:right}\n@media screen and (max-width:480px) {article.jsx-7c359fde634f3543{padding-top:2rem;\npadding-bottom:4rem}}"})]})}},7645:function(i,n,e){"use strict";e.r(n),e.d(n,{default:function(){return c}});var r=e(5893),a=e(8616),l=e(3805),s=e(7845),t=e(1151);function d(i,n,e){return n in i?Object.defineProperty(i,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):i[n]=e,i}function u(i){for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:{},n=function(){var n=Object.assign({h1:"h1",p:"p",strong:"strong",a:"a",h2:"h2",blockquote:"blockquote",ul:"ul",li:"li",em:"em",h4:"h4",ol:"ol"},(0,t.ah)(),i.components),e=n.CenteredImageLightbox;return e||o("CenteredImageLightbox",!0),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.h1,{children:"Hafta 0"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"Ama\xe7 :"})," Linux'un genel bir tan\u0131m\u0131. Gerekli kurulumlar\u0131n ger\xe7ekle\u015ftirilmesi."]}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"Yazarlar :"})," ",(0,r.jsx)(n.a,{href:"https://github.com/boratanrikulu",children:(0,r.jsx)(n.strong,{children:"boratanrikulu"})})," ",(0,r.jsx)(n.strong,{children:"&&"})," ",(0,r.jsx)(n.a,{href:"https://github.com/hasantezcan",children:(0,r.jsx)(n.strong,{children:"hasantezcan"})})]}),"\n",(0,r.jsx)(n.h2,{children:"Linux Nedir ?"}),"\n",(0,r.jsx)(n.p,{children:"Linux C dili ile yaz\u0131lm\u0131\u015f bir \xe7ekirdektir."}),"\n",(0,r.jsx)(n.p,{children:"1991'de UNIX'e bir alternatif olmas\u0131 amac\u0131yla, Linus Torvalds taraf\u0131ndan, UNIX'den esinlenerek yaz\u0131lm\u0131\u015ft\u0131r. Linux'ta UNIX'den direkt olarak al\u0131nm\u0131\u015f hi\xe7bir kod bulunmamaktad\u0131r."}),"\n",(0,r.jsx)(n.p,{children:"POSIX standartlar\u0131na uygun olarak yaz\u0131lan Linux, GNU Genel Kamu Lisans\u0131 ile sunulan ve Linux Vakf\u0131 \xe7at\u0131s\u0131 alt\u0131nda geli\u015ftirilen bir \xf6zg\xfcr yaz\u0131l\u0131m projesidir."}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:["Daha detayl\u0131 bilgi i\xe7in ",(0,r.jsx)(n.strong,{children:"Just for Fun : The Story of an Accidental Revolutionary by Linus Benedict Torvalds"})]}),"\n"]}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.strong,{children:"Peki \xe7ekirdek nedir ?"})}),"\n",(0,r.jsx)(n.p,{children:"\xc7ekirdek, yani kernel, i\u015fletim sisteminin kalbidir. Uygulamalar ve donan\u0131m aras\u0131nda \xe7evirici g\xf6rev g\xf6r\xfcr. Fiziksel donan\u0131mla yaz\u0131l\u0131m aras\u0131ndaki haberle\u015fmeyi sa\u011flar."}),"\n",(0,r.jsx)(e,{alt:"kernel-nedir",src:"/images/hafta0/0.png"}),"\n",(0,r.jsx)(n.p,{children:"Yani Linux tek ba\u015f\u0131na bir i\u015fletim sistemi de\u011fildir."}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.strong,{children:"Peki i\u015fletim sistemi (operating system) nedir ?"})}),"\n",(0,r.jsx)(n.p,{children:"\u0130\u015fletim sistemi, bilgisayar\u0131 kullanabilmemiz i\xe7in gerekli olan yaz\u0131l\u0131mlar b\xfct\xfcn\xfcd\xfcr. \xd6rne\u011fin \xf6n\xfcn\xfczde bulunan Windows bir i\u015fletim sistemidir. \u0130\u015fletim sistemi User Interface (shell) ve Kernel'dan olu\u015fur."}),"\n",(0,r.jsx)(e,{alt:"os-nedir",src:"/images/hafta0/1.png",width:"650"}),"\n",(0,r.jsxs)(n.p,{children:["\u0130\u015fletim sistemleri ve kernel bir b\xfct\xfcn halinde \xe7al\u0131\u015f\u0131r. ",(0,r.jsx)(n.strong,{children:"Yani Linux i\xe7in tek ba\u015f\u0131na bir i\u015fletim sistemi diyemeyiz."})]}),"\n",(0,r.jsxs)(n.p,{children:["GNU isimli bir i\u015fletim sistemi vard\u0131r. \xd6zg\xfcr yaz\u0131l\u0131m felsefesini ama\xe7 edinen bu i\u015fletim sistemi, 1983'te Richard Stallman taraf\u0131ndan duyurulmu\u015ftur.",(0,r.jsx)(n.a,{href:"https://www.gnu.org/",children:"gnu.org"})]}),"\n",(0,r.jsxs)(n.p,{children:["Belli bir s\xfcre HURD \xe7ekirde\u011fini kullanan GNU; 1991'de Linus Torvals taraf\u0131ndan Linux'un duyurulmas\u0131 ve ",(0,r.jsx)(n.strong,{children:"Linux \xe7ekirde\u011finin pop\xfclerlik kazanmas\u0131yla, GNU i\u015fletim sisteminde, \xe7ekirdek olarak Linux'a ge\xe7i\u015f yap\u0131lm\u0131\u015ft\u0131r."})," GNU ara\xe7lar\u0131 Linux'a uyarlanm\u0131\u015f ve b\xf6ylelikle HURD'\u0131n geli\u015fimi iyiden iyiye yava\u015flam\u0131\u015ft\u0131r."]}),"\n",(0,r.jsx)(n.p,{children:"G\xfcn\xfcm\xfczde HURD'\u0131n 1. versiyonu halen \xe7\u0131kar\u0131lamam\u0131\u015ft\u0131r."}),"\n",(0,r.jsxs)(n.p,{children:["Bu sebeplerden dolay\u0131 yaln\u0131zca Linux demek yanl\u0131\u015ft\u0131r. ",(0,r.jsx)(n.strong,{children:"GNU/Linux"})," olarak s\xf6ylenmesi daha do\u011frudur."]}),"\n",(0,r.jsx)(e,{alt:"hurd",src:"/images/hafta0/2.png"}),"\n",(0,r.jsx)(n.h2,{children:"GNU/Linux'a Neden \u0130htiyac\u0131m\u0131z Var ?"}),"\n",(0,r.jsxs)(n.p,{children:["A\xe7\u0131k\xe7as\u0131 bu bir tercih meselesi. \u0130\u015fletim sistemi bir ara\xe7t\u0131r. ",(0,r.jsx)(n.strong,{children:"Sizin i\xe7in en do\u011fru ara\xe7, amac\u0131n\u0131za en uygun olan ara\xe7t\u0131r."})]}),"\n",(0,r.jsx)(n.p,{children:"GNU/Linux'un size sa\u011flayaca\u011f\u0131 bir\xe7ok avantaj var."}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:["Y\xfcksek d\xfczeyde ",(0,r.jsx)(n.strong,{children:"\xf6zelle\u015ftirilebilmesi."})]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"\xdccretsiz"})," olmas\u0131 (her da\u011f\u0131t\u0131m \xfccretsiz de\u011fildir)."]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"H\u0131zl\u0131 ve Kararl\u0131d\u0131r"})," (Donan\u0131m deste\u011fi oldu\u011fu taktirde)."]}),"\n",(0,r.jsxs)(n.li,{children:["GNU/Linux i\xe7in ",(0,r.jsx)(n.strong,{children:"zararl\u0131 yaz\u0131l\u0131m say\u0131s\u0131n\u0131n az olmas\u0131."})]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"\xd6zg\xfcr Yaz\u0131l\u0131m"})," olmas\u0131."]}),"\n",(0,r.jsxs)(n.li,{children:["A\xe7\u0131k kaynak oldu\u011fu i\xe7in, ",(0,r.jsx)(n.strong,{children:"sorun tespitinin ve \xe7\xf6z\xfcm\xfcn\xfcn olduk\xe7a h\u0131zl\u0131 olmas\u0131"})," (community)."]}),"\n",(0,r.jsxs)(n.li,{children:["Yard\u0131m bulabilmeniz i\xe7in bir\xe7ok toplulu\u011fun (community) olmas\u0131; ",(0,r.jsx)(n.strong,{children:"bir \u015firkete ba\u011fl\u0131 de\u011filsiniz, yaln\u0131z de\u011filsiniz!"})]}),"\n"]}),"\n",(0,r.jsx)(n.h2,{children:"\xd6zg\xfcr Yaz\u0131l\u0131m Nedir ?"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.strong,{children:"\xd6zg\xfcr Yaz\u0131l\u0131m bir \xf6zg\xfcrl\xfck meselesidir, fiyat de\u011fil."})}),"\n",(0,r.jsxs)(n.p,{children:["Bu yanl\u0131\u015f anla\u015f\u0131lman\u0131n sebebi; ",(0,r.jsx)(n.em,{children:"free"})," s\xf6zc\xfc\u011f\xfcn\xfcn hem \xfccretsiz hem de \xf6zg\xfcr manas\u0131na gelmesinden ortaya \xe7\u0131k\u0131yor."]}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.em,{children:(0,r.jsx)(n.strong,{children:"To understand the concept, you should think of \u201cfree\u201d as in \u201cfree speech,\u201d not as in \u201cfree beer\u201d."})})}),"\n",(0,r.jsx)(n.p,{children:"\xd6zg\xfcr yaz\u0131l\u0131m insanlar\u0131 \xf6\u011frenmeye, \xf6\u011frendiklerini \xf6\u011fretmeye, k\u0131s\u0131tl\u0131 \xf6mr\xfcm\xfczde kazand\u0131\u011f\u0131m\u0131z bilgileri gelecek nesillere bilgi birikimi olarak b\u0131rakmaya, bir defa yap\u0131lm\u0131\u015f bir \u015feyin yap\u0131m\u0131 i\xe7in gereken tekni\u011fi tekrar tekrar bulunmas\u0131na gerek b\u0131rakmamaya te\u015fvik eder."}),"\n",(0,r.jsxs)(n.p,{children:["K\u0131sacas\u0131 \xd6zg\xfcr Yaz\u0131l\u0131m ",(0,r.jsx)(n.strong,{children:"t\xfcm insanl\u0131\u011fa hizmet eder"}),", yanl\u0131zca ",(0,r.jsx)(n.strong,{children:"bir grup insan\u0131n cebine de\u011fil."})]}),"\n",(0,r.jsx)(n.h4,{children:"Bir Yaz\u0131l\u0131m Nas\u0131l \xd6zg\xfcr Yaz\u0131l\u0131m Olur?"}),"\n",(0,r.jsx)(n.p,{children:"Bir yaz\u0131l\u0131m\u0131n \xf6zg\xfcr olmas\u0131 i\xe7in yerine getirmesi gereken 4 kriter vard\u0131r."}),"\n",(0,r.jsxs)(n.ol,{start:"0",children:["\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"\xc7al\u0131\u015ft\u0131r\u0131labilirlik:"})," Bir yaz\u0131l\u0131m istendi\u011fi \u015fekilde ve do\u011frultuda \xe7al\u0131\u015ft\u0131r\u0131labilir."]}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"De\u011fi\u015ftirilebilirlik:"})," Herhangi bir yazl\u0131m istendi\u011fi ama\xe7 do\u011frultusunda de\u011fi\u015ftirilebilir. \u0130stedi\u011fimiz \u015fekilde ekleme \xe7\u0131karma yap\u0131labilinir.",(0,r.jsx)(n.em,{children:"(Yaz\u0131l\u0131m\u0131n kaynak koduna eri\u015fim (open source) bunun i\xe7in bir \xf6n\u015fartt\u0131r.)"})]}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"Da\u011f\u0131t\u0131labilirlik:"})," Yaz\u0131l\u0131m herhangi biri taraf\u0131ndan tekrardan da\u011f\u0131t\u0131labilir, toplulukla bunu payla\u015fabilir."]}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"De\u011fi\u015ftirip Da\u011f\u0131t\u0131labilirlik:"})," Bir yaz\u0131l\u0131m\u0131 istedi\u011fimiz gibi \xe7al\u0131\u015ft\u0131r\u0131p, de\u011fi\u015ftirdi\u011fimiz gibi o yaz\u0131l\u0131m\u0131 istedi\u011fimiz do\u011frultuda de\u011fi\u015ftirip ve geli\u015ftirip bu haliyle yeniden da\u011f\u0131tabiliriz."]}),"\n"]}),"\n"]}),"\n",(0,r.jsxs)(n.p,{children:["T\xfcm bu \u015fartlar\u0131 yerine getirebilen her yaz\u0131l\u0131m ",(0,r.jsx)(n.strong,{children:"\xf6zg\xfcrd\xfcr."})]}),"\n",(0,r.jsx)(n.h2,{children:"Distro (Da\u011f\u0131t\u0131m) nedir ?"}),"\n",(0,r.jsx)(n.p,{children:"GNU/Linux isimli indirip kurabilece\u011finiz bir i\u015fletim sistemi asl\u0131nda yoktur. Bir\xe7ok distro vard\u0131r."}),"\n",(0,r.jsx)(n.p,{children:"Distro, yani da\u011f\u0131t\u0131m, \xf6zg\xfcr yaz\u0131l\u0131m felsefesinin \xe7ok alternatifli d\xfcnyas\u0131n\u0131n bir sonucu olarak ortaya \xe7\u0131km\u0131\u015f, GNU/Linux'a \xf6zg\xfc bir terimdir."}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"http://futurist.se/gldt/",children:(0,r.jsx)(n.strong,{children:"futurist.se/gldt/"})})}),"\n",(0,r.jsx)(e,{alt:"distros",src:"http://futurist.se/gldt/wp-content/uploads/12.10/gldt1210.png",width:"400"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.strong,{children:"Peki neden tek bir i\u015fletim sistemi de\u011fil de birden fazla i\u015fletim sistemine -distro- ihtiya\xe7 duyulmu\u015ftur ?"})}),"\n",(0,r.jsxs)(n.p,{children:["\xc7\xfcnk\xfc t\xfcm insanlar farkl\u0131d\u0131r. Herkesin kendine g\xf6re ilgi alanlar\u0131 vard\u0131r. Bu sebepten dolay\u0131 ayn\u0131 ilgi alan\u0131na sahip ki\u015filer birle\u015ferek bir topluluk yani ",(0,r.jsx)(n.strong,{children:"community"}),"'leri olu\u015fturur. Bu community'ler ilgi duyduklar\u0131 alanlara uygun \xf6zelle\u015ftirmeleri yaparak bunu bir da\u011f\u0131t\u0131m haline getirirler ve bunu t\xfcm d\xfcnya ile payla\u015f\u0131rlar."]}),"\n",(0,r.jsx)(n.p,{children:"Ubuntu Studio bunun i\xe7in g\xfczel bir \xf6rnektir."}),"\n",(0,r.jsx)(e,{alt:"distros",src:"/images/hafta0/12.png",width:"600"}),"\n",(0,r.jsx)(n.h2,{children:"Temel Da\u011f\u0131t\u0131mlar Nelerdir ?"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:"Debian"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsx)(n.li,{children:"Ubuntu"}),"\n",(0,r.jsx)(n.li,{children:"Pardus"}),"\n"]}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:"Red Hat"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsx)(n.li,{children:"CentOS"}),"\n",(0,r.jsx)(n.li,{children:"Fedora"}),"\n"]}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:"Slackware"}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:"Arch"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsx)(n.li,{children:"Manjaro"}),"\n"]}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:"OpenSuse"}),"\n"]}),"\n"]}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://distrowatch.com/",children:(0,r.jsx)(n.strong,{children:"distrowatch.com/"})})}),"\n",(0,r.jsx)(n.h2,{children:"PauSiber Dev Nedir ? Neden \u0130htiyac\u0131m\u0131z Var ?"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.strong,{children:"Pa\xfcSiber Dev, Arch Linux \xfczerine \xf6zelle\u015ftirilerek, geli\u015ftirme yap\u0131lmas\u0131 i\xe7in uygun bir ortam\u0131n olu\u015fmas\u0131 amac\u0131yla haz\u0131rlanm\u0131\u015f, \xf6zelle\u015ftirilmi\u015f bir da\u011f\u0131t\u0131md\u0131r."})}),"\n",(0,r.jsxs)(n.p,{children:["Da\u011f\u0131t\u0131m\u0131n haz\u0131rlanmas\u0131 i\xe7in duydu\u011fumuz iste\u011fin ana kayna\u011f\u0131, toplulu\u011fumuz taraf\u0131ndan d\xfczenlenen e\u011fitimler s\u0131ras\u0131nda, kat\u0131l\u0131mc\u0131lar\u0131n sistemlerini e\u011fitime uygun hale haz\u0131rlayarak gelmemesi ya da anl\u0131k olarak sorunlar \xe7\u0131kmas\u0131ndan kaynaklanan ",(0,r.jsx)(n.strong,{children:"zaman israf\u0131n\u0131 \xf6nlemek"})," isteyi\u015fimizdir."]}),"\n",(0,r.jsx)(n.p,{children:"Bu da\u011f\u0131t\u0131m ile daha \xf6nceden d\xfc\u015f\xfcn\xfclerek yap\u0131land\u0131r\u0131lm\u0131\u015f sistem \xfczerinde, direkt olarak geli\u015ftirme a\u015famas\u0131na ge\xe7ilmesi planlanmaktad\u0131r. Ayr\u0131ca genel olarak sistemin kullan\u0131m\u0131 kolayla\u015ft\u0131racak baz\u0131 yap\u0131lar da sisteme entegre edilmi\u015ftir."}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.strong,{children:"Asl\u0131nda ger\xe7ekten bir da\u011f\u0131t\u0131m de\u011fildir, yaln\u0131zca OVA s\xfcr\xfcm\xfc vard\u0131r."})}),"\n",(0,r.jsx)(n.p,{children:'Da\u011f\u0131t\u0131m\u0131 \u015fuan yaln\u0131zca OVA olarak sunma sebebimiz, GNU/Linux\'un farkl\u0131 donan\u0131mlarda ortaya \xe7\u0131karabilece\u011fi s\xfcr\xfcc\xfc sorunlar\u0131d\u0131r. E\u011fitimler s\u0131ras\u0131nda bu gibi sorunlar\u0131n ortaya \xe7\u0131kmas\u0131n\u0131 istemiyoruz. OVA olarak sundu\u011fumuz i\xe7in, kat\u0131l\u0131mc\u0131 ana sisteminin yap\u0131s\u0131n\u0131 de\u011fi\u015ftirmeden, direkt olarak VirtualBox \xfczerinden "PauSiber Dev.ova" kurulumunu 2 dakika i\xe7ersinde yapabilecektir. Ard\u0131ndan geli\u015ftirmeye ba\u015flanabilir!'}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"PauSiber Dev"})," fikri ",(0,r.jsx)(n.strong,{children:"HacknBreak18"}),"'de oraya \xe7\u0131km\u0131\u015ft\u0131r."]}),"\n",(0,r.jsx)(e,{alt:"hacknbreak18",src:"/images/hafta0/3.png",width:"500"}),"\n",(0,r.jsx)(n.h2,{children:"VirtualBox Kurulumu"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"1 -"})," VirtualBox'\u0131n sitesinden bilgisayar\u0131n\u0131za uygun olan setup'\u0131 indirin.\n",(0,r.jsx)(n.a,{href:"https://www.virtualbox.org/wiki/Downloads",children:"www.virtualbox.org/wiki/Downloads/"})]}),"\n",(0,r.jsx)(e,{alt:"virtualbox",src:"/images/hafta0/4.png"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"2 -"})," \u0130ndirilen setup'\u0131 a\xe7\u0131n."]}),"\n",(0,r.jsx)(e,{alt:"virtualbox",src:"/images/hafta0/5.png"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"3 -"})," Ard\u0131ndan next next next diyerek kurulumu tamamlay\u0131n :) .."]}),"\n",(0,r.jsx)(e,{alt:"virtualbox",src:"/images/hafta0/6.png"}),"\n",(0,r.jsx)(e,{alt:"virtualbox",src:"/images/hafta0/7.png"}),"\n",(0,r.jsx)(e,{alt:"virtualbox",src:"/images/hafta0/8.png"}),"\n",(0,r.jsx)(e,{alt:"virtualbox",src:"/images/hafta0/9.png"}),"\n",(0,r.jsx)(e,{alt:"virtualbox",src:"/images/hafta0/10.png"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"4 -"})," Ve y\xfckleme i\u015flemi tamamland\u0131."]}),"\n",(0,r.jsx)(e,{alt:"virtualbox",src:"/images/hafta0/11.png"}),"\n",(0,r.jsx)(n.h2,{children:"PauSiber Dev Kurulumu"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"1 -"})," Dev'in sitesinden OVA'y\u0131 indirin.\n",(0,r.jsx)(n.a,{href:"https://dev.pausiber.xyz/",children:"dev.pausiber.xyz/"})]}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"2 -"})," Ard\u0131ndan OVA'y\u0131 VirtualBox ile \xe7al\u0131\u015ft\u0131r\u0131n."]}),"\n",(0,r.jsx)(e,{alt:"dev",src:"/images/hafta0/13.png"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"3 -"})," OVA'y\u0131 \xe7al\u0131\u015ft\u0131rd\u0131\u011f\u0131n\u0131zda kar\u015f\u0131n\u0131za a\u015fa\u011f\u0131daki gibi bir menu gelecek. MAC adreslerinin yeniden olu\u015fturulmas\u0131 i\xe7in gerekli tiki i\u015faretledikten sonra ",(0,r.jsx)(n.strong,{children:"import"})," se\xe7ene\u011fine bas\u0131n."]}),"\n",(0,r.jsx)(e,{alt:"dev",src:"/images/hafta0/14.png"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"4 -"})," Import i\u015flemi bittikten sonra sanal makineyi ba\u015flatabilirsiniz."]}),"\n",(0,r.jsx)(e,{alt:"dev",src:"/images/hafta0/15.png"}),"\n",(0,r.jsx)(n.h2,{children:"Bu hafta neler yapt\u0131k ?"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsx)(n.li,{children:"Linux'un bir i\u015fletim sistemi de\u011fil, \xe7ekirdek oldu\u011funu \xf6\u011frendik."}),"\n",(0,r.jsx)(n.li,{children:"\xc7ekirdek ve i\u015fletim sisteminin ne oldu\u011funu kabaca \xf6\u011frendik."}),"\n",(0,r.jsx)(n.li,{children:"GNU'nun ne oldu\u011funu, \xf6nceden HURD isimli bir \xe7ekirde\u011fi kulland\u0131\u011f\u0131n\u0131 \xf6\u011frendik."}),"\n",(0,r.jsx)(n.li,{children:"Yaln\u0131zca Linux denmesinin neden yanl\u0131\u015f oldu\u011funu, GNU/Linux olarak isimlendirilmesi gerekti\u011fini \xf6\u011frendik."}),"\n",(0,r.jsx)(n.li,{children:"GNU/Linux'a neden ihtiyac\u0131m\u0131z oldu\u011funu tart\u0131\u015ft\u0131k."}),"\n",(0,r.jsx)(n.li,{children:"\xd6zg\xfcr yaz\u0131l\u0131m\u0131n ne oldu\u011funu \xf6\u011frendik."}),"\n",(0,r.jsx)(n.li,{children:"Bir yaz\u0131l\u0131m\u0131n \xf6zg\xfcr olmas\u0131 i\xe7in gerekli ko\u015fullar\u0131n neler oldu\u011funu \xf6\u011frendik."}),"\n",(0,r.jsx)(n.li,{children:"Da\u011f\u0131t\u0131m yani distro teriminin ne oldu\u011funu ve neden bir\xe7ok da\u011f\u0131t\u0131m\u0131n oldu\u011funu \xf6\u011frendik."}),"\n",(0,r.jsx)(n.li,{children:"Temel da\u011f\u0131t\u0131mlar\u0131n neler oldu\u011funu \xf6\u011frendik."}),"\n",(0,r.jsx)(n.li,{children:"PauSiber Dev'in ne oldu\u011funu ve neden bunu haz\u0131rlama ihtiyac\u0131 duydu\u011fumuzu \xf6\u011frendik."}),"\n"]}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.strong,{children:"Haftaya G\xf6r\xfc\u015fmek \xdczere!"})})]})},e=Object.assign({},(0,t.ah)(),i.components),a=e.wrapper;return a?(0,r.jsx)(a,u({},i,{children:(0,r.jsx)(n,{})})):n()}var m=(0,r.jsx)(h,{});function o(i,n){throw new Error("Expected "+(n?"component":"object")+" `"+i+"` to be defined: you likely forgot to import, pass, or provide it.")}function c(i){return(0,l.withSSG)((0,a.Z)({filename:"hafta-sifir.mdx",route:"/haftalar/hafta-sifir",meta:{title:"Hafta 0",date:"2023/5/5",description:"Linux'un genel bir tan\u0131m\u0131. Gerekli kurulumlar\u0131n ger\xe7ekle\u015ftirilmesi.",tag:"gnu/linux",author:"Enes Kaya"},pageMap:[{name:"haftalar",children:[{name:"hafta-bir",route:"/haftalar/hafta-bir",frontMatter:{title:"Hafta 1",date:"2022/5/5",description:"Linux'a giri\u015f.",tag:"gnu/linux",author:"Enes Kaya"}},{name:"hafta-dort",route:"/haftalar/hafta-dort",frontMatter:{title:"Hafta 4",date:"2019/10/4",description:"Kriptolojiye giri\u015f, Canl\u0131 d\xfcnya \xf6rnekleri, \u015eifreleme algoritmas\u0131 geli\u015ftirilmesi.",tag:"gnu/linux cryptography",author:"Abdullah Bagyapan"}},{name:"hafta-iki",route:"/haftalar/hafta-iki",frontMatter:{title:"Hafta 2",date:"2021/5/5",description:"Linux'ta kullan\u0131c\u0131-grup y\xf6netimini ve dosya-dizin izinlerini kavratmak.",tag:"gnu/linux",author:"Enes Kaya"}},{name:"hafta-sifir",route:"/haftalar/hafta-sifir",frontMatter:{title:"Hafta 0",date:"2023/5/5",description:"Linux'un genel bir tan\u0131m\u0131. Gerekli kurulumlar\u0131n ger\xe7ekle\u015ftirilmesi.",tag:"gnu/linux",author:"Enes Kaya"}},{name:"hafta-uc",route:"/haftalar/hafta-uc",frontMatter:{title:"Hafta 3",date:"2020/5/5",description:"Server kavram\u0131n\u0131n a\xe7\u0131klanmas\u0131, SSH Kullan\u0131m\u0131, Zamanlanm\u0131\u015f g\xf6revler olu\u015fturulmas\u0131.",tag:"gnu/linux",author:"Enes Kaya"}},{name:"index",route:"/haftalar",frontMatter:{type:"posts",title:"Haftalar",date:"2021-03-18T00:00:00.000Z"}}],route:"/haftalar"},{name:"index",route:"/",frontMatter:{type:"page",title:"Hakk\u0131nda",date:"2021-03-19T00:00:00.000Z"}},{name:"tags",children:[{name:"[tag]",route:"/tags/[tag]",frontMatter:{type:"tag",title:"Tagged Posts"}}],route:"/tags"}]},s.Z))(u({},i,{children:m}))}}},function(i){i.O(0,[774,353,888,179],(function(){return n=6152,i(i.s=n);var n}));var n=i.O();_N_E=n}]); \ No newline at end of file diff --git a/_next/static/chunks/pages/haftalar/hafta-uc-7cf5e77f1da5e3e5.js b/_next/static/chunks/pages/haftalar/hafta-uc-0ba41cff26bdcf08.js similarity index 88% rename from _next/static/chunks/pages/haftalar/hafta-uc-7cf5e77f1da5e3e5.js rename to _next/static/chunks/pages/haftalar/hafta-uc-0ba41cff26bdcf08.js index 610118e..37181d0 100644 --- a/_next/static/chunks/pages/haftalar/hafta-uc-7cf5e77f1da5e3e5.js +++ b/_next/static/chunks/pages/haftalar/hafta-uc-0ba41cff26bdcf08.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[199],{7805:function(e,a,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/haftalar/hafta-uc",function(){return n(5782)}])},7845:function(e,a,n){"use strict";var r=n(5893),i=n(5988),l=(new Date).getFullYear();a.Z={footer:(0,r.jsxs)("small",{style:{display:"block",marginTop:"8rem"},className:"jsx-7c359fde634f3543",children:[(0,r.jsx)("time",{className:"jsx-7c359fde634f3543",children:l})," \xa9 PauSiber",(0,r.jsx)(i.default,{id:"7c359fde634f3543",children:"a.jsx-7c359fde634f3543{float:right}\n@media screen and (max-width:480px) {article.jsx-7c359fde634f3543{padding-top:2rem;\npadding-bottom:4rem}}"})]})}},5782:function(e,a,n){"use strict";n.r(a),n.d(a,{default:function(){return k}});var r=n(5893),i=n(8616),l=n(3805),t=n(7845),s=n(1151);function d(e,a,n){return a in e?Object.defineProperty(e,a,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[a]=n,e}function u(e){for(var a=1;a0&&void 0!==arguments[0]?arguments[0]:{},a=function(){var a=Object.assign({h1:"h1",p:"p",strong:"strong",a:"a",h2:"h2",h4:"h4",pre:"pre",code:"code",br:"br",ul:"ul",li:"li"},(0,s.ah)(),e.components),n=a.CenteredImageLightbox;return n||h("CenteredImageLightbox",!0),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(a.h1,{children:"Hafta 3"}),"\n",(0,r.jsxs)(a.p,{children:[(0,r.jsx)(a.strong,{children:"Ama\xe7 :"})," Server kavram\u0131n\u0131n a\xe7\u0131klanmas\u0131, SSH Kullan\u0131m\u0131, Zamanlanm\u0131\u015f g\xf6revler olu\u015fturulmas\u0131."]}),"\n",(0,r.jsxs)(a.p,{children:[(0,r.jsx)(a.strong,{children:"Yazarlar :"})," ",(0,r.jsx)(a.a,{href:"https://github.com/boratanrikulu",children:(0,r.jsx)(a.strong,{children:"boratanrikulu"})})," ",(0,r.jsx)(a.strong,{children:"&&"})," ",(0,r.jsx)(a.a,{href:"https://github.com/hasantezcan",children:(0,r.jsx)(a.strong,{children:"hasantezcan"})})]}),"\n",(0,r.jsx)("hr",{}),"\n",(0,r.jsx)(a.h2,{children:"Server (Sunucu) Nedir ?"}),"\n",(0,r.jsx)(a.p,{children:"Server denince ak\u0131llara -filmlerin de etkisiyle- devasa b\xfcy\xfckl\xfckte hangarlar i\xe7ine s\u0131ra s\u0131ra istiflenmi\u015f, genelde siyah renkte dolaplar i\xe7inde bulunan, dikd\xf6rtgen \u015feklinde \xe7ekmeceler geliyor."}),"\n",(0,r.jsx)(a.p,{children:'Evet, ak\u0131llara gelen bu tablo ve tan\u0131m tamamen do\u011fru. Fakat bir "server" olu\u015fturmak i\xe7in t\xfcm bu sayd\u0131\u011f\u0131m\u0131z \u015feylere ihtiyac\u0131m\u0131z yok. Sadece bir bilgisayar, server olu\u015fturmak i\xe7in yeterli. Ve tabiki gerekli olan bir ileti\u015fim a\u011f\u0131.'}),"\n",(0,r.jsx)(n,{alt:"pwd",src:"/images/hafta3/0.jpg",width:"800"}),"\n",(0,r.jsx)(a.p,{children:"Yani server dedi\u011fimiz \u015feyler de asl\u0131nda birer bilgisayard\u0131r."}),"\n",(0,r.jsx)(a.p,{children:"Bir bilgisayar\u0131n server olarak \xe7al\u0131\u015fabilmesi i\xe7in; gerekli baz\u0131 yaz\u0131l\u0131mlara ve kulland\u0131\u011f\u0131 verileri iletim a\u011f\u0131na itebilecek - \xe7ekebilecek g\xfcce sahip olmas\u0131 gerekir."}),"\n",(0,r.jsxs)(a.p,{children:["Bu ",(0,r.jsx)(a.strong,{children:"g\xfc\xe7"})," bazen en ba\u015fta anlatt\u0131\u011f\u0131m\u0131z o hollywood vari tablodaki serverlar\u0131n g\xfcc\xfc gibi devasa bir g\xfcce sahip olurken, bazen de 20 dolarl\u0131k bir bilgisayar olan Raspberry Pi'\u0131n g\xfcc\xfc olabilir."]}),"\n",(0,r.jsxs)(a.p,{children:["Server'lar\u0131 y\xf6netmek i\xe7in her durumda fiziksel olarak m\xfcdahale edemeyiz. Uzaktan eri\u015fip y\xf6netmemiz gerekir. Bu gibi durumlarda ",(0,r.jsx)(a.strong,{children:"SSH protokol\xfc"})," kullan\u0131r."]}),"\n",(0,r.jsx)("hr",{}),"\n",(0,r.jsx)(a.h2,{children:"SSH Protokol\xfc Nedir ?"}),"\n",(0,r.jsx)(a.p,{children:"SSH (Secure Shell), a\u011f \xfczerinde bulunan bir sunucuya ba\u011flanmaya ve ba\u011flan\u0131lan sunucu \xfczerinde komut \xe7al\u0131\u015ft\u0131rma, dosya transferi gibi i\u015flemleri ger\xe7ekle\u015ftirmeye olanak sa\u011flayan bir uzak sunucu ba\u011flant\u0131 protokol\xfcd\xfcr."}),"\n",(0,r.jsx)(a.p,{children:"SSH protokol\xfc; komut \xe7al\u0131\u015ft\u0131rma, dosya transferi gibi i\u015flemlerin d\u0131\u015f\u0131nda, g\xfcvenli ileti\u015fim kanallar\u0131 gerektiren durumlar\u0131n tamam\u0131nda kullan\u0131labilmektedir. \xd6rne\u011fin, POP3 mail protokol\xfc gibi ileti\u015fimini \u015fifrelenmemi\u015f \u015fekilde ger\xe7ekle\u015ftiren servisler SSH \xfczerinden aktar\u0131larak \u015fifreli ve g\xfcvenli duruma getirilebilirler."}),"\n",(0,r.jsx)("hr",{}),"\n",(0,r.jsx)(a.h4,{children:"SSH Kullan\u0131m\u0131"}),"\n",(0,r.jsx)(a.p,{children:"SSH'\u0131n genel olarak kullan\u0131m\u0131 olduk\xe7a basittir. A\u015fa\u011f\u0131daki gibi bir yap\u0131 ile uzak server'\u0131m\u0131za; kullan\u0131c\u0131 ad\u0131 ve parola bilgisini kullanarak eri\u015febiliriz."}),"\n",(0,r.jsx)(a.pre,{children:(0,r.jsx)(a.code,{children:"\t[~$] ssh kullanc\u0131_ad\u0131@server_ip\n"})}),"\n",(0,r.jsxs)(a.p,{children:["SSH'\u0131n varsay\u0131lan port'u 22'dir. Fakat genellikle -her ne kadar gereklili\u011fi tart\u0131\u015f\u0131lsa da- sunucularda bu port g\xfcvenlik sebebi ile de\u011fi\u015ftirilmektedir. Ba\u011flant\u0131 sa\u011flan\u0131rken, sunucunun SSH ba\u011flant\u0131s\u0131n\u0131 kabul etmek amac\u0131yla dinledi\u011fini port'u belirtmek i\xe7in ",(0,r.jsx)(a.strong,{children:"-p"})," parametresi kullan\u0131l\u0131r."]}),"\n",(0,r.jsx)(a.pre,{children:(0,r.jsx)(a.code,{children:"\t[~$] ssh kullanc\u0131_ad\u0131@server_ip -p port\n"})}),"\n",(0,r.jsx)("hr",{}),"\n",(0,r.jsx)(a.h4,{children:"Parola ile Ba\u011flant\u0131 Kurmak Neden G\xfcvenli De\u011fil ?"}),"\n",(0,r.jsx)(a.p,{children:"Az \xf6nce kullan\u0131c\u0131 ad\u0131 ve parola bilgisi sa\u011flayan uzakta bulunan server'\u0131m\u0131za eri\u015fim sa\u011flad\u0131k. Fakat sizce bu g\xfcvenli mi ?"}),"\n",(0,r.jsxs)(a.p,{children:["Bizim a\xe7\u0131m\u0131za g\xf6re server'\u0131m\u0131za ",(0,r.jsx)(a.strong,{children:"parola ile uzaktan ba\u011flanmak g\xfcvenli bir y\xf6ntem de\u011fildir."})]}),"\n",(0,r.jsx)(a.p,{children:"Bunun belli ba\u015fl\u0131 sebepleri vard\u0131r; ssh ba\u011flant\u0131s\u0131n\u0131n bruteforce i\u015flemine a\xe7\u0131k olmas\u0131, herkese a\xe7\u0131k ortamlarda parolan\u0131n elle girilmesi uzaktan izleyen ki\u015filer taraf\u0131ndan parolan\u0131n tespit edilmesine yol a\xe7abilecek olmas\u0131 gibi fakt\xf6rler \xf6rnek verilebilir."}),"\n",(0,r.jsx)(a.p,{children:"Bu y\xfczden, server'\u0131m\u0131za eri\u015fim sa\u011flarken, ssh-key kullanmam\u0131z daha kullan\u0131\u015fl\u0131 ve g\xfcvenli olacakt\u0131r."}),"\n",(0,r.jsx)("hr",{}),"\n",(0,r.jsx)(a.h4,{children:"SSH-Key Nedir ?"}),"\n",(0,r.jsx)(a.p,{children:"SSH-Key, parola kullanmadan SSH ba\u011flant\u0131lar\u0131 sa\u011flayabilmemizde kullan\u0131lan public ve private key \xe7iftine denir."}),"\n",(0,r.jsx)("hr",{}),"\n",(0,r.jsx)(a.h4,{children:"SSH-Keygen ile Key Olu\u015fturulmas\u0131"}),"\n",(0,r.jsxs)(a.p,{children:["SSH-Key olu\u015fturmak olduk\xe7a basittir. A\u015fa\u011f\u0131daki komutu y\xfcr\xfctt\xfc\u011f\xfcn\xfczde size birka\xe7 soru sorduktan sonra key \xfcretilecektir. Key \xfcretimi sonucunda biri ",(0,r.jsx)(a.strong,{children:"public"})," di\u011feri ",(0,r.jsx)(a.strong,{children:"private"})," olmak \xfczere ",(0,r.jsx)(a.strong,{children:"iki adet key"})," olu\u015facakt\u0131r."]}),"\n",(0,r.jsx)(a.pre,{children:(0,r.jsx)(a.code,{children:"\t[~$] ssh-keygen\n"})}),"\n",(0,r.jsx)(n,{alt:"ssh-keygen",src:"/images/hafta3/1.png",width:"800"}),"\n",(0,r.jsxs)(a.p,{children:["\xdcretilen keyler'den sonunda ",(0,r.jsx)(a.strong,{children:".pub"})," uzant\u0131s\u0131 bulunan sizin public key'inizdir. Bu key'i ba\u011flanmak istedi\u011finiz sunuculara eklemeniz gerekir."]}),"\n",(0,r.jsx)(a.p,{children:"Uzant\u0131s\u0131 bulunmayan key ise sizin private key'inizdir. Bu dosyay\u0131 kimse ile payla\u015fmamal\u0131s\u0131n\u0131z. SSH ile ba\u011flant\u0131 sa\u011flarken bu dosyay\u0131 kullanaca\u011f\u0131z."}),"\n",(0,r.jsxs)(a.p,{children:["Ek olarak private key'in izinleri ",(0,r.jsx)(a.strong,{children:"600"})," olarak ayarlanmal\u0131d\u0131r.",(0,r.jsx)(a.br,{}),"\n","Bunu uygulamak i\xe7in \xf6nceki haftan\u0131n dok\xfcman\u0131n\u0131 inceleyin : ",(0,r.jsx)(a.a,{href:"https://gnulinux.pausiber.xyz/haftalar/hafta-iki",children:(0,r.jsx)(a.strong,{children:"hafta-iki"})})]}),"\n",(0,r.jsx)("hr",{}),"\n",(0,r.jsx)(a.h4,{children:"SSH-Key Kullanarak Ba\u011flant\u0131 Sa\u011flanmas\u0131"}),"\n",(0,r.jsx)(a.p,{children:"SSH-Key kullanarak ba\u011flant\u0131 sa\u011flamak i\xe7in a\u015fa\u011f\u0131daki komutu kullanabilirsiniz."}),"\n",(0,r.jsx)(a.pre,{children:(0,r.jsx)(a.code,{children:"\t[~$] ssh kullanc\u0131_ad\u0131@server_ip\n"})}),"\n",(0,r.jsxs)(a.p,{children:["Ayr\u0131ca SSH-Key'i default path yerine ba\u015fka bir yere kay\u0131t ettiyseniz ",(0,r.jsx)(a.strong,{children:"-i"})," parametresini kullanarak bu path'i vermeniz gerekmektedir."]}),"\n",(0,r.jsx)(a.pre,{children:(0,r.jsx)(a.code,{children:"\t[~$] ssh -i /path/to/private_key kullanc\u0131_ad\u0131@server_ip\n"})}),"\n",(0,r.jsx)("hr",{}),"\n",(0,r.jsx)(a.h4,{children:'".ssh/config" Dosyas\u0131n\u0131n Kullan\u0131m\u0131'}),"\n",(0,r.jsxs)(a.p,{children:["E\u011fer birden fazla sunucu ile u\u011fra\u015f\u0131yorsan\u0131z, her ba\u011flant\u0131 kurma a\u015famas\u0131nda IP girmek tam bir i\u015fkence. Bunun \xf6n\xfcne ge\xe7mek i\xe7in bilgisayar\u0131n\u0131zda a\u015fa\u011f\u0131daki gibi bir ",(0,r.jsx)(a.strong,{children:(0,r.jsx)(a.code,{children:"${HOME}/.ssh/config"})})," dosyas\u0131 olu\u015fturabilirsiniz. Bu sayede IP'leri girmeden direkt olarak ",(0,r.jsx)(a.strong,{children:"ssh server_name"})," diyerek sunucunuz ile ba\u011flant\u0131 sa\u011flayabilirsiniz."]}),"\n",(0,r.jsxs)(a.p,{children:["Bunun i\xe7in ",(0,r.jsx)(a.strong,{children:(0,r.jsx)(a.code,{children:"${HOME}/.ssh/config"})})," dosyas\u0131n\u0131 olu\u015fturun."]}),"\n",(0,r.jsx)(a.pre,{children:(0,r.jsx)(a.code,{children:"\t[~$] touch ${HOME}/.ssh/config\n"})}),"\n",(0,r.jsx)(a.p,{children:"Ard\u0131ndan dosya i\xe7eri\u011fini a\u015fa\u011f\u0131daki yap\u0131ya uygun \u015fekilde ayarlay\u0131n."}),"\n",(0,r.jsx)(a.pre,{children:(0,r.jsx)(a.code,{children:"\t\tHost\t\t\tserver_name\n\t\tHostName\t\tserver_ip\n\t\tUser\t\t\tusername\n\t\tPort\t\t\t22\n\t\tIdentityFile\t/path/to/ssh-key\n"})}),"\n",(0,r.jsxs)(a.p,{children:["Art\u0131k herhangi bir \u015fekilde IP girmek yerine direkt olarak ",(0,r.jsx)(a.strong,{children:"ssh server_name"})," diyerek sunucunuza ba\u011flanabilirsiniz."]}),"\n",(0,r.jsx)("hr",{}),"\n",(0,r.jsx)(a.h2,{children:"Bu hafta neler yapt\u0131k ?"}),"\n",(0,r.jsxs)(a.ul,{children:["\n",(0,r.jsx)(a.li,{children:"Server'\u0131n ne oldu\u011funu,"}),"\n",(0,r.jsx)(a.li,{children:"SSH protokol\xfcn\xfcn ne oldu\u011funu,"}),"\n",(0,r.jsx)(a.li,{children:"SSH kullan\u0131m\u0131n\u0131,"}),"\n",(0,r.jsx)(a.li,{children:"SSH-Key'in ne oldu\u011funu,"}),"\n",(0,r.jsx)(a.li,{children:"SSH-Key kullanarak ba\u011flant\u0131 kurmay\u0131,"}),"\n",(0,r.jsx)(a.li,{children:"Parola yerine neden SSH-Key kulland\u0131\u011f\u0131m\u0131z\u0131 \xf6\u011frendik."}),"\n"]})]})},n=Object.assign({},(0,s.ah)(),e.components),i=n.wrapper;return i?(0,r.jsx)(i,u({},e,{children:(0,r.jsx)(a,{})})):a()}var c=(0,r.jsx)(o,{});function h(e,a){throw new Error("Expected "+(a?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}function k(e){return(0,l.withSSG)((0,i.Z)({filename:"hafta-uc.mdx",route:"/haftalar/hafta-uc",meta:{title:"Hafta 3",date:"2020/5/5",description:"Server kavram\u0131n\u0131n a\xe7\u0131klanmas\u0131, SSH Kullan\u0131m\u0131, Zamanlanm\u0131\u015f g\xf6revler olu\u015fturulmas\u0131.",tag:"gnu/linux",author:"Enes Kaya"},pageMap:[{name:"haftalar",children:[{name:"hafta-bir",route:"/haftalar/hafta-bir",frontMatter:{title:"Hafta 1",date:"2022/5/5",description:"Linux'a giri\u015f.",tag:"gnu/linux",author:"Enes Kaya"}},{name:"hafta-iki",route:"/haftalar/hafta-iki",frontMatter:{title:"Hafta 2",date:"2021/5/5",description:"Linux'ta kullan\u0131c\u0131-grup y\xf6netimini ve dosya-dizin izinlerini kavratmak.",tag:"gnu/linux",author:"Enes Kaya"}},{name:"hafta-sifir",route:"/haftalar/hafta-sifir",frontMatter:{title:"Hafta 0",date:"2023/5/5",description:"Linux'un genel bir tan\u0131m\u0131. Gerekli kurulumlar\u0131n ger\xe7ekle\u015ftirilmesi.",tag:"gnu/linux",author:"Enes Kaya"}},{name:"hafta-uc",route:"/haftalar/hafta-uc",frontMatter:{title:"Hafta 3",date:"2020/5/5",description:"Server kavram\u0131n\u0131n a\xe7\u0131klanmas\u0131, SSH Kullan\u0131m\u0131, Zamanlanm\u0131\u015f g\xf6revler olu\u015fturulmas\u0131.",tag:"gnu/linux",author:"Enes Kaya"}},{name:"index",route:"/haftalar",frontMatter:{type:"posts",title:"Haftalar",date:"2021-03-18T00:00:00.000Z"}}],route:"/haftalar"},{name:"index",route:"/",frontMatter:{type:"page",title:"Hakk\u0131nda",date:"2021-03-19T00:00:00.000Z"}},{name:"tags",children:[{name:"[tag]",route:"/tags/[tag]",frontMatter:{type:"tag",title:"Tagged Posts"}}],route:"/tags"}]},t.Z))(u({},e,{children:c}))}}},function(e){e.O(0,[774,353,888,179],(function(){return a=7805,e(e.s=a);var a}));var a=e.O();_N_E=a}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[199],{7805:function(e,a,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/haftalar/hafta-uc",function(){return n(5782)}])},7845:function(e,a,n){"use strict";var r=n(5893),i=n(5988),l=(new Date).getFullYear();a.Z={footer:(0,r.jsxs)("small",{style:{display:"block",marginTop:"8rem"},className:"jsx-7c359fde634f3543",children:[(0,r.jsx)("time",{className:"jsx-7c359fde634f3543",children:l})," \xa9 PauSiber",(0,r.jsx)(i.default,{id:"7c359fde634f3543",children:"a.jsx-7c359fde634f3543{float:right}\n@media screen and (max-width:480px) {article.jsx-7c359fde634f3543{padding-top:2rem;\npadding-bottom:4rem}}"})]})}},5782:function(e,a,n){"use strict";n.r(a),n.d(a,{default:function(){return k}});var r=n(5893),i=n(8616),l=n(3805),t=n(7845),s=n(1151);function d(e,a,n){return a in e?Object.defineProperty(e,a,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[a]=n,e}function u(e){for(var a=1;a0&&void 0!==arguments[0]?arguments[0]:{},a=function(){var a=Object.assign({h1:"h1",p:"p",strong:"strong",a:"a",h2:"h2",h4:"h4",pre:"pre",code:"code",br:"br",ul:"ul",li:"li"},(0,s.ah)(),e.components),n=a.CenteredImageLightbox;return n||h("CenteredImageLightbox",!0),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(a.h1,{children:"Hafta 3"}),"\n",(0,r.jsxs)(a.p,{children:[(0,r.jsx)(a.strong,{children:"Ama\xe7 :"})," Server kavram\u0131n\u0131n a\xe7\u0131klanmas\u0131, SSH Kullan\u0131m\u0131, Zamanlanm\u0131\u015f g\xf6revler olu\u015fturulmas\u0131."]}),"\n",(0,r.jsxs)(a.p,{children:[(0,r.jsx)(a.strong,{children:"Yazarlar :"})," ",(0,r.jsx)(a.a,{href:"https://github.com/boratanrikulu",children:(0,r.jsx)(a.strong,{children:"boratanrikulu"})})," ",(0,r.jsx)(a.strong,{children:"&&"})," ",(0,r.jsx)(a.a,{href:"https://github.com/hasantezcan",children:(0,r.jsx)(a.strong,{children:"hasantezcan"})})]}),"\n",(0,r.jsx)("hr",{}),"\n",(0,r.jsx)(a.h2,{children:"Server (Sunucu) Nedir ?"}),"\n",(0,r.jsx)(a.p,{children:"Server denince ak\u0131llara -filmlerin de etkisiyle- devasa b\xfcy\xfckl\xfckte hangarlar i\xe7ine s\u0131ra s\u0131ra istiflenmi\u015f, genelde siyah renkte dolaplar i\xe7inde bulunan, dikd\xf6rtgen \u015feklinde \xe7ekmeceler geliyor."}),"\n",(0,r.jsx)(a.p,{children:'Evet, ak\u0131llara gelen bu tablo ve tan\u0131m tamamen do\u011fru. Fakat bir "server" olu\u015fturmak i\xe7in t\xfcm bu sayd\u0131\u011f\u0131m\u0131z \u015feylere ihtiyac\u0131m\u0131z yok. Sadece bir bilgisayar, server olu\u015fturmak i\xe7in yeterli. Ve tabiki gerekli olan bir ileti\u015fim a\u011f\u0131.'}),"\n",(0,r.jsx)(n,{alt:"pwd",src:"/images/hafta3/0.jpg",width:"800"}),"\n",(0,r.jsx)(a.p,{children:"Yani server dedi\u011fimiz \u015feyler de asl\u0131nda birer bilgisayard\u0131r."}),"\n",(0,r.jsx)(a.p,{children:"Bir bilgisayar\u0131n server olarak \xe7al\u0131\u015fabilmesi i\xe7in; gerekli baz\u0131 yaz\u0131l\u0131mlara ve kulland\u0131\u011f\u0131 verileri iletim a\u011f\u0131na itebilecek - \xe7ekebilecek g\xfcce sahip olmas\u0131 gerekir."}),"\n",(0,r.jsxs)(a.p,{children:["Bu ",(0,r.jsx)(a.strong,{children:"g\xfc\xe7"})," bazen en ba\u015fta anlatt\u0131\u011f\u0131m\u0131z o hollywood vari tablodaki serverlar\u0131n g\xfcc\xfc gibi devasa bir g\xfcce sahip olurken, bazen de 20 dolarl\u0131k bir bilgisayar olan Raspberry Pi'\u0131n g\xfcc\xfc olabilir."]}),"\n",(0,r.jsxs)(a.p,{children:["Server'lar\u0131 y\xf6netmek i\xe7in her durumda fiziksel olarak m\xfcdahale edemeyiz. Uzaktan eri\u015fip y\xf6netmemiz gerekir. Bu gibi durumlarda ",(0,r.jsx)(a.strong,{children:"SSH protokol\xfc"})," kullan\u0131r."]}),"\n",(0,r.jsx)("hr",{}),"\n",(0,r.jsx)(a.h2,{children:"SSH Protokol\xfc Nedir ?"}),"\n",(0,r.jsx)(a.p,{children:"SSH (Secure Shell), a\u011f \xfczerinde bulunan bir sunucuya ba\u011flanmaya ve ba\u011flan\u0131lan sunucu \xfczerinde komut \xe7al\u0131\u015ft\u0131rma, dosya transferi gibi i\u015flemleri ger\xe7ekle\u015ftirmeye olanak sa\u011flayan bir uzak sunucu ba\u011flant\u0131 protokol\xfcd\xfcr."}),"\n",(0,r.jsx)(a.p,{children:"SSH protokol\xfc; komut \xe7al\u0131\u015ft\u0131rma, dosya transferi gibi i\u015flemlerin d\u0131\u015f\u0131nda, g\xfcvenli ileti\u015fim kanallar\u0131 gerektiren durumlar\u0131n tamam\u0131nda kullan\u0131labilmektedir. \xd6rne\u011fin, POP3 mail protokol\xfc gibi ileti\u015fimini \u015fifrelenmemi\u015f \u015fekilde ger\xe7ekle\u015ftiren servisler SSH \xfczerinden aktar\u0131larak \u015fifreli ve g\xfcvenli duruma getirilebilirler."}),"\n",(0,r.jsx)("hr",{}),"\n",(0,r.jsx)(a.h4,{children:"SSH Kullan\u0131m\u0131"}),"\n",(0,r.jsx)(a.p,{children:"SSH'\u0131n genel olarak kullan\u0131m\u0131 olduk\xe7a basittir. A\u015fa\u011f\u0131daki gibi bir yap\u0131 ile uzak server'\u0131m\u0131za; kullan\u0131c\u0131 ad\u0131 ve parola bilgisini kullanarak eri\u015febiliriz."}),"\n",(0,r.jsx)(a.pre,{children:(0,r.jsx)(a.code,{children:"\t[~$] ssh kullanc\u0131_ad\u0131@server_ip\n"})}),"\n",(0,r.jsxs)(a.p,{children:["SSH'\u0131n varsay\u0131lan port'u 22'dir. Fakat genellikle -her ne kadar gereklili\u011fi tart\u0131\u015f\u0131lsa da- sunucularda bu port g\xfcvenlik sebebi ile de\u011fi\u015ftirilmektedir. Ba\u011flant\u0131 sa\u011flan\u0131rken, sunucunun SSH ba\u011flant\u0131s\u0131n\u0131 kabul etmek amac\u0131yla dinledi\u011fini port'u belirtmek i\xe7in ",(0,r.jsx)(a.strong,{children:"-p"})," parametresi kullan\u0131l\u0131r."]}),"\n",(0,r.jsx)(a.pre,{children:(0,r.jsx)(a.code,{children:"\t[~$] ssh kullanc\u0131_ad\u0131@server_ip -p port\n"})}),"\n",(0,r.jsx)("hr",{}),"\n",(0,r.jsx)(a.h4,{children:"Parola ile Ba\u011flant\u0131 Kurmak Neden G\xfcvenli De\u011fil ?"}),"\n",(0,r.jsx)(a.p,{children:"Az \xf6nce kullan\u0131c\u0131 ad\u0131 ve parola bilgisi sa\u011flayan uzakta bulunan server'\u0131m\u0131za eri\u015fim sa\u011flad\u0131k. Fakat sizce bu g\xfcvenli mi ?"}),"\n",(0,r.jsxs)(a.p,{children:["Bizim a\xe7\u0131m\u0131za g\xf6re server'\u0131m\u0131za ",(0,r.jsx)(a.strong,{children:"parola ile uzaktan ba\u011flanmak g\xfcvenli bir y\xf6ntem de\u011fildir."})]}),"\n",(0,r.jsx)(a.p,{children:"Bunun belli ba\u015fl\u0131 sebepleri vard\u0131r; ssh ba\u011flant\u0131s\u0131n\u0131n bruteforce i\u015flemine a\xe7\u0131k olmas\u0131, herkese a\xe7\u0131k ortamlarda parolan\u0131n elle girilmesi uzaktan izleyen ki\u015filer taraf\u0131ndan parolan\u0131n tespit edilmesine yol a\xe7abilecek olmas\u0131 gibi fakt\xf6rler \xf6rnek verilebilir."}),"\n",(0,r.jsx)(a.p,{children:"Bu y\xfczden, server'\u0131m\u0131za eri\u015fim sa\u011flarken, ssh-key kullanmam\u0131z daha kullan\u0131\u015fl\u0131 ve g\xfcvenli olacakt\u0131r."}),"\n",(0,r.jsx)("hr",{}),"\n",(0,r.jsx)(a.h4,{children:"SSH-Key Nedir ?"}),"\n",(0,r.jsx)(a.p,{children:"SSH-Key, parola kullanmadan SSH ba\u011flant\u0131lar\u0131 sa\u011flayabilmemizde kullan\u0131lan public ve private key \xe7iftine denir."}),"\n",(0,r.jsx)("hr",{}),"\n",(0,r.jsx)(a.h4,{children:"SSH-Keygen ile Key Olu\u015fturulmas\u0131"}),"\n",(0,r.jsxs)(a.p,{children:["SSH-Key olu\u015fturmak olduk\xe7a basittir. A\u015fa\u011f\u0131daki komutu y\xfcr\xfctt\xfc\u011f\xfcn\xfczde size birka\xe7 soru sorduktan sonra key \xfcretilecektir. Key \xfcretimi sonucunda biri ",(0,r.jsx)(a.strong,{children:"public"})," di\u011feri ",(0,r.jsx)(a.strong,{children:"private"})," olmak \xfczere ",(0,r.jsx)(a.strong,{children:"iki adet key"})," olu\u015facakt\u0131r."]}),"\n",(0,r.jsx)(a.pre,{children:(0,r.jsx)(a.code,{children:"\t[~$] ssh-keygen\n"})}),"\n",(0,r.jsx)(n,{alt:"ssh-keygen",src:"/images/hafta3/1.png",width:"800"}),"\n",(0,r.jsxs)(a.p,{children:["\xdcretilen keyler'den sonunda ",(0,r.jsx)(a.strong,{children:".pub"})," uzant\u0131s\u0131 bulunan sizin public key'inizdir. Bu key'i ba\u011flanmak istedi\u011finiz sunuculara eklemeniz gerekir."]}),"\n",(0,r.jsx)(a.p,{children:"Uzant\u0131s\u0131 bulunmayan key ise sizin private key'inizdir. Bu dosyay\u0131 kimse ile payla\u015fmamal\u0131s\u0131n\u0131z. SSH ile ba\u011flant\u0131 sa\u011flarken bu dosyay\u0131 kullanaca\u011f\u0131z."}),"\n",(0,r.jsxs)(a.p,{children:["Ek olarak private key'in izinleri ",(0,r.jsx)(a.strong,{children:"600"})," olarak ayarlanmal\u0131d\u0131r.",(0,r.jsx)(a.br,{}),"\n","Bunu uygulamak i\xe7in \xf6nceki haftan\u0131n dok\xfcman\u0131n\u0131 inceleyin : ",(0,r.jsx)(a.a,{href:"https://gnulinux.pausiber.xyz/haftalar/hafta-iki",children:(0,r.jsx)(a.strong,{children:"hafta-iki"})})]}),"\n",(0,r.jsx)("hr",{}),"\n",(0,r.jsx)(a.h4,{children:"SSH-Key Kullanarak Ba\u011flant\u0131 Sa\u011flanmas\u0131"}),"\n",(0,r.jsx)(a.p,{children:"SSH-Key kullanarak ba\u011flant\u0131 sa\u011flamak i\xe7in a\u015fa\u011f\u0131daki komutu kullanabilirsiniz."}),"\n",(0,r.jsx)(a.pre,{children:(0,r.jsx)(a.code,{children:"\t[~$] ssh kullanc\u0131_ad\u0131@server_ip\n"})}),"\n",(0,r.jsxs)(a.p,{children:["Ayr\u0131ca SSH-Key'i default path yerine ba\u015fka bir yere kay\u0131t ettiyseniz ",(0,r.jsx)(a.strong,{children:"-i"})," parametresini kullanarak bu path'i vermeniz gerekmektedir."]}),"\n",(0,r.jsx)(a.pre,{children:(0,r.jsx)(a.code,{children:"\t[~$] ssh -i /path/to/private_key kullanc\u0131_ad\u0131@server_ip\n"})}),"\n",(0,r.jsx)("hr",{}),"\n",(0,r.jsx)(a.h4,{children:'".ssh/config" Dosyas\u0131n\u0131n Kullan\u0131m\u0131'}),"\n",(0,r.jsxs)(a.p,{children:["E\u011fer birden fazla sunucu ile u\u011fra\u015f\u0131yorsan\u0131z, her ba\u011flant\u0131 kurma a\u015famas\u0131nda IP girmek tam bir i\u015fkence. Bunun \xf6n\xfcne ge\xe7mek i\xe7in bilgisayar\u0131n\u0131zda a\u015fa\u011f\u0131daki gibi bir ",(0,r.jsx)(a.strong,{children:(0,r.jsx)(a.code,{children:"${HOME}/.ssh/config"})})," dosyas\u0131 olu\u015fturabilirsiniz. Bu sayede IP'leri girmeden direkt olarak ",(0,r.jsx)(a.strong,{children:"ssh server_name"})," diyerek sunucunuz ile ba\u011flant\u0131 sa\u011flayabilirsiniz."]}),"\n",(0,r.jsxs)(a.p,{children:["Bunun i\xe7in ",(0,r.jsx)(a.strong,{children:(0,r.jsx)(a.code,{children:"${HOME}/.ssh/config"})})," dosyas\u0131n\u0131 olu\u015fturun."]}),"\n",(0,r.jsx)(a.pre,{children:(0,r.jsx)(a.code,{children:"\t[~$] touch ${HOME}/.ssh/config\n"})}),"\n",(0,r.jsx)(a.p,{children:"Ard\u0131ndan dosya i\xe7eri\u011fini a\u015fa\u011f\u0131daki yap\u0131ya uygun \u015fekilde ayarlay\u0131n."}),"\n",(0,r.jsx)(a.pre,{children:(0,r.jsx)(a.code,{children:"\t\tHost\t\t\tserver_name\n\t\tHostName\t\tserver_ip\n\t\tUser\t\t\tusername\n\t\tPort\t\t\t22\n\t\tIdentityFile\t/path/to/ssh-key\n"})}),"\n",(0,r.jsxs)(a.p,{children:["Art\u0131k herhangi bir \u015fekilde IP girmek yerine direkt olarak ",(0,r.jsx)(a.strong,{children:"ssh server_name"})," diyerek sunucunuza ba\u011flanabilirsiniz."]}),"\n",(0,r.jsx)("hr",{}),"\n",(0,r.jsx)(a.h2,{children:"Bu hafta neler yapt\u0131k ?"}),"\n",(0,r.jsxs)(a.ul,{children:["\n",(0,r.jsx)(a.li,{children:"Server'\u0131n ne oldu\u011funu,"}),"\n",(0,r.jsx)(a.li,{children:"SSH protokol\xfcn\xfcn ne oldu\u011funu,"}),"\n",(0,r.jsx)(a.li,{children:"SSH kullan\u0131m\u0131n\u0131,"}),"\n",(0,r.jsx)(a.li,{children:"SSH-Key'in ne oldu\u011funu,"}),"\n",(0,r.jsx)(a.li,{children:"SSH-Key kullanarak ba\u011flant\u0131 kurmay\u0131,"}),"\n",(0,r.jsx)(a.li,{children:"Parola yerine neden SSH-Key kulland\u0131\u011f\u0131m\u0131z\u0131 \xf6\u011frendik."}),"\n"]})]})},n=Object.assign({},(0,s.ah)(),e.components),i=n.wrapper;return i?(0,r.jsx)(i,u({},e,{children:(0,r.jsx)(a,{})})):a()}var c=(0,r.jsx)(o,{});function h(e,a){throw new Error("Expected "+(a?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}function k(e){return(0,l.withSSG)((0,i.Z)({filename:"hafta-uc.mdx",route:"/haftalar/hafta-uc",meta:{title:"Hafta 3",date:"2020/5/5",description:"Server kavram\u0131n\u0131n a\xe7\u0131klanmas\u0131, SSH Kullan\u0131m\u0131, Zamanlanm\u0131\u015f g\xf6revler olu\u015fturulmas\u0131.",tag:"gnu/linux",author:"Enes Kaya"},pageMap:[{name:"haftalar",children:[{name:"hafta-bir",route:"/haftalar/hafta-bir",frontMatter:{title:"Hafta 1",date:"2022/5/5",description:"Linux'a giri\u015f.",tag:"gnu/linux",author:"Enes Kaya"}},{name:"hafta-dort",route:"/haftalar/hafta-dort",frontMatter:{title:"Hafta 4",date:"2019/10/4",description:"Kriptolojiye giri\u015f, Canl\u0131 d\xfcnya \xf6rnekleri, \u015eifreleme algoritmas\u0131 geli\u015ftirilmesi.",tag:"gnu/linux cryptography",author:"Abdullah Bagyapan"}},{name:"hafta-iki",route:"/haftalar/hafta-iki",frontMatter:{title:"Hafta 2",date:"2021/5/5",description:"Linux'ta kullan\u0131c\u0131-grup y\xf6netimini ve dosya-dizin izinlerini kavratmak.",tag:"gnu/linux",author:"Enes Kaya"}},{name:"hafta-sifir",route:"/haftalar/hafta-sifir",frontMatter:{title:"Hafta 0",date:"2023/5/5",description:"Linux'un genel bir tan\u0131m\u0131. Gerekli kurulumlar\u0131n ger\xe7ekle\u015ftirilmesi.",tag:"gnu/linux",author:"Enes Kaya"}},{name:"hafta-uc",route:"/haftalar/hafta-uc",frontMatter:{title:"Hafta 3",date:"2020/5/5",description:"Server kavram\u0131n\u0131n a\xe7\u0131klanmas\u0131, SSH Kullan\u0131m\u0131, Zamanlanm\u0131\u015f g\xf6revler olu\u015fturulmas\u0131.",tag:"gnu/linux",author:"Enes Kaya"}},{name:"index",route:"/haftalar",frontMatter:{type:"posts",title:"Haftalar",date:"2021-03-18T00:00:00.000Z"}}],route:"/haftalar"},{name:"index",route:"/",frontMatter:{type:"page",title:"Hakk\u0131nda",date:"2021-03-19T00:00:00.000Z"}},{name:"tags",children:[{name:"[tag]",route:"/tags/[tag]",frontMatter:{type:"tag",title:"Tagged Posts"}}],route:"/tags"}]},t.Z))(u({},e,{children:c}))}}},function(e){e.O(0,[774,353,888,179],(function(){return a=7805,e(e.s=a);var a}));var a=e.O();_N_E=a}]); \ No newline at end of file diff --git a/_next/static/chunks/pages/index-09b5e97ca7290b3e.js b/_next/static/chunks/pages/index-09b5e97ca7290b3e.js deleted file mode 100644 index 9720063..0000000 --- a/_next/static/chunks/pages/index-09b5e97ca7290b3e.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[405],{929:function(t,e,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return a(8466)}])},7845:function(t,e,a){"use strict";var n=a(5893),r=a(5988),i=(new Date).getFullYear();e.Z={footer:(0,n.jsxs)("small",{style:{display:"block",marginTop:"8rem"},className:"jsx-7c359fde634f3543",children:[(0,n.jsx)("time",{className:"jsx-7c359fde634f3543",children:i})," \xa9 PauSiber",(0,n.jsx)(r.default,{id:"7c359fde634f3543",children:"a.jsx-7c359fde634f3543{float:right}\n@media screen and (max-width:480px) {article.jsx-7c359fde634f3543{padding-top:2rem;\npadding-bottom:4rem}}"})]})}},8466:function(t,e,a){"use strict";a.r(e),a.d(e,{default:function(){return o}});var n=a(5893),r=a(8616),i=a(3805),s=a(7845),l=a(1151);function h(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}function c(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},e=function(){var e=Object.assign({h1:"h1",p:"p",strong:"strong",hr:"hr",a:"a",table:"table",thead:"thead",tr:"tr",th:"th",tbody:"tbody",td:"td"},(0,l.ah)(),t.components);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(e.h1,{children:"Herkes i\xe7in GNU/Linux"}),"\n",(0,n.jsx)("a",{href:"https://pausiber.xyz/",children:(0,n.jsx)("img",{align:"center",width:300,alt:"pausiber-logo",src:"/images/pausiber-logo.png"})}),"\n",(0,n.jsx)("p",{align:"center",children:(0,n.jsx)(e.p,{children:(0,n.jsx)(e.strong,{children:"Herkes i\xe7in GNU/Linux - Pa\xfcSiber"})})}),"\n",(0,n.jsx)(e.hr,{}),"\n",(0,n.jsxs)(e.p,{children:["Toplulu\u011fumuz taraf\u0131ndan e\u011fitimi verilen ",(0,n.jsxs)(e.strong,{children:['"',(0,n.jsx)(e.a,{href:"https://gnulinux.pausiber.xyz/haftalar",children:"Herkes i\xe7in GNU/Linux"}),'"']})," kursunun dok\xfcmanlar\u0131n\u0131 i\xe7erir."]}),"\n",(0,n.jsxs)(e.p,{children:["Dok\xfcmanlara ula\u015fmak i\xe7in ",(0,n.jsx)(e.a,{href:"https://gnulinux.pausiber.xyz/haftalar",children:"buraya"})," t\u0131klay\u0131n\u0131z."]}),"\n",(0,n.jsx)(e.hr,{}),"\n",(0,n.jsx)("p",{align:"center",children:(0,n.jsx)(e.p,{children:(0,n.jsx)(e.strong,{children:"Yazarlar"})})}),"\n",(0,n.jsxs)(e.table,{children:[(0,n.jsx)(e.thead,{children:(0,n.jsxs)(e.tr,{children:[(0,n.jsx)(e.th,{align:"center",children:"Hasan Tezcan"}),(0,n.jsx)(e.th,{align:"center",children:"Bora Tanr\u0131kulu"})]})}),(0,n.jsxs)(e.tbody,{children:[(0,n.jsxs)(e.tr,{children:[(0,n.jsxs)(e.td,{align:"center",children:["Twitter: ",(0,n.jsx)(e.a,{href:"https://twitter.com/hasantezcann",children:"@hasantezcann"})]}),(0,n.jsxs)(e.td,{align:"center",children:["Twitter: ",(0,n.jsx)(e.a,{href:"https://twitter.com/boratanrikulu_",children:"@boratanrikulu_"})]})]}),(0,n.jsxs)(e.tr,{children:[(0,n.jsxs)(e.td,{align:"center",children:["Github: ",(0,n.jsx)(e.a,{href:"https://github.com/hasantezcan",children:"@hasantezcan"})]}),(0,n.jsxs)(e.td,{align:"center",children:["Github: ",(0,n.jsx)(e.a,{href:"https://github.com/boratanrikulu",children:"@boratanrikulu"})]})]}),(0,n.jsxs)(e.tr,{children:[(0,n.jsxs)(e.td,{align:"center",children:["Web Sitesi: ",(0,n.jsx)(e.a,{href:"https://hasantezcan.dev/",children:"hasantezcan.dev"})]}),(0,n.jsxs)(e.td,{align:"center",children:["Web Sitesi: ",(0,n.jsx)(e.a,{href:"https://bora.sh/",children:"bora.sh"})]})]})]})]})]})},a=Object.assign({},(0,l.ah)(),t.components),r=a.wrapper;return r?(0,n.jsx)(r,c({},t,{children:(0,n.jsx)(e,{})})):e()}var d=(0,n.jsx)(u,{});function o(t){return(0,i.withSSG)((0,r.Z)({filename:"index.mdx",route:"/",meta:{type:"page",title:"Hakk\u0131nda",date:"2021-03-19T00:00:00.000Z"},pageMap:[{name:"haftalar",children:[{name:"hafta-bir",route:"/haftalar/hafta-bir",frontMatter:{title:"Hafta 1",date:"2022/5/5",description:"Linux'a giri\u015f.",tag:"gnu/linux",author:"Enes Kaya"}},{name:"hafta-iki",route:"/haftalar/hafta-iki",frontMatter:{title:"Hafta 2",date:"2021/5/5",description:"Linux'ta kullan\u0131c\u0131-grup y\xf6netimini ve dosya-dizin izinlerini kavratmak.",tag:"gnu/linux",author:"Enes Kaya"}},{name:"hafta-sifir",route:"/haftalar/hafta-sifir",frontMatter:{title:"Hafta 0",date:"2023/5/5",description:"Linux'un genel bir tan\u0131m\u0131. Gerekli kurulumlar\u0131n ger\xe7ekle\u015ftirilmesi.",tag:"gnu/linux",author:"Enes Kaya"}},{name:"hafta-uc",route:"/haftalar/hafta-uc",frontMatter:{title:"Hafta 3",date:"2020/5/5",description:"Server kavram\u0131n\u0131n a\xe7\u0131klanmas\u0131, SSH Kullan\u0131m\u0131, Zamanlanm\u0131\u015f g\xf6revler olu\u015fturulmas\u0131.",tag:"gnu/linux",author:"Enes Kaya"}},{name:"index",route:"/haftalar",frontMatter:{type:"posts",title:"Haftalar",date:"2021-03-18T00:00:00.000Z"}}],route:"/haftalar"},{name:"index",route:"/",frontMatter:{type:"page",title:"Hakk\u0131nda",date:"2021-03-19T00:00:00.000Z"}},{name:"tags",children:[{name:"[tag]",route:"/tags/[tag]",frontMatter:{type:"tag",title:"Tagged Posts"}}],route:"/tags"}]},s.Z))(c({},t,{children:d}))}}},function(t){t.O(0,[774,353,888,179],(function(){return e=929,t(t.s=e);var e}));var e=t.O();_N_E=e}]); \ No newline at end of file diff --git a/_next/static/chunks/pages/index-104aa60b9882bd39.js b/_next/static/chunks/pages/index-104aa60b9882bd39.js new file mode 100644 index 0000000..886b905 --- /dev/null +++ b/_next/static/chunks/pages/index-104aa60b9882bd39.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[405],{929:function(a,e,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return t(8466)}])},7845:function(a,e,t){"use strict";var n=t(5893),r=t(5988),i=(new Date).getFullYear();e.Z={footer:(0,n.jsxs)("small",{style:{display:"block",marginTop:"8rem"},className:"jsx-7c359fde634f3543",children:[(0,n.jsx)("time",{className:"jsx-7c359fde634f3543",children:i})," \xa9 PauSiber",(0,n.jsx)(r.default,{id:"7c359fde634f3543",children:"a.jsx-7c359fde634f3543{float:right}\n@media screen and (max-width:480px) {article.jsx-7c359fde634f3543{padding-top:2rem;\npadding-bottom:4rem}}"})]})}},8466:function(a,e,t){"use strict";t.r(e),t.d(e,{default:function(){return o}});var n=t(5893),r=t(8616),i=t(3805),l=t(7845),s=t(1151);function h(a,e,t){return e in a?Object.defineProperty(a,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):a[e]=t,a}function c(a){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},e=function(){var e=Object.assign({h1:"h1",p:"p",strong:"strong",hr:"hr",a:"a",table:"table",thead:"thead",tr:"tr",th:"th",tbody:"tbody",td:"td"},(0,s.ah)(),a.components);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(e.h1,{children:"Herkes i\xe7in GNU/Linux ve Siber G\xfcvenlik"}),"\n",(0,n.jsx)("a",{href:"https://pausiber.xyz/",children:(0,n.jsx)("img",{align:"center",width:300,alt:"pausiber-logo",src:"/images/pausiber-logo.png"})}),"\n",(0,n.jsx)("p",{align:"center",children:(0,n.jsx)(e.p,{children:(0,n.jsx)(e.strong,{children:"Herkes i\xe7in GNU/Linux ve Siber G\xfcvenlik - Pa\xfcSiber"})})}),"\n",(0,n.jsx)(e.hr,{}),"\n",(0,n.jsxs)(e.p,{children:["Toplulu\u011fumuz taraf\u0131ndan e\u011fitimi verilen ",(0,n.jsxs)(e.strong,{children:['"',(0,n.jsx)(e.a,{href:"https://gnulinux.pausiber.xyz/haftalar",children:"Herkes i\xe7in GNU/Linux ve Siber G\xfcvenlik"}),'"']})," kursunun dok\xfcmanlar\u0131n\u0131 i\xe7erir."]}),"\n",(0,n.jsxs)(e.p,{children:["Dok\xfcmanlara ula\u015fmak i\xe7in ",(0,n.jsx)(e.a,{href:"https://gnulinux.pausiber.xyz/haftalar",children:"buraya"})," t\u0131klay\u0131n\u0131z."]}),"\n",(0,n.jsx)(e.hr,{}),"\n",(0,n.jsx)("p",{align:"center",children:(0,n.jsx)(e.p,{children:(0,n.jsx)(e.strong,{children:"Yazarlar"})})}),"\n",(0,n.jsxs)(e.table,{children:[(0,n.jsx)(e.thead,{children:(0,n.jsxs)(e.tr,{children:[(0,n.jsx)(e.th,{align:"center",children:"Hasan Tezcan"}),(0,n.jsx)(e.th,{align:"center",children:"Bora Tanr\u0131kulu"}),(0,n.jsx)(e.th,{align:"center",children:"Abdullah Bagyapan"})]})}),(0,n.jsxs)(e.tbody,{children:[(0,n.jsxs)(e.tr,{children:[(0,n.jsxs)(e.td,{align:"center",children:["Twitter: ",(0,n.jsx)(e.a,{href:"https://twitter.com/hasantezcann",children:"@hasantezcann"})]}),(0,n.jsxs)(e.td,{align:"center",children:["Twitter: ",(0,n.jsx)(e.a,{href:"https://twitter.com/boratanrikulu_",children:"@boratanrikulu_"})]}),(0,n.jsx)(e.td,{align:"center",children:"-"})]}),(0,n.jsxs)(e.tr,{children:[(0,n.jsxs)(e.td,{align:"center",children:["Github: ",(0,n.jsx)(e.a,{href:"https://github.com/hasantezcan",children:"@hasantezcan"})]}),(0,n.jsxs)(e.td,{align:"center",children:["Github: ",(0,n.jsx)(e.a,{href:"https://github.com/boratanrikulu",children:"@boratanrikulu"})]}),(0,n.jsxs)(e.td,{align:"center",children:["Github: ",(0,n.jsx)(e.a,{href:"https://github.com/abdullahbagyapan",children:"@abdullahbagyapan"})]})]}),(0,n.jsxs)(e.tr,{children:[(0,n.jsxs)(e.td,{align:"center",children:["Web Sitesi: ",(0,n.jsx)(e.a,{href:"https://hasantezcan.dev/",children:"hasantezcan.dev"})]}),(0,n.jsxs)(e.td,{align:"center",children:["Web Sitesi: ",(0,n.jsx)(e.a,{href:"https://bora.sh/",children:"bora.sh"})]}),(0,n.jsx)(e.td,{align:"center",children:"Yak\u0131nda..."})]})]})]})]})},t=Object.assign({},(0,s.ah)(),a.components),r=t.wrapper;return r?(0,n.jsx)(r,c({},a,{children:(0,n.jsx)(e,{})})):e()}var d=(0,n.jsx)(u,{});function o(a){return(0,i.withSSG)((0,r.Z)({filename:"index.mdx",route:"/",meta:{type:"page",title:"Hakk\u0131nda",date:"2021-03-19T00:00:00.000Z"},pageMap:[{name:"haftalar",children:[{name:"hafta-bir",route:"/haftalar/hafta-bir",frontMatter:{title:"Hafta 1",date:"2022/5/5",description:"Linux'a giri\u015f.",tag:"gnu/linux",author:"Enes Kaya"}},{name:"hafta-dort",route:"/haftalar/hafta-dort",frontMatter:{title:"Hafta 4",date:"2019/10/4",description:"Kriptolojiye giri\u015f, Canl\u0131 d\xfcnya \xf6rnekleri, \u015eifreleme algoritmas\u0131 geli\u015ftirilmesi.",tag:"gnu/linux cryptography",author:"Abdullah Bagyapan"}},{name:"hafta-iki",route:"/haftalar/hafta-iki",frontMatter:{title:"Hafta 2",date:"2021/5/5",description:"Linux'ta kullan\u0131c\u0131-grup y\xf6netimini ve dosya-dizin izinlerini kavratmak.",tag:"gnu/linux",author:"Enes Kaya"}},{name:"hafta-sifir",route:"/haftalar/hafta-sifir",frontMatter:{title:"Hafta 0",date:"2023/5/5",description:"Linux'un genel bir tan\u0131m\u0131. Gerekli kurulumlar\u0131n ger\xe7ekle\u015ftirilmesi.",tag:"gnu/linux",author:"Enes Kaya"}},{name:"hafta-uc",route:"/haftalar/hafta-uc",frontMatter:{title:"Hafta 3",date:"2020/5/5",description:"Server kavram\u0131n\u0131n a\xe7\u0131klanmas\u0131, SSH Kullan\u0131m\u0131, Zamanlanm\u0131\u015f g\xf6revler olu\u015fturulmas\u0131.",tag:"gnu/linux",author:"Enes Kaya"}},{name:"index",route:"/haftalar",frontMatter:{type:"posts",title:"Haftalar",date:"2021-03-18T00:00:00.000Z"}}],route:"/haftalar"},{name:"index",route:"/",frontMatter:{type:"page",title:"Hakk\u0131nda",date:"2021-03-19T00:00:00.000Z"}},{name:"tags",children:[{name:"[tag]",route:"/tags/[tag]",frontMatter:{type:"tag",title:"Tagged Posts"}}],route:"/tags"}]},l.Z))(c({},a,{children:d}))}}},function(a){a.O(0,[774,353,888,179],(function(){return e=929,a(a.s=e);var e}));var e=a.O();_N_E=e}]); \ No newline at end of file diff --git a/_next/static/chunks/pages/tags/[tag]-54b963081c74e9fd.js b/_next/static/chunks/pages/tags/[tag]-54b963081c74e9fd.js new file mode 100644 index 0000000..6e10527 --- /dev/null +++ b/_next/static/chunks/pages/tags/[tag]-54b963081c74e9fd.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[327],{4917:function(t,a,e){(window.__NEXT_P=window.__NEXT_P||[]).push(["/tags/[tag]",function(){return e(9591)}])},7845:function(t,a,e){"use strict";var r=e(5893),n=e(5988),i=(new Date).getFullYear();a.Z={footer:(0,r.jsxs)("small",{style:{display:"block",marginTop:"8rem"},className:"jsx-7c359fde634f3543",children:[(0,r.jsx)("time",{className:"jsx-7c359fde634f3543",children:i})," \xa9 PauSiber",(0,r.jsx)(n.default,{id:"7c359fde634f3543",children:"a.jsx-7c359fde634f3543{float:right}\n@media screen and (max-width:480px) {article.jsx-7c359fde634f3543{padding-top:2rem;\npadding-bottom:4rem}}"})]})}},9591:function(t,a,e){"use strict";e.r(a),e.d(a,{TagName:function(){return c},default:function(){return h}});var r=e(5893),n=e(8616),i=e(3805),u=e(7845),l=e(1151),o=e(1163);function f(t,a,e){return a in t?Object.defineProperty(t,a,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[a]=e,t}function s(t){for(var a=1;a0&&void 0!==arguments[0]?arguments[0]:{},a=function(){var a=Object.assign({h1:"h1"},(0,l.ah)(),t.components);return(0,r.jsxs)(a.h1,{children:["Posts Tagged with \u201c",(0,r.jsx)(c,{}),"\u201d"]})},e=Object.assign({},(0,l.ah)(),t.components),n=e.wrapper;return n?(0,r.jsx)(n,s({},t,{children:(0,r.jsx)(a,{})})):a()}var d=(0,r.jsx)(g,{});function h(t){return(0,i.withSSG)((0,n.Z)({filename:"[tag].mdx",route:"/tags/[tag]",meta:{type:"tag",title:"Tagged Posts"},pageMap:[{name:"haftalar",children:[{name:"hafta-bir",route:"/haftalar/hafta-bir",frontMatter:{title:"Hafta 1",date:"2022/5/5",description:"Linux'a giri\u015f.",tag:"gnu/linux",author:"Enes Kaya"}},{name:"hafta-dort",route:"/haftalar/hafta-dort",frontMatter:{title:"Hafta 4",date:"2019/10/4",description:"Kriptolojiye giri\u015f, Canl\u0131 d\xfcnya \xf6rnekleri, \u015eifreleme algoritmas\u0131 geli\u015ftirilmesi.",tag:"gnu/linux cryptography",author:"Abdullah Bagyapan"}},{name:"hafta-iki",route:"/haftalar/hafta-iki",frontMatter:{title:"Hafta 2",date:"2021/5/5",description:"Linux'ta kullan\u0131c\u0131-grup y\xf6netimini ve dosya-dizin izinlerini kavratmak.",tag:"gnu/linux",author:"Enes Kaya"}},{name:"hafta-sifir",route:"/haftalar/hafta-sifir",frontMatter:{title:"Hafta 0",date:"2023/5/5",description:"Linux'un genel bir tan\u0131m\u0131. Gerekli kurulumlar\u0131n ger\xe7ekle\u015ftirilmesi.",tag:"gnu/linux",author:"Enes Kaya"}},{name:"hafta-uc",route:"/haftalar/hafta-uc",frontMatter:{title:"Hafta 3",date:"2020/5/5",description:"Server kavram\u0131n\u0131n a\xe7\u0131klanmas\u0131, SSH Kullan\u0131m\u0131, Zamanlanm\u0131\u015f g\xf6revler olu\u015fturulmas\u0131.",tag:"gnu/linux",author:"Enes Kaya"}},{name:"index",route:"/haftalar",frontMatter:{type:"posts",title:"Haftalar",date:"2021-03-18T00:00:00.000Z"}}],route:"/haftalar"},{name:"index",route:"/",frontMatter:{type:"page",title:"Hakk\u0131nda",date:"2021-03-19T00:00:00.000Z"}},{name:"tags",children:[{name:"[tag]",route:"/tags/[tag]",frontMatter:{type:"tag",title:"Tagged Posts"}}],route:"/tags"}]},u.Z))(s({},t,{children:d}))}}},function(t){t.O(0,[774,353,888,179],(function(){return a=4917,t(t.s=a);var a}));var a=t.O();_N_E=a}]); \ No newline at end of file diff --git a/_next/static/chunks/pages/tags/[tag]-fefb848df45a674b.js b/_next/static/chunks/pages/tags/[tag]-fefb848df45a674b.js deleted file mode 100644 index 82b9462..0000000 --- a/_next/static/chunks/pages/tags/[tag]-fefb848df45a674b.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[327],{4917:function(t,a,e){(window.__NEXT_P=window.__NEXT_P||[]).push(["/tags/[tag]",function(){return e(9591)}])},7845:function(t,a,e){"use strict";var n=e(5893),r=e(5988),i=(new Date).getFullYear();a.Z={footer:(0,n.jsxs)("small",{style:{display:"block",marginTop:"8rem"},className:"jsx-7c359fde634f3543",children:[(0,n.jsx)("time",{className:"jsx-7c359fde634f3543",children:i})," \xa9 PauSiber",(0,n.jsx)(r.default,{id:"7c359fde634f3543",children:"a.jsx-7c359fde634f3543{float:right}\n@media screen and (max-width:480px) {article.jsx-7c359fde634f3543{padding-top:2rem;\npadding-bottom:4rem}}"})]})}},9591:function(t,a,e){"use strict";e.r(a),e.d(a,{TagName:function(){return c},default:function(){return h}});var n=e(5893),r=e(8616),i=e(3805),u=e(7845),o=e(1151),l=e(1163);function f(t,a,e){return a in t?Object.defineProperty(t,a,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[a]=e,t}function s(t){for(var a=1;a0&&void 0!==arguments[0]?arguments[0]:{},a=function(){var a=Object.assign({h1:"h1"},(0,o.ah)(),t.components);return(0,n.jsxs)(a.h1,{children:["Posts Tagged with \u201c",(0,n.jsx)(c,{}),"\u201d"]})},e=Object.assign({},(0,o.ah)(),t.components),r=e.wrapper;return r?(0,n.jsx)(r,s({},t,{children:(0,n.jsx)(a,{})})):a()}var g=(0,n.jsx)(d,{});function h(t){return(0,i.withSSG)((0,r.Z)({filename:"[tag].mdx",route:"/tags/[tag]",meta:{type:"tag",title:"Tagged Posts"},pageMap:[{name:"haftalar",children:[{name:"hafta-bir",route:"/haftalar/hafta-bir",frontMatter:{title:"Hafta 1",date:"2022/5/5",description:"Linux'a giri\u015f.",tag:"gnu/linux",author:"Enes Kaya"}},{name:"hafta-iki",route:"/haftalar/hafta-iki",frontMatter:{title:"Hafta 2",date:"2021/5/5",description:"Linux'ta kullan\u0131c\u0131-grup y\xf6netimini ve dosya-dizin izinlerini kavratmak.",tag:"gnu/linux",author:"Enes Kaya"}},{name:"hafta-sifir",route:"/haftalar/hafta-sifir",frontMatter:{title:"Hafta 0",date:"2023/5/5",description:"Linux'un genel bir tan\u0131m\u0131. Gerekli kurulumlar\u0131n ger\xe7ekle\u015ftirilmesi.",tag:"gnu/linux",author:"Enes Kaya"}},{name:"hafta-uc",route:"/haftalar/hafta-uc",frontMatter:{title:"Hafta 3",date:"2020/5/5",description:"Server kavram\u0131n\u0131n a\xe7\u0131klanmas\u0131, SSH Kullan\u0131m\u0131, Zamanlanm\u0131\u015f g\xf6revler olu\u015fturulmas\u0131.",tag:"gnu/linux",author:"Enes Kaya"}},{name:"index",route:"/haftalar",frontMatter:{type:"posts",title:"Haftalar",date:"2021-03-18T00:00:00.000Z"}}],route:"/haftalar"},{name:"index",route:"/",frontMatter:{type:"page",title:"Hakk\u0131nda",date:"2021-03-19T00:00:00.000Z"}},{name:"tags",children:[{name:"[tag]",route:"/tags/[tag]",frontMatter:{type:"tag",title:"Tagged Posts"}}],route:"/tags"}]},u.Z))(s({},t,{children:g}))}}},function(t){t.O(0,[774,353,888,179],(function(){return a=4917,t(t.s=a);var a}));var a=t.O();_N_E=a}]); \ No newline at end of file diff --git a/_next/static/p3QRbKoc3lV9pgAsaP90W/_buildManifest.js b/_next/static/p3QRbKoc3lV9pgAsaP90W/_buildManifest.js new file mode 100644 index 0000000..f01e1f0 --- /dev/null +++ b/_next/static/p3QRbKoc3lV9pgAsaP90W/_buildManifest.js @@ -0,0 +1 @@ +self.__BUILD_MANIFEST=function(a){return{__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/":[a,"static/chunks/pages/index-104aa60b9882bd39.js"],"/_error":["static/chunks/pages/_error-2280fa386d040b66.js"],"/components/CenteredImageLightbox":["static/chunks/pages/components/CenteredImageLightbox-7361f317e0423b0f.js"],"/haftalar":[a,"static/chunks/pages/haftalar-5cb336c7a56ad744.js"],"/haftalar/hafta-bir":[a,"static/chunks/pages/haftalar/hafta-bir-d2eace3919b4a485.js"],"/haftalar/hafta-dort":[a,"static/chunks/pages/haftalar/hafta-dort-17d909c3c3f5a2c9.js"],"/haftalar/hafta-iki":[a,"static/chunks/pages/haftalar/hafta-iki-6d49e9edfdf05678.js"],"/haftalar/hafta-sifir":[a,"static/chunks/pages/haftalar/hafta-sifir-708e4f1c3d6ce918.js"],"/haftalar/hafta-uc":[a,"static/chunks/pages/haftalar/hafta-uc-0ba41cff26bdcf08.js"],"/tags/[tag]":[a,"static/chunks/pages/tags/[tag]-54b963081c74e9fd.js"],sortedPages:["/","/_app","/_error","/components/CenteredImageLightbox","/haftalar","/haftalar/hafta-bir","/haftalar/hafta-dort","/haftalar/hafta-iki","/haftalar/hafta-sifir","/haftalar/hafta-uc","/tags/[tag]"]}}("static/chunks/353-e5672d55b0ebd1bc.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/_next/static/Ss0rd3tj0Ss-Pdz1eJTcA/_middlewareManifest.js b/_next/static/p3QRbKoc3lV9pgAsaP90W/_middlewareManifest.js similarity index 100% rename from _next/static/Ss0rd3tj0Ss-Pdz1eJTcA/_middlewareManifest.js rename to _next/static/p3QRbKoc3lV9pgAsaP90W/_middlewareManifest.js diff --git a/_next/static/Ss0rd3tj0Ss-Pdz1eJTcA/_ssgManifest.js b/_next/static/p3QRbKoc3lV9pgAsaP90W/_ssgManifest.js similarity index 100% rename from _next/static/Ss0rd3tj0Ss-Pdz1eJTcA/_ssgManifest.js rename to _next/static/p3QRbKoc3lV9pgAsaP90W/_ssgManifest.js diff --git a/components/CenteredImageLightbox.html b/components/CenteredImageLightbox.html index 4a74376..2f9013a 100644 --- a/components/CenteredImageLightbox.html +++ b/components/CenteredImageLightbox.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/haftalar.html b/haftalar.html index a716798..82c0782 100644 --- a/haftalar.html +++ b/haftalar.html @@ -1,3 +1,3 @@ -Haftalar
\ No newline at end of file +padding-bottom:4rem}}

Haftalar

    Hafta 0

    Linux'un genel bir tanımı. Gerekli kurulumların gerçekleştirilmesi.Read More →

    Hafta 1

    Linux'a giriş.Read More →

    Hafta 2

    Linux'ta kullanıcı-grup yönetimini ve dosya-dizin izinlerini kavratmak.Read More →

    Hafta 3

    Server kavramının açıklanması, SSH Kullanımı, Zamanlanmış görevler oluşturulması.Read More →

    Hafta 4

    Kriptolojiye giriş, Canlı dünya örnekleri, Şifreleme algoritması geliştirilmesi.Read More →

© PauSiber
\ No newline at end of file diff --git a/haftalar/hafta-bir.html b/haftalar/hafta-bir.html index 7177918..00fd328 100644 --- a/haftalar/hafta-bir.html +++ b/haftalar/hafta-bir.html @@ -1,4 +1,4 @@ -Hafta 1

Hafta 1

Enes Kaya, gnu/linux
Back

Amaç : Terminal kullanımını kavratmak, dosya sistem hiyerarşisini kavratmak, paket yöneticisi kavramından bahsetmek.

@@ -279,4 +279,4 @@

Bu hafta neler yaptık ?

  • Terminal üzerinde çalışan metin editörlerini denedik.
  • GNU/Linux’da dosya sistem hiyerarşisinin nasıl olduğunu temel düzeyde öğrendik.
  • Paket Yöneticisi ve REPO kavramlarını öğrendik.
  • - © PauSiber
    \ No newline at end of file + © PauSiber \ No newline at end of file diff --git a/haftalar/hafta-dort.html b/haftalar/hafta-dort.html new file mode 100644 index 0000000..63eb86b --- /dev/null +++ b/haftalar/hafta-dort.html @@ -0,0 +1,119 @@ +Hafta 4

    Hafta 4

    Abdullah Bagyapan, gnu/linux cryptography
    Back
    +

    Amaç : Kriptoloji kavramının açıklanması. Örnek kullanımların gösterilmesi. Şifreleme algoritması kodlanması.

    +

    Yazar : abdullahbagyapan

    +
    +

    Kriptoloji Nedir ?

    +

    Kriptoloji, bilgiyi şifreleme ve gizleme ile ilgilenen bir bilim dalıdır.

    +

    Modern kriptoloji, birden çok disiplinin bir araya gelmesiyle oluşmuştur: Matematik, bilgisayar bilimleri, elektronik...

    +

    Dijital bankacılık uygulamaları, e-ticaret, dijital para birimleri, askeri iletişim gibi her alanda kriptolojinin pratik uygulamları vardır.

    +
    +

    Kriptoloji Neden Önemlidir ?

    +

    Kriptolojinin günümüzde bu kadar önemli olmasının birçok nedeni vardır.

    +
      +
    • Gizlilik ve Güvenlik
    • +
    • Güvenli İletişim
    • +
    • Kimlik Doğrulama
    • +
    • Veri Saklama ve Taşıma
    • +
    • Veri Bütünlüğü
    • +
    +
    +

    Kriptolojinin Yükselişi

    +

    Modern kriptoloji, 1. Dünya Savaşıyla(1914 – 1918) beraber yükselişe geçmiştir.

    +

    Rotor makinelerin keşfiyle beraber çok daha kompleks şifreleme algoritmaları geliştirilmiştir.

    +
    rotor machine
    +
    +

    Enigma

    +

    Enigma, diplomatik ve askeri iletişimi korumak için 20. yüzyılın başlarından ortalarına kadar geliştirilen ve kullanılan bir şifreleme cihazıdır. 2. Dünya Savaşı sırasında Nazi Almanyası tarafından yaygın olarak kullanıldı.

    +

    Enigma, alfabenin 26 harfini karıştıran elektromekanik bir rotor mekanizmasına sahiptir.

    +
    enigma machine
    +
    +

    Daha detaylı bilgi için: History of the Enigma

    +
    +
    +

    Encoding/Decoding

    +

    Encoding, bir bilgiyi veya veriyi belirli bir formata dönüştürme veya kodlama işlemidir. +Orijinal verinin kolaylıkla iletilebilecek, saklanabilecek veya işlenebilecek kodlanmış bir forma dönüştürülmesini içerir.

    +
    base conversion
    +
    string conversion
    +
    +

    String conversion: https://string-functions.com/string-binary.aspx

    +
    +
    +

    Encryption/Decryption

    +

    Encryption, verileri yalnızca anahtar sahiplerinin çözebileceği şekilde dönüştürme işlemidir.

    +

    Verinin şifrelenmemiş halini, şifrelenmiş olarak bilinen alternatif bir biçime dönüştürür.

    +
    encryption
    +
    +

    Caesar Cipher

    +

    Caesar şifreleme, en basit ve en çok bilinen şifreleme tekniklerinden biridir. Düz metindeki her harfin, alfabede sabit sayıda kaydırılarak değiştirilmesiyle oluşan bir tür şifreleme methodudur.

    +
    caesar cipher
    +
    def caesar_cipher(text, shift):
    +    cipher_text = ""
    +
    +    for character in text:
    +
    +        if character.isalpha():
    +            encrypted_chr = ord(character) + shift  # get shifted character
    +
    +            if (encrypted_chr > ord("z")):          # overflow check
    +                encrypted_chr -= 26
    +
    +            encrypted_chr = chr(encrypted_chr)      # return into character
    +
    +            cipher_text += encrypted_chr
    +
    +    return cipher_text
    +
    +cipher_text = caesar_cipher("PAUSIBER", 3)
    +print(cipher_text)
    +
    +
    +

    Online Python Editor: https://pythononline.net/

    +
    +
    +

    XOR Cipher

    +

    XOR, bir mantık kapısıdır.

    +
    xor gate
    +

    XOR kapısı, karmaşık şifrelemede son derece yaygındır.

    +

    Başlıca avantajı, uygulanmasının basit olması ve XOR işleminin hesaplama açısından ucuz olmasıdır.

    +
    xor cipher
    +
    +

    Stream Cipher, LFSR

    +

    Linear-feedback shift register (LFSR), giriş biti önceki durumunun doğrusal bir fonksiyonu olan bir dijital devredir.

    +

    En yaygın kullanılan doğrusal fonksiyonu, XOR fonksiyonudur. Bu nedenle, bir LFSR çoğunlukla bazı bitlerinin XOR kapısı tarafından yönlendirilen bir dijital devredir.

    +
    lfsr
    +
    +

    Rastgelelik ve Sözde Rastgelelik (Pseudorandom)

    +

    Rastgelelik, bilgide kesin bir öngörülebilirliğin olmamasıdır. Rastgele adımlar dizisinin çoğu zaman bir sırası yoktur ve anlaşılır bir model veya kombinasyon izlemez.

    +

    Sözde rasgele sayı dizisi, tamamen deterministik ve tekrarlanabilir bir süreç tarafından üretilmiş olmasına rağmen istatistiksel olarak rasgele görünen bir dizidir.

    +

    İnsanlar için mevcut olan geleneksel rastgelelik kaynakları (zar atmak gibi), bilgisayarlar tarafından kolayca kullanılamayan fiziksel süreçlere dayanır.

    +
    +

    Linear Congruential Generator (LCG)

    +

    LCG, doğrusal denklemle hesaplanan sözde rastgele sayıların bir dizisini veren bir algoritmadır. Yöntem, en eski ve en iyi bilinen sözde rastgele sayı üreteci algoritmalarından birini temsil eder.

    +
    MODULUS = 1033          # M, 0 < M          — the "modulus"
    +MULTIPLIER = 827        # A, 0 < A < M      — the "multiplier"
    +INCREMENT = 57          # C, 0 <= C < M     — the "increment"
    +SEED = 512              # X, 0 <= X < M     — the "seed" or "start value"
    +
    +# X = (A*X + C) mod M
    +def lcg():
    +
    +    global SEED
    +    
    +    SEED = (MULTIPLIER * SEED + INCREMENT) % MODULUS
    +
    +
    +

    Online Python Editor: https://pythononline.net/

    +
    +
    +

    Bu hafta neler yaptık ?

    +
      +
    • Kriptolojinin ne olduğunu ve neden kullanmamız gerektiğini öğrendik.
    • +
    • Kriptolojinin yükselişini ve fiziksel şifreleme makinelerini öğrendik.
    • +
    • Şifrelemeyle çok karıştırılan encoding/decoding kavramlarını öğrendik.
    • +
    • Encryption/Decryption kavramlarını ve en basit şifreleme methodolojisini öğrendik.
    • +
    • XOR şifrelemeyi ve LFSR şifrelemeyi öğrendik.
    • +
    • Rastgelelik ve Sözde Rastgelelik kavramlarını öğrendik ve sözde rastgele sayı üreteci yaptık.
    • +
    © PauSiber
    \ No newline at end of file diff --git a/haftalar/hafta-iki.html b/haftalar/hafta-iki.html index d34e81f..fda1386 100644 --- a/haftalar/hafta-iki.html +++ b/haftalar/hafta-iki.html @@ -1,4 +1,4 @@ -Hafta 2

    Hafta 2

    Enes Kaya, gnu/linux
    Back

    Amaç : Kullanıcı-grup yönetimini ve dosya-dizin izinlerini kavratmak.

    @@ -252,4 +252,4 @@

    Bu hafta neler yaptık ?

  • Dosyaların nasıl kilitlenebileceğini öğrendik..
  • - © PauSiber
    \ No newline at end of file + © PauSiber \ No newline at end of file diff --git a/haftalar/hafta-sifir.html b/haftalar/hafta-sifir.html index c938426..27d2464 100644 --- a/haftalar/hafta-sifir.html +++ b/haftalar/hafta-sifir.html @@ -1,4 +1,4 @@ -Hafta 0

    Hafta 0

    Enes Kaya, gnu/linux
    Back

    Amaç : Linux'un genel bir tanımı. Gerekli kurulumların gerçekleştirilmesi.

    @@ -141,4 +141,4 @@

    Bu hafta neler yaptık ?

  • Temel dağıtımların neler olduğunu öğrendik.
  • PauSiber Dev'in ne olduğunu ve neden bunu hazırlama ihtiyacı duyduğumuzu öğrendik.
  • -

    Haftaya Görüşmek Üzere!

    © PauSiber
    \ No newline at end of file +

    Haftaya Görüşmek Üzere!

    © PauSiber \ No newline at end of file diff --git a/haftalar/hafta-uc.html b/haftalar/hafta-uc.html index 7e4e1ad..7dff619 100644 --- a/haftalar/hafta-uc.html +++ b/haftalar/hafta-uc.html @@ -1,4 +1,4 @@ -Hafta 3

    Hafta 3

    Enes Kaya, gnu/linux
    Back

    Amaç : Server kavramının açıklanması, SSH Kullanımı, Zamanlanmış görevler oluşturulması.

    @@ -74,4 +74,4 @@

    Bu hafta neler yaptık ?

  • SSH-Key'in ne olduğunu,
  • SSH-Key kullanarak bağlantı kurmayı,
  • Parola yerine neden SSH-Key kullandığımızı öğrendik.
  • - © PauSiber
    \ No newline at end of file + © PauSiber \ No newline at end of file diff --git a/images/hafta4/0.png b/images/hafta4/0.png new file mode 100644 index 0000000..9ac450e Binary files /dev/null and b/images/hafta4/0.png differ diff --git a/images/hafta4/1.jpg b/images/hafta4/1.jpg new file mode 100644 index 0000000..2ce4cb5 Binary files /dev/null and b/images/hafta4/1.jpg differ diff --git a/images/hafta4/2.png b/images/hafta4/2.png new file mode 100644 index 0000000..d6141a5 Binary files /dev/null and b/images/hafta4/2.png differ diff --git a/images/hafta4/3.png b/images/hafta4/3.png new file mode 100644 index 0000000..0c8642d Binary files /dev/null and b/images/hafta4/3.png differ diff --git a/images/hafta4/4.png b/images/hafta4/4.png new file mode 100644 index 0000000..e212b03 Binary files /dev/null and b/images/hafta4/4.png differ diff --git a/images/hafta4/5.png b/images/hafta4/5.png new file mode 100644 index 0000000..85352e2 Binary files /dev/null and b/images/hafta4/5.png differ diff --git a/images/hafta4/6.png b/images/hafta4/6.png new file mode 100644 index 0000000..e06a183 Binary files /dev/null and b/images/hafta4/6.png differ diff --git a/images/hafta4/7.png b/images/hafta4/7.png new file mode 100644 index 0000000..52650bb Binary files /dev/null and b/images/hafta4/7.png differ diff --git a/images/hafta4/8.gif b/images/hafta4/8.gif new file mode 100644 index 0000000..00e6cf7 Binary files /dev/null and b/images/hafta4/8.gif differ diff --git a/index.html b/index.html index 8b136d4..51e102c 100644 --- a/index.html +++ b/index.html @@ -1,11 +1,11 @@ -Hakkında

    Herkes için GNU/Linux

    +padding-bottom:4rem}}

    Herkes için GNU/Linux ve Siber Güvenlik

    pausiber-logo -

    Herkes için GNU/Linux - PaüSiber

    +

    Herkes için GNU/Linux ve Siber Güvenlik - PaüSiber


    -

    Topluluğumuz tarafından eğitimi verilen "Herkes için GNU/Linux" kursunun dokümanlarını içerir.

    +

    Topluluğumuz tarafından eğitimi verilen "Herkes için GNU/Linux ve Siber Güvenlik" kursunun dokümanlarını içerir.

    Dokümanlara ulaşmak için buraya tıklayınız.


    Yazarlar

    -
    Hasan TezcanBora Tanrıkulu
    Twitter: @hasantezcannTwitter: @boratanrikulu_
    Github: @hasantezcanGithub: @boratanrikulu
    Web Sitesi: hasantezcan.devWeb Sitesi: bora.sh
      © PauSiber
      \ No newline at end of file +
      Hasan TezcanBora TanrıkuluAbdullah Bagyapan
      Twitter: @hasantezcannTwitter: @boratanrikulu_-
      Github: @hasantezcanGithub: @boratanrikuluGithub: @abdullahbagyapan
      Web Sitesi: hasantezcan.devWeb Sitesi: bora.shYakında...
        © PauSiber
        \ No newline at end of file diff --git a/tags/[tag].html b/tags/[tag].html index effb77e..10efb64 100644 --- a/tags/[tag].html +++ b/tags/[tag].html @@ -1,3 +1,3 @@ -Tagged Posts
        \ No newline at end of file +padding-bottom:4rem}}
        \ No newline at end of file