{"id":3404,"date":"2016-04-16T17:18:25","date_gmt":"2016-04-16T08:18:25","guid":{"rendered":"http:\/\/www.sougetu.net\/?p=3404"},"modified":"2016-04-16T17:18:25","modified_gmt":"2016-04-16T08:18:25","slug":"%e3%81%95%e3%81%8f%e3%82%89vps%e3%81%aecentos7%e4%b8%8a%e3%81%absublimetext3%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%9f%e9%96%8b%e7%99%ba%e7%92%b0%e5%a2%83%e3%82%92%e5%bb%ba%e3%81%a6%e3%82%8b%ef%bc%92","status":"publish","type":"post","link":"https:\/\/www.sougetu.net\/?p=3404","title":{"rendered":"\u3055\u304f\u3089VPS\u306eCentOS7\u4e0a\u306bSublimetext3\u3092\u4f7f\u3063\u305f\u958b\u767a\u74b0\u5883\u3092\u5efa\u3066\u308b\uff12"},"content":{"rendered":"<p>\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u74b0\u5883\uff1aX-window\u3068xfce<br \/>\n\u30ea\u30e2\u30fc\u30c8\u306e\u30b5\u30fc\u30d0\uff1atigerVNC\u30b5\u30fc\u30d0<br \/>\n\u74b0\u5883\uff1a\u30b5\u30fc\u30d0\uff1a\u3055\u304f\u3089VPS 4G\u30d7\u30e9\u30f3\u3000CentOS7 minimal\u3000\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\uff1aWindows10<br \/>\n\u25a0xfce\u3092\u5165\u308c\u308b<br \/>\n\uff10\uff0eremi\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u5165\u308c\u308b\uff08\u524d\u63d0\u306eepel\u3092\u5165\u308c\u308b\u306e\u3092\u5fd8\u308c\u306a\u3044\u3088\u3046\u306b\uff09<br \/>\n\uff11\uff0eepel,remi\u30ea\u30dd\u30b8\u30c8\u30ea\u306eenabled=0\u306b\u3057\u3066\u304a\u304f<br \/>\n\uff12\uff0e\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u95a2\u9023\u306egroupinstall<br \/>\nyum groupinstall &#8211;enablerepo=epel &#8220;X Window System&#8221; XFCE Desktop Fonts<br \/>\n\uff13\uff0exfce4-terminal\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\uff1f\u5fc5\u8981\u3058\u3083\u7121\u3044\u304b\u3082<br \/>\nyum install &#8211;enablerepo=epel xfce4-terminal xfce-utils<br \/>\n\uff14\uff0eicon\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<br \/>\nyum install gnome-icon*<\/p>\n<p>\u25a0tigervnc<br \/>\n\uff10\uff0etigervnc\u3092\u5165\u308c\u308b<br \/>\nyum install tigervnc*<br \/>\ncp \/usr\/lib\/systemd\/system\/vncserver@.service \/etc\/systemd\/system\/vncserver@:2.service<br \/>\n\uff11\uff0evim \/etc\/systemd\/system\/vncserver\\@\\:2.service\u3000\u3092\u884c\u3046<br \/>\n&lt;USER&gt;\u3068\u306a\u3063\u3066\u3044\u308b\u90e8\u5206\u3092\u5229\u7528\u3059\u308b\u30e6\u30fc\u30b6\u306b\u5909\u66f4\u3059\u308b<\/p>\n<p>\uff12\uff0e\u81ea\u52d5\u5b9f\u884c\u3059\u308b\u3088\u3046\u306b\u5909\u66f4\u3059\u308b<br \/>\nsystemctl daemon-reload<br \/>\nsystemctl enable vncserver@:2<br \/>\nsystemctl restart vncserver@:2<\/p>\n<p>\uff13\uff0e\u30d5\u30a1\u30a4\u30a2\u30fc\u30a6\u30a9\u30fc\u30eb\u306e\u8a2d\u5b9a<br \/>\nfirewall-cmd &#8211;permanent &#8211;zone=public &#8211;add-port=5902\/tcp<br \/>\nfirewall-cmd &#8211;reload<\/p>\n<p>\u25a0\u65e5\u672c\u8a9e\u7528TTF\u30d5\u30a9\u30f3\u30c8\uff08Ricty\uff09\u3092\u5165\u308c\u308b<br \/>\n\uff10\uff0egit\u3092\u5165\u308c\u308b<br \/>\nyum install git<br \/>\n\uff11\uff0eFontForge \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<br \/>\nyum install fontforge<br \/>\n\uff12\uff0eInconsolata\uff08Font\uff09 \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<br \/>\ngit clone https:\/\/github.com\/google\/fonts.git<br \/>\n\uff13\uff0eInconsolata\u30d5\u30a9\u30f3\u30c8\u3092\u30b7\u30b9\u30c6\u30e0\u306b\u30b3\u30d4\u30fc<br \/>\ncd fonts\/ofl<br \/>\ncp -r inconsolata \/usr\/share\/fonts\/inconsolata<br \/>\n\uff14\uff0eMigu 1M \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<br \/>\nwget https:\/\/osdn.jp\/projects\/mix-mplus-ipa\/downloads\/63545\/migu-1m-20150712.zip<br \/>\nunzip migu-1m-20150712.zip<br \/>\ncd migu-1m-20150712<br \/>\nmkdir \/usr\/share\/fonts\/migu-1m<br \/>\ncp migu-1m-*.ttf \/usr\/share\/fonts\/migu-1m<br \/>\n\uff15\uff0e\u30d5\u30a9\u30f3\u30c8\u30ad\u30e3\u30c3\u30b7\u30e5\u3092\u66f4\u65b0<br \/>\nfc-cache -f -v<br \/>\n\uff16\uff0eRicty\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u5165\u624b<br \/>\ngit clone https:\/\/github.com\/yascentur\/Ricty.git<br \/>\n\uff17\uff0eRicty\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u5b9f\u884c\u3068\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<br \/>\ncd Ricty<br \/>\nsh ricty_generator.sh auto<br \/>\nmkdir \/usr\/share\/fonts\/Ricty<br \/>\ncp Ricty*.ttf \/usr\/share\/fonts\/Ricty<br \/>\n\uff18\uff0e\u30d5\u30a9\u30f3\u30c8\u30ad\u30e3\u30c3\u30b7\u30e5\u3092\u66f4\u65b0<br \/>\nfc-cache -f -v<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u74b0\u5883\uff1aX-window\u3068xfce \u30ea\u30e2\u30fc\u30c8\u306e\u30b5\u30fc\u30d0\uff1atigerVNC\u30b5\u30fc\u30d0 \u74b0\u5883\uff1a\u30b5\u30fc\u30d0\uff1a\u3055\u304f\u3089VPS 4G\u30d7\u30e9\u30f3\u3000CentOS7 minimal\u3000\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\uff1aWindows10 \u25a0xfce\u3092\u5165\u308c\u308b \uff10\uff0er \u2026 <a class=\"continue-reading-link\" href=\"https:\/\/www.sougetu.net\/?p=3404\"> Continue reading <span class=\"meta-nav\">&rarr; <\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[18,20,8],"tags":[],"class_list":["post-3404","post","type-post","status-publish","format-standard","hentry","category-centos","category-sublimetext2-3","category-tech-computer-program"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.sougetu.net\/index.php?rest_route=\/wp\/v2\/posts\/3404","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sougetu.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sougetu.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sougetu.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sougetu.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3404"}],"version-history":[{"count":0,"href":"https:\/\/www.sougetu.net\/index.php?rest_route=\/wp\/v2\/posts\/3404\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.sougetu.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3404"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sougetu.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3404"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sougetu.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3404"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}