<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1616387905790604853</id><updated>2024-09-02T00:56:57.046+03:00</updated><category term="Linux"/><category term="PHP"/><category term="Oracle"/><category term="Java"/><category term="Apache"/><category term="Windows"/><category term="CSS"/><category term="MySql"/><category term="SSH"/><category term="Symfony"/><category term="Virtual Box"/><category term="Вирусы"/><title type='text'>Blogs Andreev S</title><subtitle type='html'>В данном блоге я размещаю вещи с которыми пришлось долго возиться, или просто которые бы хотелось всегда иметь под рукой. Не судите строго по поводу содержания, поправляйте, всегда буду рад исправить ошибки.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://andreev-s.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1616387905790604853/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://andreev-s.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>andreev sergey</name><uri>http://www.blogger.com/profile/05168000806177893767</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>18</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1616387905790604853.post-5534696092994157790</id><published>2015-06-05T09:05:00.002+03:00</published><updated>2015-06-05T09:05:12.093+03:00</updated><title type='text'>Laravel отключить csrf для rest api</title><content type='html'>Для того чтобы отключить проверку csrf для роута, можно в&lt;br /&gt;
App\Http\Middleware\VerifyCsrfToken&lt;br /&gt;
обработать наш путь.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
&lt;br /&gt;
namespace App\Http\Middleware;&lt;br /&gt;
&lt;br /&gt;
use Closure;&lt;br /&gt;
use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as BaseVerifier;&lt;br /&gt;
&lt;br /&gt;
class VerifyCsrfToken extends BaseVerifier {&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; private $skipRoute = &#39;api/*&#39;;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; /**&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;* Handle an incoming request.&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;*&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;* @param &amp;nbsp;\Illuminate\Http\Request &amp;nbsp;$request&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;* @param &amp;nbsp;\Closure &amp;nbsp;$next&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;* @return mixed&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;*/&lt;br /&gt;
&amp;nbsp; &amp;nbsp; public function handle($request, Closure $next) {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if ($request-&amp;gt;is($this-&amp;gt;skipRoute)) {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return $next($request);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return parent::handle($request, $next);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://andreev-s.blogspot.com/feeds/5534696092994157790/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://andreev-s.blogspot.com/2015/06/laravel-csrf-rest-api.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1616387905790604853/posts/default/5534696092994157790'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1616387905790604853/posts/default/5534696092994157790'/><link rel='alternate' type='text/html' href='http://andreev-s.blogspot.com/2015/06/laravel-csrf-rest-api.html' title='Laravel отключить csrf для rest api'/><author><name>andreev sergey</name><uri>http://www.blogger.com/profile/05168000806177893767</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1616387905790604853.post-7149718999392218818</id><published>2015-01-25T00:53:00.003+03:00</published><updated>2015-01-25T00:54:59.493+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><title type='text'>Tomcat в автозагрузку Debian</title><content type='html'>&lt;pre style=&quot;background-color: #eeeeee; border: 0px; color: #333333; font-family: &#39;Ubuntu Mono&#39;, &#39;Ubuntu Beta Mono A&#39;, Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 18.2000007629395px; margin-bottom: 10px; max-height: 600px; overflow: auto; padding: 5px; vertical-align: baseline; width: auto; word-wrap: normal;&quot;&gt;&lt;code style=&quot;border: 0px; color: #222222; font-family: &#39;Ubuntu Mono&#39;, &#39;Ubuntu Beta Mono A&#39;, Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;&quot;&gt;#!/bin/bash

### BEGIN INIT INFO
# Provides:        tomcat
# Required-Start:  $network
# Required-Stop:   $network
# Default-Start:   2 3 4 5
# Default-Stop:    0 1 6
# Short-Description: Start/Stop Tomcat server
### END INIT INFO

PATH=/sbin:/bin:/usr/sbin:/usr/bin

start() {
 sh /usr/share/tomcat7/bin/startup.sh
}

stop() {
 sh /usr/share/tomcat7/bin/shutdown.sh
}

case $1 in
  start|stop) $1;;
  restart) stop; start;;
  *) echo &quot;Run as $0 &amp;lt;start|stop|restart&amp;gt;&quot;; exit 1;;
