diff --git a/_posts/2014-03-06-site-changes.html b/_posts/2014-03-06-site-changes.html new file mode 100644 index 0000000..fd084f6 --- /dev/null +++ b/_posts/2014-03-06-site-changes.html @@ -0,0 +1,59 @@ +--- +category: en +type: paper +layout: paper +tags: сайт, github pages +title: Site changes +short: site-changes +description: I decided to change my site. You may find short list of changes below. +--- +
arcanis.name
domain. Now I have a normal address, as well as all white people have it. Small description of how to do it. Firstly, you should rent domain and activate DNS editing (it is called DNS-master for Ru-center). I pay about $30 in year. Then you should create CNAME file in your repository; this file has line with your domain name. And finally you should create two DNS records for your domain:
+{% highlight bash %}
+@ A 192.30.252.153
+@ A 192.30.252.154
+{% endhighlight %}
+(Symbol @
means you root domain.) And next wait for two hours. You may find out the result as follows:
+{% highlight bash %}
+$ dig domain.name +nostats +nocomments +nocmd
+
+; <<>> DiG 9.9.2-P2 <<>> domain.name +nostats +nocomments +nocmd
+;; global options: +cmd
+;domain.name. IN A
+domain.name. 912 IN A 192.30.252.153
+domain.name. 912 IN A 192.30.252.154
+...
+{% endhighlight %}/etc/vsftpd.conf
configuration file:
+{% highlight bash %}
+anonymous_enable=YES
+anon_root=/mnt/ftp
+local_enable=YES
+write_enable=YES
+local_umask=022
+anon_upload_enable=YES
+anon_mkdir_write_enable=YES
+anon_other_write_enable=YES
+anon_world_readable_only=YES
+dirmessage_enable=YES
+xferlog_enable=YES
+connect_from_port_20=YES
+nopriv_user=share
+ascii_upload_enable=YES
+ftpd_banner=Welcome to arcanis
+listen=YES
+{% endhighlight %}
+There are plans to create redirection from repo.arcanis.name
to the needed IP address (if I'll understand how to do this)
+ arcanis.name
. Теперь, как и все белые люди, имею нормальный адрес. Небольшое описание (мне, как человеку далекому от интернет-технологий, пришлось немного попариться на эту тему). Арендуем домен, подключаем услугу редактирования DNS (для Ru-center DNS-master) - суммарно мне обошлось около 1100 рублей/год. Кладем в наш репозиторий с сайтом файл CNAME, содержащий имя желаемого домена. Идем и добавляем две записи в DNS для нашего домена:
+{% highlight bash %}
+@ A 192.30.252.153
+@ A 192.30.252.154
+{% endhighlight %}
+(@
значит наш корневой домен.) Ждем пару часов. Результат можно узнать примерно так:
+{% highlight bash %}
+$ dig domain.name +nostats +nocomments +nocmd
+
+; <<>> DiG 9.9.2-P2 <<>> domain.name +nostats +nocomments +nocmd
+;; global options: +cmd
+;domain.name. IN A
+domain.name. 912 IN A 192.30.252.153
+domain.name. 912 IN A 192.30.252.154
+...
+{% endhighlight %}/etc/vsftpd.conf
:
+{% highlight bash %}
+anonymous_enable=YES
+anon_root=/mnt/ftp
+local_enable=YES
+write_enable=YES
+local_umask=022
+anon_upload_enable=YES
+anon_mkdir_write_enable=YES
+anon_other_write_enable=YES
+anon_world_readable_only=YES
+dirmessage_enable=YES
+xferlog_enable=YES
+connect_from_port_20=YES
+nopriv_user=share
+ascii_upload_enable=YES
+ftpd_banner=Welcome to arcanis
+listen=YES
+{% endhighlight %}
+В ближайшее время планируется сделать перенаправление запросов с repo.arcanis.name
на нужный IP адрес (если пойму, как).
+