This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# clang -I /usr/local/include -I /usr/src/sys/net/ -I /usr/src/sbin/pfctl/ -o pf_ioctl pf_ioctl.c | |
# block drop in quick inet proto tcp from 192.168.10.10 to 192.168.10.11 port = mit-dov flags S/SA label "rule_label" tag rule_tag rtable 0 | |
#define IF_NAMESIZE 16 | |
#define IFNAMSIZ IF_NAMESIZE | |
#define MAXPATHLEN 1024 | |
#define PF_TABLE_NAME_SIZE 32 | |
#define TH_SYN 0x02 | |
#define TH_ACK 0x10 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HDFS Dosya sisteminde klasör oluşturma; | |
- hdfs dfs -mkdir /source | |
Local makinamızdan HDFS dosya sistemine transfer yapma; | |
- hdfs dfs -copyFromLocal /source /hdfs-destination | |
Yukarıda ki işlemin tersi; | |
- hdfs dfs -copyToLocal /hdfs-source /destination | |
Dosya sisteminde ki klasör sayısı; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hadoop Common : Hadoop üzerinde bazı modüllerin bu frameworka ulaşabilmesini sağlamakta kullanılan kütüphaneleri sağlamaktadır. | |
Hadoop YARN : Bu bileşen koşan uygulamalara ayrılacak olan ram ve cpu belirlemekte ve yönetmektedir. | |
HDFS : Bu bileşende büyük verilerin saklandığı sistemdir. | |
Hadoop MapReduce : Büyük verilen paralel olarak işleme işlemini gerçekleştirir. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hadoop,Pig,Hive,Oozie ve Spark gibi kütüphaneleri içerinde barındıran bir sanal ortam : Cloudera QuickStarts CDH 5.x. | |
Bu sanal ortamı VirtualBox üzerinde kuracağız. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Java ile yazılmış açık kaynak kodlu bir kütüphane olan Hadoop ile büyük veriler üzerinde çalışmalar yapılabilmektedir. | |
Bu makine birden fazla makine üzerinde verileri saklayıp işlemektedir. | |
Hadoop büyük verileri HDFS sistemi ile saklamaktadır. İlk olarak sisteme veriler yüklenirken bloklara ayrılmaktadır. | |
Bloklara ayrılan veriler Hadoop Cluster üzerinden farklı düğümlere (node) yada farklı makinalara dağılmaktadır. | |
Bu dağıtma işleminde bloklanmış veriler çoğullanmış bir şekilde yani parçalanmış düğümler örnek vermek gerekirse 3. ve 8. düğümde | |
de bulunabilmektedir. Burada ki amaç herhangi bir beklenmedik durumda veri kaybının yaşanmamasıdır. | |
Hadoop framework büyük verileri paralel olarak işlemektedir. Bu işlem MapReduce ile yapılmaktadır. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.... | |
... | |
.. | |
apt-get install apache2 | |
control service | |
------------------------------ | |
service apache2 status | |
**** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
On Windows Cmd. | |
Note : If you want to directory transfer, you have to use -r parameter. | |
> pscp -r [directory_path] user@hostname:[linux_path] | |
. | |
.. | |
... | |
And | |
... | |
.. | |
. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
First Step | |
- Terminal | |
- composer require "laravelcollective/html":"^5.2.0" ( go to project directory by cd ) | |
---------------------------- | |
Second Step | |
---------------------------- | |
- App Folder Update => config/app.php | |
- 'providers' => [ | |
. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* **************************************************** */ | |
/* ***************** First Controller ***************** */ | |
/* **************************************************** */ | |
<?php | |
namespace App\Http\Controllers; | |
use Illuminate\Http\Request; | |
use App\Http\Requests; | |
use App\Http\Controllers\Controller; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var NMArray = new Array(); | |
function CrtSdk(){ | |
var BorderColor = ""; | |
var Counter = 0; | |
var Data = "<table style='width: 40%; margin: auto'>"; | |
for(var i = 1; i < 10; ++i){ | |
Data = Data + "<tr>"; | |
for(var j = 1; j < 10; ++j){ | |
if( j < 4 && i < 4 ) | |
BorderColor = "red"; |