{"id":268,"date":"2015-06-23T09:27:39","date_gmt":"2015-06-23T06:27:39","guid":{"rendered":"https:\/\/al1eren.wordpress.com\/?p=268"},"modified":"2022-07-22T20:12:59","modified_gmt":"2022-07-22T17:12:59","slug":"kisa-kisa-ubuntu-komutlari","status":"publish","type":"post","link":"http:\/\/www.erenali.com\/index.php\/2015\/06\/23\/kisa-kisa-ubuntu-komutlari\/","title":{"rendered":"K\u0131sa K\u0131sa Ubuntu Komutlar\u0131"},"content":{"rendered":"<div class=\"021ea2d8fe724ac454857d5c5e52edc2\" data-index=\"1\" style=\"float: left; margin: 10px 10px 10px 0;\">\n<script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script>\r\n<ins class=\"adsbygoogle\"\r\n     style=\"display:block; text-align:center;\"\r\n     data-ad-layout=\"in-article\"\r\n     data-ad-format=\"fluid\"\r\n     data-ad-client=\"ca-pub-3908223554810378\"\r\n     data-ad-slot=\"5522206140\"><\/ins>\r\n<script>\r\n     (adsbygoogle = window.adsbygoogle || []).push({});\r\n<\/script>\r\n\n<\/div>\n<p>Unutkanl\u0131\u011fa kar\u015f\u0131 derman olmas\u0131 i\u00e7in k\u0131sa k\u0131sa notlar.<\/p><div class=\"021ea2d8fe724ac454857d5c5e52edc2\" data-index=\"1\" style=\"float: left; margin: 10px 10px 10px 0;\">\n<script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script>\r\n<ins class=\"adsbygoogle\"\r\n     style=\"display:block; text-align:center;\"\r\n     data-ad-layout=\"in-article\"\r\n     data-ad-format=\"fluid\"\r\n     data-ad-client=\"ca-pub-3908223554810378\"\r\n     data-ad-slot=\"5522206140\"><\/ins>\r\n<script>\r\n     (adsbygoogle = window.adsbygoogle || []).push({});\r\n<\/script>\r\n\n<\/div>\n\n<hr \/>\n<blockquote><p><strong>sudo service apache restart<\/strong><\/p><\/blockquote>\n<blockquote><p><strong>sudo \/etc\/init.d\/apache2 restart<\/strong><\/p><\/blockquote>\n<p>apache yi yeniden ba\u015flatmak i\u00e7in. stop start da kullan\u0131labilir.<\/p>\n<blockquote><p><strong>cd \/etc\/apache<\/strong><\/p><\/blockquote>\n<p>apache2.conf ayar dosyas\u0131<\/p>\n<blockquote><p><strong>cd \/etc\/apache\/sites-available<\/strong><\/p><\/blockquote>\n<p>yay\u0131nlanacak sitelerin conf dosyalar\u0131<\/p>\n<blockquote><p><strong>apachectl configtest<\/strong><\/p><\/blockquote>\n<p>apache konfigursayonunda yaz\u0131msal bir hata var m\u0131 n\u0131n testi.<\/p>\n<blockquote><p><strong>cd \/etc\/php5\/apache2<\/strong><\/p><\/blockquote>\n<p>php.ini php nin ayar dosyas\u0131<\/p>\n<blockquote><p><strong>\/var\/log\/apache2\/error.log\u00a0<\/strong><\/p><\/blockquote>\n<p>apache serverdaki hatalar\u0131 i\u00e7erir<\/p>\n<blockquote><p><strong>\/etc\/php5\/apache2\/php.ini<\/strong><\/p><\/blockquote>\n<p>php nin ayar dosyas\u0131,<\/p>\n<p>mysql import etme s\u0131n\u0131r\u0131, php nin ekleme s\u0131n\u0131r\u0131 burdad\u0131r.<\/p>\n<hr \/>\n<p>&nbsp;<\/p>\n<blockquote><p>&nbsp;<\/p>\n<p><strong>tar cvzf MyImages-14-09-12.tar.gz \/home\/MyImages<\/strong><\/p><\/blockquote>\n<p>tar.gz dosyas\u0131 olu\u015fturma<\/p>\n<blockquote><p><strong>tar -xvf public_html-14-09-12.tar -C \/home\/public_html\/videos\/<\/strong><\/p><\/blockquote>\n<p>tar.gz dosyas\u0131n\u0131 klas\u00f6re a\u00e7ma<\/p>\n<blockquote><p><strong>tar -tvf uploadprogress.tar<\/strong><\/p><\/blockquote>\n<p>tar.gz dosyas\u0131n\u0131n i\u00e7ine g\u00f6z atma<\/p>\n<hr \/>\n<p>&nbsp;<\/p>\n<blockquote><p><strong>mysqldump -u root -pxxxxxx ali &gt; \/home\/ali\/ali.sql<\/strong><\/p><\/blockquote>\n<p>ali veritaban\u0131n\u0131n\u00a0yede\u011finin ali.sql olarak ald\u0131k.<\/p>\n<blockquote><p><strong>mysql -u root -p -h localhost veritaban\u0131ad\u0131 &lt;\/var\/www\/html\/deneme.sql<\/strong><\/p><\/blockquote>\n<p>deneme.sql dosyas\u0131n\u0131 restore etme<\/p>\n<blockquote><p><strong>\/etc\/mysql\/my.conf doyas\u0131nda <\/strong><br \/>\n<strong> bind-address= \u00a0 \u00a0<\/strong><strong>al\u0131nan server\u0131n ipsini vermeliyiz.<\/strong><br \/>\n<strong>daha sonra <\/strong><strong>mysql -u root -p <\/strong><br \/>\n<strong>ile mysql e girip yetki atamas\u0131 yapmal\u0131y\u0131z.<\/strong><\/p>\n<p><strong>GRANT ALL ON *.* TO &#8216;root&#8217;@&#8217;kullan\u0131c\u0131ipsi&#8217; IDENTIFIED BY &#8216;kullan\u0131c\u0131sifresi&#8217;;<\/strong><\/p><\/blockquote>\n<p><strong>t\u00fcm<\/strong> tablolara <strong>kullan\u0131c\u0131ipsi<\/strong> nden <strong>root<\/strong> kullan\u0131c\u0131s\u0131yla <strong>kullan\u0131c\u0131sifresini<\/strong> kullanarak gelen ba\u011flant\u0131ya izin verdik.<\/p>\n<p>mysql server\u0131 d\u0131\u015far\u0131dan eri\u015fime a\u00e7mak i\u00e7in<\/p>\n<hr \/>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<blockquote><p><strong>sudo nano \/etc\/network\/interfaces ip de\u011fi\u015ftirme<\/strong><br \/>\n<strong>sudo vi \/etc\/resolv.conf dns ayar\u0131<\/strong><br \/>\n<strong>sudo service resolvconf restart<\/strong><br \/>\n<strong>sudo \/etc\/init.d\/networking restart<\/strong><\/p>\n<p><strong>sudo reboot<\/strong><\/p><\/blockquote>\n<p>ip dns ayarlar\u0131n\u0131 de\u011fi\u015ftirmek ve yeniden ba\u015flatmak<\/p>\n<blockquote><p><strong>sudo apt-get install openssh-server<\/strong><\/p><\/blockquote>\n<p>ssh ba\u011flant\u0131s\u0131nda\u00a0<strong>ssh: connect to host 79.123.169.26 port 22: Connection refused<\/strong> hatas\u0131 al\u0131nd\u0131\u011f\u0131 durumda ssh kurmak i\u00e7in<\/p>\n<p>sftp 22 port ba\u011flant\u0131s\u0131na izin verilebilmek i\u00e7in.<\/p>\n<hr \/>\n<blockquote><p><strong>sudo apt-get install sendmail<\/strong><\/p><\/blockquote>\n<p>mail yollanabilmesi i\u00e7in<\/p>\n<p>&nbsp;<\/p>\n<blockquote><p><strong>sudo apt-get install curl<\/strong><\/p>\n<p><strong>sudo php5enmod curl<\/strong><\/p>\n<p><strong>sudo apt-get install php5-imap<\/strong><\/p>\n<p><strong>sudo php5enmod imap<\/strong><br \/>\n<strong>sudo apt-get install php5-ldap<\/strong><\/p>\n<p><strong>sudo php5enmod ldap<\/strong><br \/>\n<strong>sudo service apache2 restart<\/strong><\/p><\/blockquote>\n<p>ldap , imap ve curl paket y\u00fcklemeleri<\/p>\n<hr \/>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<div class=\"021ea2d8fe724ac454857d5c5e52edc2\" data-index=\"2\" style=\"float: none; margin:10px 0 10px 0; text-align:center;\">\n<script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script>\r\n<ins class=\"adsbygoogle\"\r\n     style=\"display:block; text-align:center;\"\r\n     data-ad-layout=\"in-article\"\r\n     data-ad-format=\"fluid\"\r\n     data-ad-client=\"ca-pub-3908223554810378\"\r\n     data-ad-slot=\"5522206140\"><\/ins>\r\n<script>\r\n     (adsbygoogle = window.adsbygoogle || []).push({});\r\n<\/script>\r\n\n<\/div>\n\n<div style=\"font-size: 0px; height: 0px; line-height: 0px; margin: 0; padding: 0; clear: both;\"><\/div>","protected":false},"excerpt":{"rendered":"<p>Unutkanl\u0131\u011fa kar\u015f\u0131 derman olmas\u0131 i\u00e7in k\u0131sa k\u0131sa notlar. sudo service apache restart sudo \/etc\/init.d\/apache2 restart apache yi yeniden ba\u015flatmak i\u00e7in. stop start da kullan\u0131labilir. cd \/etc\/apache apache2.conf ayar dosyas\u0131 cd \/etc\/apache\/sites-available yay\u0131nlanacak sitelerin conf dosyalar\u0131 apachectl configtest apache konfigursayonunda yaz\u0131msal bir hata var m\u0131 n\u0131n testi. cd \/etc\/php5\/apache2 php.ini php&#8230;<\/p>\n<div class=\"more-link-wrapper\"><a class=\"more-link\" href=\"http:\/\/www.erenali.com\/index.php\/2015\/06\/23\/kisa-kisa-ubuntu-komutlari\/\">Devam\u0131n\u0131 Oku<span class=\"screen-reader-text\">K\u0131sa K\u0131sa Ubuntu Komutlar\u0131<\/span> <i class=\"fas fa-angle-right\"><\/i><\/a><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[617,4,5],"tags":[16,17,18,19,20,21,22,24,36,380,379,378,377,81,375,376,374,97,99,107,108,109,110,111,112,116,381,382],"_links":{"self":[{"href":"http:\/\/www.erenali.com\/index.php\/wp-json\/wp\/v2\/posts\/268"}],"collection":[{"href":"http:\/\/www.erenali.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.erenali.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.erenali.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.erenali.com\/index.php\/wp-json\/wp\/v2\/comments?post=268"}],"version-history":[{"count":6,"href":"http:\/\/www.erenali.com\/index.php\/wp-json\/wp\/v2\/posts\/268\/revisions"}],"predecessor-version":[{"id":678,"href":"http:\/\/www.erenali.com\/index.php\/wp-json\/wp\/v2\/posts\/268\/revisions\/678"}],"wp:attachment":[{"href":"http:\/\/www.erenali.com\/index.php\/wp-json\/wp\/v2\/media?parent=268"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.erenali.com\/index.php\/wp-json\/wp\/v2\/categories?post=268"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.erenali.com\/index.php\/wp-json\/wp\/v2\/tags?post=268"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}