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

<channel>
	<title>raspberry &#8211; Selman Tunc</title>
	<atom:link href="https://selmantunc.com.tr/tag/raspberry/feed/" rel="self" type="application/rss+xml" />
	<link>https://selmantunc.com.tr</link>
	<description></description>
	<lastBuildDate>Wed, 31 Jan 2018 11:39:31 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0</generator>

<image>
	<url>https://selmantunc.com.tr/wp-content/uploads/2023/07/cropped-tumblr_inline_oglumuMbgO1tyldvk_540-150x150-1-32x32.jpg</url>
	<title>raspberry &#8211; Selman Tunc</title>
	<link>https://selmantunc.com.tr</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>tiny core linux for raspberry pi</title>
		<link>https://selmantunc.com.tr/uncategorized/tiny-core-linux-for-raspberry-pi/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Wed, 31 Jan 2018 11:39:31 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[raspberry]]></category>
		<category><![CDATA[raspian]]></category>
		<category><![CDATA[tinycore]]></category>
		<guid isPermaLink="false">http://selmantunc.com.tr/2018/01/31/tiny-core-linux-for-raspberry-pi/</guid>

					<description><![CDATA[TinyCore linux un  raspberry pi için de özel sürümü hazırlanmış bir linux işletim sistemi eğer minik işleriniz  varsa bu minicik sistemi test edebilirsiniz. İleri seviyeli kullanıcılar için &#8211; başlangıç seviyesi&#8230;]]></description>
										<content:encoded><![CDATA[<p>TinyCore linux un  raspberry pi için de özel sürümü hazırlanmış bir linux işletim sistemi eğer minik işleriniz  varsa bu minicik sistemi test edebilirsiniz.</p>
<p>İleri seviyeli kullanıcılar için &#8211; başlangıç seviyesi için önce rasberian ı iyi öğrenin derim. </p>
<p>Bir <strike>GUI içeren </strike>ve tamamen RAM&#8217;den çalıştırılan minimum bir dağıtıma ihtiyacınız varsa, </p>
<p>TinyCore sizin için doğru olabilir. </p>
<p>Yalnızca ihtiyacınız olan şeylerle eksiksiz bir sistem oluşturmak için kullanabileceğiniz en az sayıda araç içerir. </p>
<p>Sadece 10 Mb bir işletim sistemi :) </p>
<p>

İndir TinyCore   <a href="http://tinycorelinux.net/ports.html">Link</a></p>
<figure data-orig-width="608" data-orig-height="328" class="tmblr-full"><img decoding="async" src="https://selmantunc.com.tr/wp-content/uploads/2023/07/tumblr_inline_p3f3q0yH6D1tyldvk_540.png" alt="image" data-orig-width="608" data-orig-height="328"></figure>
<p> <br></p>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Install Golang on Raspberry Pi</title>
		<link>https://selmantunc.com.tr/uncategorized/install-golang-on-raspberry-pi/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Thu, 11 Jan 2018 23:56:44 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[go]]></category>
		<category><![CDATA[golang]]></category>
		<category><![CDATA[pi]]></category>
		<category><![CDATA[raspberry]]></category>
		<guid isPermaLink="false">http://selmantunc.com.tr/2018/01/11/install-golang-on-raspberry-pi/</guid>

					<description><![CDATA[———————————–1.9.2——————————— wget https://storage.googleapis.com/golang/ go1.9.2.linux-armv6l.tar.gz tar -C /usr/local -xzf go1.9.2.linux-armv6l.tar.gz export PATH=$PATH:/usr/local/go/bin wget https://storage.googleapis.com/golang/go1.8.linux-armv6l.tar.gz  tar -C /usr/local -xzf go1.8.linux-armv6l.tar.gz  export PATH=$PATH:/usr/local/go/bin Compiler (Examples)  your file   -&#62; stnc.go Terminal write  mkdir -p&#8230;]]></description>
										<content:encoded><![CDATA[<p>———————————–1.9.2———————————</p>
<p>wget <a href="https://storage.googleapis.com/golang/">https://storage.googleapis.com/golang/</a>

<a href="https://dl.google.com/go/go1.9.2.linux-armv6l.tar.gz">go1.9.2.linux</a>-armv6l.tar.gz </p>
<p>tar -C /usr/local -xzf

<a href="https://dl.google.com/go/go1.9.2.linux-armv6l.tar.gz">go1.9.2.linux</a>-armv6l.tar.gz </p>
<p>export PATH=$PATH:/usr/local/go/bin</p>
<p>wget <a href="https://storage.googleapis.com/golang/go1.8.linux-armv6l.tar.gz%C2%A0">https://storage.googleapis.com/golang/go1.8.linux-armv6l.tar.gz </a></p>
<p>tar -C /usr/local -xzf go1.8.linux-armv6l.tar.gz </p>
<p>export PATH=$PATH:/usr/local/go/bin</p>
<p><b>Compiler (Examples) </b></p>
<p>
your file   -&gt; stnc.go</p>
<p>Terminal write </p>
<p>
mkdir -p $GOPATH/src/stnc <br>
cd $GOPATH/src/stnc <br>
go get<br>
go build<br>
./stnc<br></p>
<p>—-CRON </p>
<pre><code>sudo crontab -e</code></pre>
<p>

<code>*/25 * * * * /</code>

/src/stnc/stnc<br></p>
<p>My packages cd /root/go/src/stnc  </p>
<p><br></p>
<p>

Debian / UBUNTU Start cron service

<br><code>sudo /etc/init.d/cron start</code>
<br>OR</p>
<p><code>&nbsp;sudo service cron start</code>

<br></p>
<p><b>Mysql </b></p>
<ul><li>sudo apt-get update
</li>
<li>sudo apt-get install mysql-server
</li>
<li>mysql_secure_installation<br><br></li></ul>
<p> mysql -u root -pyourpassword</p>
<p>

CREATE DATABASE crawler;

</p>
<p>mysqldump -u root -p crawler &lt; raspi_.sql </p>
<p>OR</p>
<p>mysql -u root -p crawler &lt; raspi_.sql</p>
<p>MYSQL BACKUP (bash )</p>
<p>mysqldump -u root -pyourpassword crawler &gt; tut_backup.sql</p>
<p>mkdir $(date +%Y_%m_%d-%H%M%S)</p>
<p>// ornek klasor açmak için  <code>mkdir /home/john/$(date +%M)&nbsp;</code></p>
<p><code>&lt;b&gt;Raspian and Diet PI my.cnf file&nbsp;&lt;/b&gt;</code></p>
<p><code>

nano /etc/mysql/mariadb.conf.d/50-server.cnf

&lt;br&gt;</code></p>
<p><code>&lt;a href=&quot;https://dba.stackexchange.com/questions/83125/mysql-any-way-to-import-a-huge-32-gb-sql-dump-faster&quot;&gt;https://dba.stackexchange.com/questions/83125/mysql-any-way-to-import-a-huge-32-gb-sql-dump-faster&lt;/a&gt;
&lt;br&gt;</code></p>
<h2><code>&lt;b&gt;mysql dump&nbsp;&lt;/b&gt;</code></h2>
<p>This error has nothing to do with the php.ini, its clearly an error message from the DBMS.<br></p>
<p>You can increase the value of the max_allowed_packet in the my.cnf file:</p>
<pre><code>[mysqld]
max_allowed_packet = 128M</code></pre>
<p>After restarting your mysqld it should work (for larger data increase the value more)</p>
<p>If you try to “import with putty”, i guess your are using mysql from command line, in this case you can start mysql with the –max_allowed_packet parameter e.g:</p>
<pre><code>mysql --max_allowed_packet=256M -u root -p sampledb &lt; dump.sql</code></pre>
<p>Alternatively if you source the file from within a running mysql session you can set the parameter by:</p>
<pre><code>set global max_allowed_packet=256M;</code></pre>
<p>last example only is effective till next restart of mysqld, for a permanent solution stick to my first example.</p>
<p><br></p>
<p><br></p>
<p><br></p>
<p><br></p>
<h2><b>

Reset your root MySQL password &#8211; Linux</b></h2>
<p>Difficulty: 1<br>Time: 30 minutes</p>
<p>If you’ve forgotten the root user’s password you created for your MySQL database, you can reset it.</p>
<p>It’s important to note that this user and its password are limited to administrator use. This is not the user or password you should use for everyday use.</p>
<h2>Turn off MySQL</h2>
<p> Warning: If you have any sites or application that rely on MySQL to function, these will stop working until you turn MySQL back on.</p>
<p>You must turn the MySQL service off to reset the root password. The command you use to turn MySQL off varies depending on your Linux distribution. Choose the command from the table below for the Linux version you are using:</p>
<p>DistributionsCommand</p>
<p>Ubuntu, Debian</p>
<p><code>sudo service mysql stop</code></p>
<p>Fedora, CentOS 6</p>
<p><code>sudo service mysqld stop</code></p>
<p>CentOS 7</p>
<p><code>sudo systemctl stop mariadb.service</code></p>
<p>Arch Linux</p>
<p><code>sudo systemctl stop mysqld.service</code></p>
<h2>Reset the root password through safe mode</h2>
<p>MySQL safe mode lets you change system settings without using the root password.</p>
<ul><li>Start up safe modesudo mysqld_safe –skip-grant-tablesYou may need to type Enter twice.<br></li></ul>
<p><br></p>
<ul><li>Log into MySQL as root:mysql -u root<br></li></ul>
<p><br></p>
<ul><li>Change to the mysql database, which handles the settings for MySQL itself:use mysql;</li></ul>
<p><br></p>
<ul><li>Update the password for the root user:update user set password=PASSWORD(“the new password you want to use”) where User=‘root’;<br></li></ul>
<p><br></p>
<ul><li>Refresh the MySQL user privileges:flush privileges;<br></li></ul>
<p><br></p>
<ul><li>Exit MySQL:exitIf this doesn’t work, you can try force the application to quit by pressing CTRL-C on your keyboard.<br></li></ul>
<p><br></p>
<h2>Stop and Start MySQL</h2>
<p>Now that the password has been reset, you need to stop and start the MySQL service.</p>
<ol><li>Stop MySQL. Use the table in the “Turn off MySQL section” to find the command.</li>
<li>Start MySQL:DistributionsCommand<br>Ubuntu, Debian<code>sudo service mysql start</code>
<br>Fedora, CentOS 6<code>sudo service mysqld start</code>
<br>CentOS 7<code>sudo systemctl start mariadb.service</code>
<br>Arch Linux<code>sudo systemctl start mysqld.service</code>
<br></li>
<li>Connect to MySQL again with your root user:mysql -u root -p</li>
<li>Enter your new password.</li></ol>
<p>That’s it! You should now be able to log into your MySQL console with the root password.</p>
<p><br></p>
<p><br></p>
<p><br></p>
<p>Olası bir sorun </p>
<p>grant all privileges on *.* to &#8216;root’@&#8217;localhost’ identified by &#8216;passprd gelecek’ with grant option;</p>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Raspberry pi sd kart da boş yer açmak</title>
		<link>https://selmantunc.com.tr/uncategorized/raspberry-pi-sd-kart-da-bos-yer-acmak/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Thu, 11 Jan 2018 23:28:44 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[pi]]></category>
		<category><![CDATA[raspberry]]></category>
		<guid isPermaLink="false">http://selmantunc.com.tr/2018/01/11/raspberry-pi-sd-kart-da-bos-yer-acmak/</guid>

					<description><![CDATA[benim eski model test yapmak için kulandığım 512 mb ram li bir raspi makinem var fakat ben bunu sadece golang de yazdığım bir site yedekleme, ping sistemi ve öğrenme amaçlı&#8230;]]></description>
										<content:encoded><![CDATA[<p>benim eski model test yapmak için kulandığım 512 mb ram li bir raspi makinem var fakat ben bunu sadece golang de yazdığım bir site yedekleme, ping sistemi ve öğrenme amaçlı kullanıyorum sadece terminal modunu kullandığım için libre ofis java ve wolfram matematik programlamlarını kullanmıyorum </p>
<p>bunları kaldırmak isterseniz </p>
<ul><li>Wolfram (658 MB) </li>
<li>libreoffice (253 MB)</li></ul>
<p> 1 gb yer tasarruf edersiniz.</p>
<p>

—————–

wolfram

 ——————-

<br></p>
<p><code>sudo apt-get purge wolfram-engine</code></p>
<p><code>

sudo apt-get clean&lt;br&gt;sudo apt-get autoremove

&lt;br&gt;</code></p>
<p><code>-----------------Libre Office -------------------</code></p>
<p><code>

sudo apt-get remove --purge libreoffice*

&lt;br&gt;</code></p>
<p><code>

sudo apt-get clean&lt;br&gt;sudo apt-get autoremove

&lt;br&gt;</code></p>
<p><code>en son df -h komutu ile disk de kapladıkları yere bakabilirsiniz.</code></p>
<p>
AYRICA güvenli firmware ve kernel güncelleme için 

<a href="https://github.com/Hexxeh/rpi-update">rpi-update</a> kullanabilirsiniz.</p>
<pre><code>sudo apt-get install rpi-update</code></pre>
<pre><br></pre>
<pre><code>rpi-update</code></pre>]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