esac
&lt;/code&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; border: 0px; clear: both; color: #333333; font-family: UbuntuRegular, Ubuntu, &#39;Bitstream Vera Sans&#39;, &#39;DejaVu Sans&#39;, Tahoma, sans-serif; font-size: 14px; line-height: 18.2000007629395px; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;strong style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Меняем права на выполнение и добаляем&lt;/strong&gt;&lt;/div&gt;
&lt;pre style=&quot;background-color: #eeeeee; border: 0px; color: #333333; font-family: &#39;Ubuntu Mono&#39;, &#39;Ubuntu Beta Mono A&#39;, Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 18.2000007629395px; margin-bottom: 10px; max-height: 600px; overflow: auto; padding: 5px; vertical-align: baseline; width: auto; word-wrap: normal;&quot;&gt;&lt;code style=&quot;border: 0px; color: #222222; font-family: &#39;Ubuntu Mono&#39;, &#39;Ubuntu Beta Mono A&#39;, Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;&quot;&gt;chmod 755 /etc/init.d/tomcat7
update-rc.d tomcat7 defaults&lt;/code&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: #eeeeee; border: 0px; color: #333333; font-family: &#39;Ubuntu Mono&#39;, &#39;Ubuntu Beta Mono A&#39;, Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 18.2000007629395px; margin-bottom: 10px; max-height: 600px; overflow: auto; padding: 5px; vertical-align: baseline; width: auto; word-wrap: normal;&quot;&gt;&lt;code style=&quot;border: 0px; color: #222222; font-family: &#39;Ubuntu Mono&#39;, &#39;Ubuntu Beta Mono A&#39;, Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;&quot;&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: #eeeeee; border: 0px; color: #333333; font-family: &#39;Ubuntu Mono&#39;, &#39;Ubuntu Beta Mono A&#39;, Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 18.2000007629395px; margin-bottom: 10px; max-height: 600px; overflow: auto; padding: 5px; vertical-align: baseline; width: auto; word-wrap: normal;&quot;&gt;&lt;code style=&quot;border: 0px; color: #222222; font-family: &#39;Ubuntu Mono&#39;, &#39;Ubuntu Beta Mono A&#39;, Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;&quot;&gt;Данный скрипт честно стащил с &lt;a href=&quot;http://askubuntu.com/questions/223944/how-to-automatically-restart-tomcat7-on-system-reboots&quot;&gt;отсюда.&lt;/a&gt;&lt;/code&gt;&lt;/pre&gt;
</content><link rel='replies' type='application/atom+xml' href='http://andreev-s.blogspot.com/feeds/7149718999392218818/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://andreev-s.blogspot.com/2015/01/tomcat-debian.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1616387905790604853/posts/default/7149718999392218818'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1616387905790604853/posts/default/7149718999392218818'/><link rel='alternate' type='text/html' href='http://andreev-s.blogspot.com/2015/01/tomcat-debian.html' title='Tomcat в автозагрузку Debian'/><author><name>andreev sergey</name><uri>http://www.blogger.com/profile/05168000806177893767</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1616387905790604853.post-5555798409746484764</id><published>2014-10-18T00:42:00.005+04:00</published><updated>2014-10-21T12:09:32.993+04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><title type='text'>The form bound to the class does not have a valid binding for the root component</title><content type='html'>Ошибка возникает при попытке сгенерировать в IntelliJ IDEA метод main.&lt;br /&gt;
&amp;nbsp;Чтобы поправить надо перейти в дизайнер формы и у корневого компонента (JPanel) поставить имя. После этого вновь пробуем сгенерировать метод. Решение взято &lt;a href=&quot;http://stackoverflow.com/a/8644983/1976677&quot;&gt;отсюда.&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://andreev-s.blogspot.com/feeds/5555798409746484764/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://andreev-s.blogspot.com/2014/10/the-form-bound-to-class-does-not-have.html#comment-form' title='Комментарии: 1'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1616387905790604853/posts/default/5555798409746484764'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1616387905790604853/posts/default/5555798409746484764'/><link rel='alternate' type='text/html' href='http://andreev-s.blogspot.com/2014/10/the-form-bound-to-class-does-not-have.html' title='The form bound to the class does not have a valid binding for the root component'/><author><name>andreev sergey</name><uri>http://www.blogger.com/profile/05168000806177893767</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1616387905790604853.post-1311654035256841741</id><published>2014-07-04T11:16:00.001+04:00</published><updated>2014-10-21T12:09:44.553+04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Oracle"/><title type='text'>Oracle  перенос таблиц  в другое табличное пространство</title><content type='html'>&lt;pre&gt;begin
  for tbl in (select t.table_name
                from all_tables t
               where t.owner = :usr
                 and t.tablespace_name = :oldtbs)
  loop
    dbms_output.put_line(&#39;ALTER TABLE &#39; || :usr || &#39;.&#39; || tbl.table_name ||
                         &#39; MOVE TABLESPACE &#39; || :newtbs || &#39;;&#39;);
    -- индексы
    for indx in (select i.owner || &#39;.&#39; || i.index_name as nm
                   from all_indexes i
                  where i.tablespace_name = :oldtbs
                    and i.table_owner = :usr
                    and i.table_name = tbl.table_name)
    loop
      dbms_output.put_line(&#39;ALTER INDEX &#39; || indx.nm ||
                           &#39; REBUILD TABLESPACE &#39; || :newtbs || &#39;;&#39;);
    end loop;
  end loop;
end;


&lt;/pre&gt;
где переменные означают следующее:
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;:oldtbs - старое табличное пространство&lt;/li&gt;
&lt;li&gt;:usr  - пользователь чьи таблицы вы собираетесь переносить&lt;/li&gt;
&lt;li&gt;:newtbs - новое табличное пространство&lt;/li&gt;
&lt;/ul&gt;
Данный скрипт генерирует скрипты на перенос всех таблиц и индексов указанного пользователя из &lt;b&gt;oldtbs&lt;/b&gt;  в &lt;b&gt;newtbs&lt;/b&gt; &lt;br /&gt;
P.S. никогда не создавайте пользователя в табличном пространстве SYSTEM.</content><link rel='replies' type='application/atom+xml' href='http://andreev-s.blogspot.com/feeds/1311654035256841741/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://andreev-s.blogspot.com/2014/07/oracle.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1616387905790604853/posts/default/1311654035256841741'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1616387905790604853/posts/default/1311654035256841741'/><link rel='alternate' type='text/html' href='http://andreev-s.blogspot.com/2014/07/oracle.html' title='Oracle  перенос таблиц  в другое табличное пространство'/><author><name>andreev sergey</name><uri>http://www.blogger.com/profile/05168000806177893767</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1616387905790604853.post-3979053764049271791</id><published>2014-03-12T21:58:00.001+04:00</published><updated>2014-10-21T12:09:54.113+04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="PHP"/><title type='text'>fgetcsv  проблемы с кириллицей</title><content type='html'>При чтении csv &amp;nbsp;с кириллицей возникла проблема с кодировкой, текст просто не отображался.&lt;br /&gt;
В сети нашел несколько вариантов, но завести с ходу удалось только 1&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: #f9f9f9; border: 1px dashed rgb(47, 111, 171); line-height: 1.1em; padding: 1em;&quot;&gt;function convert($str)
{
 &amp;nbsp; &amp;nbsp; return iconv(&quot;Windows-1251&quot;, &quot;UTF-8&quot;, $str);
}

public function load($filename)
{
&amp;nbsp; &amp;nbsp; if (($handle = fopen($filename, &quot;r&quot;)) !== FALSE)
&amp;nbsp; &amp;nbsp; {
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; while (($data = fgetcsv($handle, 0, &#39;;&#39;)) !== FALSE)
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;$data = array_map(array($this,&#39;convert&#39;), $data);
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $this-&amp;gt;save_row($data);
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fclose($handle);
&amp;nbsp; &amp;nbsp; } else
&amp;nbsp; &amp;nbsp; {
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $this-&amp;gt;loger-&amp;gt;add(&quot;Не удалось открыть файл&quot;);
&amp;nbsp; &amp;nbsp; }
}
&lt;/pre&gt;
</content><link rel='replies' type='application/atom+xml' href='http://andreev-s.blogspot.com/feeds/3979053764049271791/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://andreev-s.blogspot.com/2014/03/fgetcsv.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1616387905790604853/posts/default/3979053764049271791'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1616387905790604853/posts/default/3979053764049271791'/><link rel='alternate' type='text/html' href='http://andreev-s.blogspot.com/2014/03/fgetcsv.html' title='fgetcsv  проблемы с кириллицей'/><author><name>andreev sergey</name><uri>http://www.blogger.com/profile/05168000806177893767</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1616387905790604853.post-8950214579420252804</id><published>2014-02-09T11:18:00.001+04:00</published><updated>2014-10-21T12:10:18.118+04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><category scheme="http://www.blogger.com/atom/ns#" term="Oracle"/><title type='text'>Sql Developer XE </title><content type='html'>При конекте ORA-12705: Cannot access NLS data files or invalid environment specified&lt;br /&gt;
Необходимо поменять локаль в настройка девелопера.&lt;br /&gt;
Добавляем в файл %SQLDEVELOPER_DIR%/sqldeveloper/bin/sqldeveloper.conf&lt;br /&gt;
&lt;pre class=&quot;src&quot; style=&quot;background-color: #fffaed; border-color: rgb(204, 182, 126) rgb(255, 254, 250) rgb(255, 254, 250) rgb(204, 182, 126); border-style: solid; border-width: 1px; color: #222222; font-size: 13px; margin-bottom: 4px; margin-top: 4px; padding: 9px;&quot;&gt;AddVMOption -Duser.language=en
AddVMOption -Duser.region=us&lt;/pre&gt;
</content><link rel='replies' type='application/atom+xml' href='http://andreev-s.blogspot.com/feeds/8950214579420252804/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://andreev-s.blogspot.com/2014/02/sql-developer-xe.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1616387905790604853/posts/default/8950214579420252804'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1616387905790604853/posts/default/8950214579420252804'/><link rel='alternate' type='text/html' href='http://andreev-s.blogspot.com/2014/02/sql-developer-xe.html' title='Sql Developer XE '/><author><name>andreev sergey</name><uri>http://www.blogger.com/profile/05168000806177893767</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1616387905790604853.post-257618712787463575</id><published>2014-02-08T09:30:00.002+04:00</published><updated>2014-10-21T12:10:36.979+04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="PHP"/><category scheme="http://www.blogger.com/atom/ns#" term="Symfony"/><title type='text'>Symfony2 использовать DI в Command</title><content type='html'>Вызывать сервисы в консольной команде можно следующим способом&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: #f9f9f9; border: 1px dashed rgb(47, 111, 171); line-height: 1.1em; padding: 1em;&quot;&gt;&amp;nbsp;$service = $this-&amp;gt;getApplication()
                 -&amp;gt;getKernel()
                 -&amp;gt;getContainer()
                 -&amp;gt;get(&quot;my.service&quot;);

&lt;/pre&gt;
</content><link rel='replies' type='application/atom+xml' href='http://andreev-s.blogspot.com/feeds/257618712787463575/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://andreev-s.blogspot.com/2014/02/symfony2-di-command.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1616387905790604853/posts/default/257618712787463575'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1616387905790604853/posts/default/257618712787463575'/><link rel='alternate' type='text/html' href='http://andreev-s.blogspot.com/2014/02/symfony2-di-command.html' title='Symfony2 использовать DI в Command'/><author><name>andreev sergey</name><uri>http://www.blogger.com/profile/05168000806177893767</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1616387905790604853.post-688294543825762892</id><published>2013-01-15T08:22:00.002+04:00</published><updated>2013-01-15T08:31:55.170+04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Apache"/><title type='text'>Кеширование статики в Apache</title><content type='html'>Для статичных файлов сайта (css,js,изображения) рекомендуется установить срок кеширования, для ускорения веремени загрузки страницы. Статика кешируется если не ошибаюсь на клиентской машине и на прокси серверах например провайдеров. Для этого можно воспользоваться модулем headers.&lt;br /&gt;
Включаем модуль&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;code&quot;&gt;
a2enmod headers
/etc/init.d/apache2 stop
/etc/init.d/apache2 start
&lt;/pre&gt;
&lt;br /&gt;
Добавляем в файл .htaccess правило кеширования&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;code&quot;&gt;
&amp;lt;FilesMatch &quot;.(gif|jpg|jpeg|png|ico|swf|js|css|pdf)$&quot;&amp;gt;
Header set Cache-Control &quot;max-age=2592000&quot;
&amp;lt;/FilesMatch&amp;gt;
&lt;/pre&gt;
&lt;br /&gt;
max-age - время храния статики в кеше (секундах )&lt;br /&gt;
список видов файлов естественно можно поменять.&lt;br /&gt;
</content><link rel='replies' type='application/atom+xml' href='http://andreev-s.blogspot.com/feeds/688294543825762892/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://andreev-s.blogspot.com/2013/01/apache.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1616387905790604853/posts/default/688294543825762892'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1616387905790604853/posts/default/688294543825762892'/><link rel='alternate' type='text/html' href='http://andreev-s.blogspot.com/2013/01/apache.html' title='Кеширование статики в Apache'/><author><name>andreev sergey</name><uri>http://www.blogger.com/profile/05168000806177893767</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1616387905790604853.post-8983978082454360028</id><published>2012-05-24T16:31:00.000+04:00</published><updated>2017-08-03T08:06:37.093+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Oracle"/><title type='text'>Установка 11g R2 debian 6</title><content type='html'>Установка 11g R2 debian 6&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;code&quot;&gt;aptitude install gcc make binutils libmotif4 lesstif2 rpm elfutils libelf1 libelfg0 libelfg0-dev eglibc-source libaio1 libaio-dev sysstat numactl libdb4.6 gawk x11-utils libstdc++6-4.4-dev xbase-clients&lt;/pre&gt;
&lt;pre class=&quot;code&quot;&gt; ln -s /usr/bin/awk /bin/awk
    ln -s /usr/bin/rpm /bin/rpm
    ln -s /usr/bin/basename /bin/basename 
&lt;/pre&gt;
&lt;br /&gt;
&lt;pre class=&quot;code&quot;&gt;groupadd dba
useradd -g dba -s /bin/bash -d /home/oracle oracle
mkdir /home/oracle
chown oracle:dba /home/oracle
passwd oracle 
&lt;/pre&gt;
&lt;pre class=&quot;code&quot;&gt;mkdir /u00
chown -R oracle.dba /u00
su oracle
&lt;/pre&gt;
&lt;pre class=&quot;code&quot;&gt;nano ~/.profile
ORACLE_BASE=/u00/app/oracle
ORACLE_HOME=/u00/app/oracle/product/11.2.0/dbhome_1
ORACLE_SID=ipits
LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH
PATH=$PATH:$ORACLE_HOME/bin
export ORACLE_BASE ORACLE_SID ORACLE_HOME LD_LIBRARY_PATH PATH 
&lt;/pre&gt;
&lt;pre class=&quot;code&quot;&gt;source ~/.profile &lt;/pre&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #585858; font-family: monospace;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 20px;&quot;&gt;&lt;b&gt;&lt;i&gt;копируем дистрибутив в папку /home/oracle/ora11&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;pre class=&quot;code&quot;&gt;chmod u+x runInstaller
chmod u+x install/.oui
chmod u+x install/unzip 
&lt;/pre&gt;
&lt;span style=&quot;color: #002060; font-family: &amp;quot;courier new&amp;quot;; font-size: 14px;&quot;&gt;Далее запускаем &lt;/span&gt;
&lt;br /&gt;
&lt;pre class=&quot;code&quot;&gt; sh runInstaller
&lt;/pre&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #110000;&quot;&gt;&lt;span style=&quot;line-height: 21px;&quot;&gt;Установка будет с графического установщика. если на компе нет GUI &amp;nbsp;то ставьте X-server &amp;nbsp;и прокидывайте иксы на другую машину.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://andreev-s.blogspot.com/feeds/8983978082454360028/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://andreev-s.blogspot.com/2012/05/11g-r2-debian-6.html#comment-form' title='Комментарии: 1'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1616387905790604853/posts/default/8983978082454360028'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1616387905790604853/posts/default/8983978082454360028'/><link rel='alternate' type='text/html' href='http://andreev-s.blogspot.com/2012/05/11g-r2-debian-6.html' title='Установка 11g R2 debian 6'/><author><name>andreev sergey</name><uri>http://www.blogger.com/profile/05168000806177893767</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1616387905790604853.post-5050452294594787913</id><published>2012-03-31T12:22:00.001+04:00</published><updated>2012-04-07T00:19:57.749+04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="PHP"/><title type='text'>настройка phpunit на Windows</title><content type='html'>&lt;b&gt;phpunit &lt;/b&gt;устанавливается через &lt;a href=&quot;http://www.rsdn.ru/article/inet/pear.xml&quot; target=&quot;_blank&quot;&gt;&lt;b&gt;pear&lt;/b&gt;&lt;/a&gt;&lt;br /&gt;
Сначала устанавливаем его. В папке с установленным &lt;b&gt;php&lt;/b&gt; запускаем&amp;nbsp;&lt;span style=&quot;background-color: white; color: #555555; font-family: Verdana, &#39;BitStream vera Sans&#39;, Helvetica, sans-serif; font-size: 12px; line-height: 17px;&quot;&gt;&lt;b&gt;go-pear.bat.&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #555555; font-family: Verdana, &#39;BitStream vera Sans&#39;, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 12px; line-height: 17px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;h3&gt;

&lt;span style=&quot;color: #555555; font-family: Verdana, &#39;BitStream vera Sans&#39;, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 12px; line-height: 17px;&quot;&gt;&lt;b&gt;ВСЕ КОМАНДЫ ВЫПОЛНЯЕМ В ДИРЕКТОРИИ С УСТАНОВЛЕННЫМ PHP&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;div&gt;
&lt;span style=&quot;color: #555555; font-family: Verdana, &#39;BitStream vera Sans&#39;, Helvetica, sans-serif; font-size: 12px; line-height: 17px;&quot;&gt;Потом если все хорошо то обновляем его до последней версии&lt;/span&gt;
&lt;/div&gt;
&lt;span style=&quot;color: #555555; font-family: Verdana, &#39;BitStream vera Sans&#39;, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 12px; line-height: 17px;&quot;&gt;&lt;b&gt;pear upgrade PEAR&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #555555; font-family: Verdana, &#39;BitStream vera Sans&#39;, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 12px; line-height: 17px;&quot;&gt;Далее с его &amp;nbsp;помощью устанавливаем &lt;b&gt;phpunit&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #555555; font-family: Verdana, &#39;BitStream vera Sans&#39;, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 12px; line-height: 17px;&quot;&gt;&lt;b&gt;pear channel-discover pear.phpunit.de&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #555555; font-family: Verdana, &#39;BitStream vera Sans&#39;, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 12px; line-height: 17px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
&lt;span style=&quot;color: #555555; font-family: Verdana, &#39;BitStream vera Sans&#39;, Helvetica, sans-serif;&quot;&gt;pear channel-discover components.ez.no&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
&lt;span style=&quot;color: #555555; font-family: Verdana, &#39;BitStream vera Sans&#39;, Helvetica, sans-serif;&quot;&gt;pear channel-discover pear.symfony-project.com&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
&lt;span style=&quot;color: #555555; font-family: Verdana, &#39;BitStream vera Sans&#39;, Helvetica, sans-serif;&quot;&gt;pear install phpunit/PHPUnit&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;color: #555555; font-family: Verdana, &#39;BitStream vera Sans&#39;, Helvetica, sans-serif;&quot;&gt;Все готово.&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://andreev-s.blogspot.com/feeds/5050452294594787913/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://andreev-s.blogspot.com/2012/03/phpunit-windows.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1616387905790604853/posts/default/5050452294594787913'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1616387905790604853/posts/default/5050452294594787913'/><link rel='alternate' type='text/html' href='http://andreev-s.blogspot.com/2012/03/phpunit-windows.html' title='настройка phpunit на Windows'/><author><name>andreev sergey</name><uri>http://www.blogger.com/profile/05168000806177893767</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1616387905790604853.post-4417398621311465130</id><published>2012-03-24T22:37:00.000+04:00</published><updated>2013-11-30T11:21:49.441+04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CSS"/><title type='text'>Приоритет CSS</title><content type='html'>При конфликтах в применении стилей необходимо учитывать приоритет тех или иных стилей.&lt;br /&gt;
Приоритеты считаются по следующим правилам:&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;атрибут style элемента [пример: &amp;nbsp;&amp;lt;... style=&quot;font-size:2em;&quot;&amp;gt;...]&amp;nbsp;&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;(1000) &amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;идентификаторы [пример: &amp;lt;... id=&quot;myid&quot;&amp;gt;...]&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;(100)&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;селекторы атрибутов, классы, &lt;a href=&quot;http://www.w3.org/TR/CSS21/selector.html#pseudo-classes&quot;&gt;псевдоклассы&lt;/a&gt;&amp;nbsp;&lt;b&gt;
&lt;span style=&quot;font-weight: normal;&quot;&gt;&amp;nbsp;[пример: a
&lt;span style=&quot;background-color: white; font-family: Arial, sans-serif; line-height: 22px;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;::selection&lt;/span&gt;&lt;/span&gt;&amp;nbsp;{font-size:4em;} ]&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp;(10)&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;селекторы тегов и псевдоэлементы [пример: a:hover{font-size:4em;} ]&amp;nbsp;&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;(1)&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;универсальный селектор [пример: * {font-size:2em;}]&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;(0)&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://andreev-s.blogspot.com/feeds/4417398621311465130/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://andreev-s.blogspot.com/2012/03/css.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1616387905790604853/posts/default/4417398621311465130'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1616387905790604853/posts/default/4417398621311465130'/><link rel='alternate' type='text/html' href='http://andreev-s.blogspot.com/2012/03/css.html' title='Приоритет CSS'/><author><name>andreev sergey</name><uri>http://www.blogger.com/profile/05168000806177893767</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1616387905790604853.post-7726723201234758336</id><published>2012-03-21T13:11:00.001+04:00</published><updated>2014-10-21T12:11:13.686+04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="PHP"/><title type='text'>Database connection error (3):</title><content type='html'>&lt;br /&gt;
&lt;h1 style=&quot;background-color: white; color: #333333; font-family: Tahoma, Calibri, Verdana, Geneva, sans-serif; font-size: 19px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;


&lt;span class=&quot;threadtitle&quot;&gt;&lt;strong&gt;Database connection error (3): Could not connect to database&lt;/strong&gt;&lt;/span&gt;&lt;/h1&gt;
&lt;div&gt;
&lt;span class=&quot;threadtitle&quot;&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;strong&gt;Joomla&lt;/strong&gt; соединение с бд.&lt;br /&gt;
Ошибка с кодом 3 означает что пользователь и пароль норм.&amp;nbsp;Проблема с названием базы данных (либо у пользователя нет доступа к ней).&lt;br /&gt;
&amp;nbsp;Так что смотрим внимательнее именно название и права на базу данных и правим в &lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;configuration.php&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://andreev-s.blogspot.com/feeds/7726723201234758336/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://andreev-s.blogspot.com/2012/03/database-connection-error-3.html#comment-form' title='Комментарии: 15'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1616387905790604853/posts/default/7726723201234758336'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1616387905790604853/posts/default/7726723201234758336'/><link rel='alternate' type='text/html' href='http://andreev-s.blogspot.com/2012/03/database-connection-error-3.html' title='Database connection error (3):'/><author><name>andreev sergey</name><uri>http://www.blogger.com/profile/05168000806177893767</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>15</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1616387905790604853.post-8075595385556147956</id><published>2012-02-19T14:57:00.000+04:00</published><updated>2012-02-19T14:57:55.439+04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Windows"/><category scheme="http://www.blogger.com/atom/ns#" term="Вирусы"/><title type='text'>Удаление WinLoсk (блокиратор экрана)</title><content type='html'>Вирус блокирует систему и просит отправить смс за 500 рублей на следующие номера
&lt;strong&gt;79067982852&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;79060967413&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;79091562545&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;79636620308&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;79670290223&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;79636620308&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;79067978330&lt;/strong&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgiIau6Suu-G9cHuW7EjeVgBAmO1IVPydJzGRpj_foe7yBQymgFKCg3b3ULJsqLVdZWTNisZ1TNNAqE0goeKziPeQVsX6mkEziYWbMbNAZwsspfn0KgQe3m2UvvPloHmdaKT-uH9qusX14/s1600/1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgiIau6Suu-G9cHuW7EjeVgBAmO1IVPydJzGRpj_foe7yBQymgFKCg3b3ULJsqLVdZWTNisZ1TNNAqE0goeKziPeQVsX6mkEziYWbMbNAZwsspfn0KgQe3m2UvvPloHmdaKT-uH9qusX14/s1600/1.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Пробовал поискать в сети код, но они почемуто не подходят.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Все действия делал на Windows XP.&lt;/div&gt;
загружаемся в безопасном режиме с поддержкой командной строки (обычный безопастный режим тоже заблокирован). В командной строке запускаем regedit.&lt;br /&gt;
Вирус прописывается в реестре&lt;br /&gt;
&amp;nbsp;в ветках&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\Shell &lt;/span&gt;&lt;/b&gt;&amp;nbsp; (Shell)&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\Run&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;b style=&quot;color: blue;&quot;&gt;HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam&lt;/b&gt;&lt;br /&gt;
&lt;b style=&quot;color: blue;&quot;&gt;HKEY_CURRENT_USER\Software\Microsoft\Windows\&lt;/b&gt;&lt;b style=&quot;color: blue;&quot;&gt;CurrentVersion\Winlogon\Run&lt;/b&gt;&lt;br /&gt;
Смотрим в (Shell) название файла exe (у меня xxx_porno.exe) копируем путь до файла и в командной строке удаляем его&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;cd [путь]&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;erase xxx_porno.exe&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;(запускать из командной строки explorer не рекомендую). потом грохаем параметр.&lt;br /&gt;
Проверим есть ли этот файл ещё где&lt;br /&gt;
&lt;span style=&quot;background-color: #f6f6f6; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 12px; line-height: 10px; text-align: left; white-space: nowrap;&quot;&gt;dir&amp;nbsp;/b&amp;nbsp;/s&amp;nbsp;/a&amp;nbsp;&quot;c:\xxx_porno.exe&quot;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
НУ и потом бежим по реестру и удаляем все упоминания о нем если найдем.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://andreev-s.blogspot.com/feeds/8075595385556147956/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://andreev-s.blogspot.com/2012/02/winlok.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1616387905790604853/posts/default/8075595385556147956'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1616387905790604853/posts/default/8075595385556147956'/><link rel='alternate' type='text/html' href='http://andreev-s.blogspot.com/2012/02/winlok.html' title='Удаление WinLoсk (блокиратор экрана)'/><author><name>andreev sergey</name><uri>http://www.blogger.com/profile/05168000806177893767</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgiIau6Suu-G9cHuW7EjeVgBAmO1IVPydJzGRpj_foe7yBQymgFKCg3b3ULJsqLVdZWTNisZ1TNNAqE0goeKziPeQVsX6mkEziYWbMbNAZwsspfn0KgQe3m2UvvPloHmdaKT-uH9qusX14/s72-c/1.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1616387905790604853.post-4693227086210443894</id><published>2012-01-29T20:52:00.000+04:00</published><updated>2012-02-02T00:04:37.555+04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Virtual Box"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows"/><title type='text'>Настройка общих папок в Virtual Box</title><content type='html'>В любом случае надо поставить &amp;nbsp; &amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;Дополнения гостевой ОС&lt;/span&gt; и создать общую папку в программе в разделе &lt;span style=&quot;color: blue;&quot;&gt;Общие папки &lt;/span&gt;сделать её постоянной (поставить галочку), а то папка пропадет после перезагрузки.&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Далее для Windows открываем&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Проводник -&amp;gt; Сервис -&amp;gt; Подключить сетевой диск&lt;/span&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;там в пути до диска прописываем &lt;span style=&quot;color: blue;&quot;&gt;\\vboxsvr\имя_общей_папки&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Для Debian (или аналогичных систем типа Ubuntu)&lt;/div&gt;
&lt;div&gt;
Создаем папку например в /media&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue;&quot;&gt;sudo mkdir /media/newfolder&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;
даем на нее права для всех&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue;&quot;&gt;sudo chmod 777 newfolder&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
ну и собственно подключаем общую папку&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue;&quot;&gt;sudo mount -t vboxsf имя_общей_папки /media/newfolder&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andreev-s.blogspot.com/feeds/4693227086210443894/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://andreev-s.blogspot.com/2012/01/virtual-box.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1616387905790604853/posts/default/4693227086210443894'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1616387905790604853/posts/default/4693227086210443894'/><link rel='alternate' type='text/html' href='http://andreev-s.blogspot.com/2012/01/virtual-box.html' title='Настройка общих папок в Virtual Box'/><author><name>andreev sergey</name><uri>http://www.blogger.com/profile/05168000806177893767</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1616387905790604853.post-8141061374242768142</id><published>2011-12-23T09:36:00.000+04:00</published><updated>2012-02-02T00:05:02.459+04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><title type='text'>Не работает sudo</title><content type='html'>Столкнулся с такой вот проблемой&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: white; font-size: 13px; line-height: 18px;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;user@debian:-$sudo ...&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt; (какаято команда)&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: white; font-size: 13px; line-height: 18px;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;bash: sudo: команда не найдена&lt;/b&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: white; font-size: 13px; line-height: 18px;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;это говорит что сам по себе sudo  не установлен. заходим под root  и устанавливаем&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: white; font-size: 13px; line-height: 18px;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;su&lt;/b&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: white; font-size: 13px; line-height: 18px;&quot;&gt;&lt;span style=&quot;color: red; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;(вводим пароль для root)&lt;/b&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: white; font-size: 13px; line-height: 18px;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;apt-get update&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt; (обновляем список доступного ПО)&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: white; font-size: 13px; line-height: 18px;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;apt-get install sudo&lt;/b&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: white; font-size: 13px; line-height: 18px;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;
&lt;/b&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: white; font-size: 13px; line-height: 18px;&quot;&gt;&lt;pre&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;user@debian:-$sudo ...&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt; (какаято команда)&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;user is not in the sudoers file.  This incident will be reported.&lt;/b&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: white; font-size: 13px; line-height: 18px;&quot;&gt;это значит чтото вроде&lt;/pre&gt;
&lt;pre style=&quot;background-color: white; font-size: 13px; line-height: 18px;&quot;&gt;&quot;Пользователя user  нет в файле sudoers. Этот инцидент будет записан&quot;&lt;/pre&gt;
&lt;pre style=&quot;background-color: white; font-size: 13px; line-height: 18px;&quot;&gt;снова заходим под root и открываем файл на редактирования&lt;/pre&gt;
&lt;pre style=&quot;background-color: white; font-size: 13px; line-height: 18px;&quot;&gt;&lt;pre&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;nano /etc/sudoers &lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;(добавляем строку по аналогии с той что для root)&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;выходим и можем уже радоваться возможностями sudo.&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;P.S&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt; Пробовал добавить пользователя в группу sudo  (usermod -a -G sudo user) и раскоментировать строку %sudo=ALL(ALL) ALL но почемуто не проканало. Как только разберусь обязательно напишу в чем был трабл.&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;
&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://andreev-s.blogspot.com/feeds/8141061374242768142/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://andreev-s.blogspot.com/2011/12/sudo.html#comment-form' title='Комментарии: 5'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1616387905790604853/posts/default/8141061374242768142'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1616387905790604853/posts/default/8141061374242768142'/><link rel='alternate' type='text/html' href='http://andreev-s.blogspot.com/2011/12/sudo.html' title='Не работает sudo'/><author><name>andreev sergey</name><uri>http://www.blogger.com/profile/05168000806177893767</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1616387905790604853.post-2365250316234944437</id><published>2011-12-21T00:16:00.003+04:00</published><updated>2012-02-02T00:05:18.788+04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Oracle"/><title type='text'>Установка Oracle XE  на Debian</title><content type='html'>&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Для установки была выбрана Oracle xe 10(хотя и есть уже 11) и Debian 6.&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Для установки Oracle ( далее xe) &amp;nbsp;необходимо 1 Gb &amp;nbsp;&lt;a href=&quot;http://ru.wikipedia.org/wiki/%D0%A1%D0%B2%D0%BE%D0%BF%D0%B8%D0%BD%D0%B3&quot;&gt;swap&lt;/a&gt;&amp;nbsp;, не знаю как у вас но у меня столько нет. Поэтому добавим его (немного больше, чтобы наверняка):&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;pre&gt;&lt;code class=&quot;bash&quot;&gt;&lt;b&gt;&lt;span style=&quot;background-color: #cccccc; color: blue; font-family: Arial, Helvetica, sans-serif;&quot;&gt;dd &lt;span class=&quot;keyword&quot;&gt;if&lt;/span&gt;=/dev/zero of=/swpfs1 bs=&lt;span class=&quot;number&quot;&gt;1&lt;/span&gt;M count=&lt;span class=&quot;number&quot;&gt;1100&lt;/span&gt;
mkswap /swpfs1
swapon /swpfs1&lt;/span&gt;&lt;/b&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code class=&quot;bash&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Наверное вам не надо объяснять что эти команды надо выполнять с правами супер&amp;nbsp;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code class=&quot;bash&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;пользователя (&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;root&lt;/span&gt;&lt;/b&gt;).&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code class=&quot;bash&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code class=&quot;bash&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Далее нам необходимо добавить репозитарий с дистрибутивом&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code class=&quot;bash&quot;&gt;&lt;pre&gt;&lt;code class=&quot;bash&quot;&gt;&lt;b style=&quot;background-color: #cccccc;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;keyword&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;echo&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt; &lt;span class=&quot;string&quot;&gt;&quot;deb &lt;a href=&quot;http://oss/&quot;&gt;http://oss&lt;/a&gt;.&lt;span class=&quot;hilite1&quot;&gt;oracle&lt;/span&gt;.com/&lt;span class=&quot;hilite3&quot;&gt;debian&lt;/span&gt; unstable main non-free&quot;&lt;/span&gt; &amp;gt;&amp;gt; /etc/apt/sources.list&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code class=&quot;bash&quot;&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code class=&quot;bash&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;скачать &lt;a href=&quot;http://ru.wikipedia.org/wiki/PGP&quot;&gt;PGP&lt;/a&gt; ключи&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code class=&quot;bash&quot;&gt;&lt;pre&gt;&lt;code class=&quot;bash&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;background-color: #cccccc; color: blue;&quot;&gt;wget&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt; &lt;a href=&quot;http://oss/&quot;&gt;http://oss&lt;/a&gt;.&lt;span class=&quot;hilite1&quot;&gt;oracle&lt;/span&gt;.com/el4/RPM-GPG-KEY-&lt;span class=&quot;hilite1&quot;&gt;oracle&lt;/span&gt; -O- | sudo apt-key add -&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Обновляем список доступного программного обеспечения&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;pre&gt;&lt;code class=&quot;bash&quot;&gt;&lt;b&gt;&lt;span style=&quot;background-color: #cccccc; color: blue; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;keyword&quot;&gt;apt-get&lt;/span&gt; update&lt;/span&gt;&lt;/b&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code class=&quot;bash&quot;&gt;&lt;span style=&quot;background-color: white; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Устанавливаем&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code class=&quot;bash&quot;&gt;&lt;pre style=&quot;color: blue;&quot;&gt;&lt;code class=&quot;bash&quot; style=&quot;background-color: #cccccc;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;keyword&quot;&gt;aptitude&lt;/span&gt; &lt;span class=&quot;keyword&quot;&gt;install&lt;/span&gt; &lt;span class=&quot;hilite1&quot;&gt;oracle&lt;/span&gt;-&lt;span class=&quot;hilite2&quot;&gt;xe&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Специально выбрал не мультиязычную версию, а западно-европейскую. Потому что данная версия имеет однобайтовую кодировку и её можно конвертировать в &quot;русскую&quot;&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;CL8MSWIN1251. Поэтому и не была выбрана 11 версия сервера,т.к. она не имеет&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;однобайтового варианта.&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;В процессе установки скачается дистрибутив (около 250 М). Когда все установится необходимо выполнить конфигурацию сервера:&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;pre&gt;&lt;code class=&quot;bash&quot;&gt;&lt;b&gt;&lt;span style=&quot;background-color: #cccccc; color: blue; font-family: Arial, Helvetica, sans-serif;&quot;&gt;/etc/init.d/&lt;span class=&quot;hilite1&quot;&gt;oracle&lt;/span&gt;-&lt;span class=&quot;hilite2&quot;&gt;xe&lt;/span&gt; configure&lt;/span&gt;&lt;/b&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;В ней вы укажите порт для встроеного апача, порт для листенера, пароль для системных пользователей и признак автозагрузки.&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Все можете работать, но у вас наверное не запускается sqlplus.&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Для этого надо добавить в файл вашего профиля (&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: blue; font-family: Arial, Helvetica, sans-serif;&quot;&gt;/etc/profile&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;) следующий код&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span style=&quot;color: blue; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b style=&quot;background-color: #cccccc;&quot;&gt;ORACLE_HOME=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server
export ORACLE_HOME
NLS_LANG=`$ORACLE_HOME/bin/nls_lang.sh`
export NLS_LANG
SQLPATH=$ORACLE_HOME/sqlplus
export SQLPATH
PATH=$ORACLE_HOME/bin:$PATH
export PATH&lt;/b&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span style=&quot;color: blue; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b style=&quot;background-color: #cccccc;&quot;&gt;ORACLE_SID=XE
export ORACLE_SID&lt;/b&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span style=&quot;color: blue; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b style=&quot;background-color: #cccccc;&quot;&gt;
&lt;/b&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Чебы можно было работать каким либо пользователем ОС кроме пользователя oracle  , надо добавить пользователя в группу dba (существующего пользователя например так&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span style=&quot;background-color: #cccccc; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;usermod -a -G dba user &lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;(вместо user  имя вашего пользователя)&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;)&lt;/span&gt;&lt;/pre&gt;
&lt;/pre&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;/pre&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andreev-s.blogspot.com/feeds/2365250316234944437/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://andreev-s.blogspot.com/2011/12/oracle-xe-debian.html#comment-form' title='Комментарии: 1'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1616387905790604853/posts/default/2365250316234944437'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1616387905790604853/posts/default/2365250316234944437'/><link rel='alternate' type='text/html' href='http://andreev-s.blogspot.com/2011/12/oracle-xe-debian.html' title='Установка Oracle XE  на Debian'/><author><name>andreev sergey</name><uri>http://www.blogger.com/profile/05168000806177893767</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1616387905790604853.post-2857243384624675196</id><published>2011-12-20T23:29:00.001+04:00</published><updated>2012-06-19T11:23:18.099+04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Apache"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="MySql"/><category scheme="http://www.blogger.com/atom/ns#" term="PHP"/><title type='text'>Установка Apache PHP на Debian</title><content type='html'>Не буду расписывать долгую и нудную процедуру установки и настройки как для &lt;a href=&quot;http://andreev-s.blogspot.com/2011/12/apache-php-mysql-windows.html&quot;&gt;Windows&lt;/a&gt;&amp;nbsp;.&lt;br /&gt;
Для проверки данной инструкции использовался Debian 6 &amp;nbsp;с доступом интернет.&lt;br /&gt;
&lt;br /&gt;
Для установки apache &amp;nbsp;и php необходимо из под супер пользователя (для того чтобы попользоваться правами &lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;root &amp;nbsp;&lt;/span&gt;&lt;/b&gt;можно не указывать перед каждой командой &lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;sudo&lt;/b&gt;&lt;/span&gt;, а в начале сеанса лишь выполнить команду &lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;su&lt;/b&gt;&lt;/span&gt; &amp;nbsp;и ввести по требованию пароль супер пользователя) необходимо выполнить следующую команду:&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;background-color: #eeeeee; color: blue;&quot;&gt;apt-get install apache2 php5 libapache2-mod-php5&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
после установки перезапустить apache&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;/etc/init.d/apache2 restart&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
для установки MySql &amp;nbsp;выполнить следующую команду:&lt;br /&gt;
&lt;pre class=&quot;geshifilter-text&quot; style=&quot;line-height: 1.3; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left;&quot;&gt;&lt;span style=&quot;font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;background-color: #eeeeee; color: blue;&quot;&gt;apt-get install mysql-server mysql-client php5-mysql&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&amp;nbsp;в процессе установки попросит ввести для главного пользователя базы данных root , не путайте с главным пользователем операционной системы.&lt;br /&gt;
&lt;pre class=&quot;geshifilter-text&quot; style=&quot;background-color: #f8f8f8; line-height: 1.3; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left;&quot;&gt;Для установки программы для управления базой введите &lt;/pre&gt;
&lt;pre class=&quot;geshifilter-text&quot; style=&quot;line-height: 1.3; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left;&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;pre class=&quot;geshifilter-text&quot; style=&quot;font-weight: normal; line-height: 1.3; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span style=&quot;font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;background-color: #eeeeee; color: blue;&quot;&gt;apt-get install phpmyadmin&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;geshifilter-text&quot; style=&quot;background-color: #f8f8f8; line-height: 1.3; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px;&quot;&gt;Теперь заходите по адресу &lt;a href=&quot;http://127.0.0.1/phpmyadmin&quot;&gt;http://127.0.0.1/phpmyadmin&lt;/a&gt; и наслаждайтесь.&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;geshifilter-text&quot; style=&quot;background-color: #f8f8f8; line-height: 1.3; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px;&quot;&gt;Как показала практика, для установки этого комплекта программ на Linux  потребовалось на порядок меньше времени.&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;geshifilter-text&quot; style=&quot;line-height: 1.3; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left;&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;geshifilter-text&quot; style=&quot;line-height: 1.3; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left;&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
P.S.&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;geshifilter-text&quot; style=&quot;line-height: 1.3; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left;&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px;&quot;&gt; Если у вас не установится попробуйте добавить стандартные репозитарии пакетов&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;geshifilter-text&quot; style=&quot;line-height: 1.3; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left;&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;geshifilter-text&quot; style=&quot;line-height: 1.3; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; margin: 0px; padding: 0px;&quot;&gt;&lt;b&gt;echo &quot;deb ftp://ftp.ua.debian.org/debian/ testing main&quot; &amp;gt;&amp;gt; /etc/apt/sources.list&lt;/b&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;geshifilter-text&quot; style=&quot;line-height: 1.3; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; margin: 0px; padding: 0px;&quot;&gt;&lt;b&gt;
echo &quot;deb-src ftp://ftp.ua.debian.org/debian/ testing main&quot; &amp;gt;&amp;gt; /etc/apt/sources.list&lt;/b&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;geshifilter-text&quot; style=&quot;line-height: 1.3; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; margin: 0px; padding: 0px;&quot;&gt;&lt;b&gt;
&lt;/b&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;geshifilter-text&quot; style=&quot;line-height: 1.3; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left;&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;
echo &quot;deb http://security.debian.org/ testing/updates main&quot; &amp;gt;&amp;gt; /etc/apt/sources.list&lt;/b&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: #f8f8f8; color: #222222; font-weight: bold;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://andreev-s.blogspot.com/feeds/2857243384624675196/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://andreev-s.blogspot.com/2011/12/apache-php-debian.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1616387905790604853/posts/default/2857243384624675196'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1616387905790604853/posts/default/2857243384624675196'/><link rel='alternate' type='text/html' href='http://andreev-s.blogspot.com/2011/12/apache-php-debian.html' title='Установка Apache PHP на Debian'/><author><name>andreev sergey</name><uri>http://www.blogger.com/profile/05168000806177893767</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1616387905790604853.post-1127619996120956976</id><published>2011-12-20T19:57:00.002+04:00</published><updated>2014-01-06T15:10:46.203+04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="SSH"/><title type='text'>Установка SSH на Debian</title><content type='html'>&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #1f2c33; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;i&gt;Думаю те кто читает данную статью, хотя бы подозревают что такое &lt;a href=&quot;http://ru.wikipedia.org/wiki/SSH&quot; target=&quot;_blank&quot;&gt;SSH&lt;/a&gt;.&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #1f2c33; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;i&gt;&lt;br /&gt;
&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #1f2c33; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;i&gt;Данная статья была проверена на Debian 6 (есть большие подозрения, что она актуальна для большинства версий Linux, по крайней мере для семейств убунт точно).&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #1f2c33; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: large;&quot;&gt;&lt;i&gt;Установка&amp;nbsp;&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #1f2c33; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;i&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp;&lt;/span&gt;выполните команду&amp;nbsp;&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;i&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;background-color: #999999; color: #1f2c33; text-align: left;&quot;&gt;&lt;b&gt;sudo apt-get install openssh-server&lt;/b&gt;&lt;/span&gt; &lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #1f2c33; font-family: Georgia, &#39;Times New Roman&#39;, serif; text-align: left;&quot;&gt;&lt;i&gt;После того как закончится установка, можно проверить её правильность.&amp;nbsp;&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;
&lt;i&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;color: #1f2c33; text-align: left;&quot;&gt;&lt;span style=&quot;background-color: #999999;&quot;&gt;&lt;b&gt;ssh localhost&lt;/b&gt;&lt;/span&gt;&lt;/span&gt; &lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #1f2c33; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;i&gt;Тут вас спросят подтверждение и попросят ввести пароль.&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #1f2c33; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;i&gt;После того как вы проделаете эти манипуляции закрываем shh-сессию и идем настраивать сервер.&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #1f2c33; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;i&gt;&lt;br /&gt;
&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #1f2c33; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: large;&quot;&gt;&lt;i&gt;Настройка&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #1f2c33; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;i&gt;&lt;br /&gt;
&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #1f2c33; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;i&gt;Настройки сервера лежат в файле&amp;nbsp;&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;i&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;background-color: #999999; color: #1f2c33; line-height: 17px; text-align: justify;&quot;&gt;&lt;b&gt;/etc/ssh/sshd_config&lt;/b&gt;&lt;/span&gt; &lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #1f2c33; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;line-height: 17px;&quot;&gt;&lt;i&gt;Для настройки просто открываем его любым редактором с правами супер пользователя.&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;i&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;b style=&quot;background-color: #999999; color: #1f2c33; text-align: left;&quot;&gt;sudo nano /etc/ssh/sshd_config&lt;/b&gt; &lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #1f2c33;&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;i&gt;По идее вы можете тут ничего не менять, но это &lt;b&gt;плохон тон, очень плохой.&lt;/b&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #1f2c33;&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;i&gt;Желательно поменять следующие параметры&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;i&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;b style=&quot;background-color: white; color: #1f2c33; line-height: 17px; text-align: justify;&quot;&gt;Port 22&lt;/b&gt;&lt;span style=&quot;background-color: white; color: #1f2c33; line-height: 17px; text-align: justify;&quot;&gt;&amp;nbsp;- стандартный порт, желательно изменить.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;b style=&quot;background-color: white; color: #1f2c33; line-height: 17px; text-align: justify;&quot;&gt;PermitRootLogin no&lt;/b&gt;&lt;span style=&quot;background-color: white; color: #1f2c33; line-height: 17px; text-align: justify;&quot;&gt;&amp;nbsp;- разрешение подключаться пользователем &lt;/span&gt;&lt;b style=&quot;background-color: white; color: #1f2c33; line-height: 17px; text-align: justify;&quot;&gt;root (yes/no)&lt;/b&gt;&lt;span style=&quot;background-color: white; color: #1f2c33; line-height: 17px; text-align: justify;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;b style=&quot;background-color: white; color: #1f2c33; line-height: 17px; text-align: justify;&quot;&gt;PermitEmptyPasswords no&lt;/b&gt;&lt;span style=&quot;background-color: white; color: #1f2c33; line-height: 17px; text-align: justify;&quot;&gt;&amp;nbsp;- использовать подключение без пароля&lt;/span&gt; &lt;b style=&quot;background-color: white; color: #1f2c33; line-height: 17px; text-align: justify;&quot;&gt;(yes/no)&lt;/b&gt;&lt;span style=&quot;background-color: white; color: #1f2c33; line-height: 17px; text-align: justify;&quot;&gt;&amp;nbsp;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;b style=&quot;background-color: white; color: #1f2c33; line-height: 17px; text-align: justify;&quot;&gt;AllowUsers artzor neket&lt;/b&gt;&lt;span style=&quot;background-color: white; color: #1f2c33; line-height: 17px; text-align: justify;&quot;&gt;&amp;nbsp;- список пользователей (через пробел) которым разрешается подключаться.&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #1f2c33;&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;i&gt;&lt;br /&gt;
&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #1f2c33;&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;i&gt;Подробное описание конфигурирования можно посмотреть на &lt;a href=&quot;http://www.openbsd.org/cgi-bin/man.cgi?query=sshd_config&amp;amp;sektion=5&quot; target=&quot;_blank&quot;&gt;сайте разработчиков&lt;/a&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;i&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;i&gt;После изменения настроек сервера, его необходимо перезапустить&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;
&lt;i style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;b style=&quot;background-color: #999999; color: #1f2c33; text-align: left;&quot;&gt;sudo /etc/init.d/ssh restart&lt;/b&gt;&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;i style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;b style=&quot;background-color: #999999; color: #1f2c33; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #1f2c33; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;i&gt;Ну и можете конектиться к нему...&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #1f2c33; font-family: Georgia;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;i&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://andreev-s.blogspot.com/feeds/1127619996120956976/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://andreev-s.blogspot.com/2011/12/ssh-debian.html#comment-form' title='Комментарии: 6'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1616387905790604853/posts/default/1127619996120956976'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1616387905790604853/posts/default/1127619996120956976'/><link rel='alternate' type='text/html' href='http://andreev-s.blogspot.com/2011/12/ssh-debian.html' title='Установка SSH на Debian'/><author><name>andreev sergey</name><uri>http://www.blogger.com/profile/05168000806177893767</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>6</thr:total></entry></feed>