{"id":6,"date":"2011-11-17T17:01:42","date_gmt":"2011-11-17T17:01:42","guid":{"rendered":"http:\/\/cstrike.dn.ua\/?p=6"},"modified":"2025-06-15T20:02:53","modified_gmt":"2025-06-15T17:02:53","slug":"%d1%83%d1%81%d1%82%d0%b0%d0%bd%d0%be%d0%b2%d0%ba%d0%b0-%d1%81%d0%b5%d1%80%d0%b2%d0%b5%d1%80-counter-strike-%d0%bd%d0%b0-linux-centos","status":"publish","type":"post","link":"https:\/\/mydt.org\/?p=6","title":{"rendered":"\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 Counter-Strike 1.6 \u043d\u0430 Linux, Centos"},"content":{"rendered":"<p style=\"text-align: center;\"><a href=\"http:\/\/mydt.org\/?attachment_id=403\" rel=\"attachment wp-att-403\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-403\" title=\"tux-army\" src=\"http:\/\/mydt.org\/wp-content\/uploads\/2011\/11\/tux-army.jpg\" alt=\"\" width=\"200\" height=\"200\" srcset=\"https:\/\/mydt.org\/wp-content\/uploads\/2011\/11\/tux-army.jpg 200w, https:\/\/mydt.org\/wp-content\/uploads\/2011\/11\/tux-army-150x150.jpg 150w, https:\/\/mydt.org\/wp-content\/uploads\/2011\/11\/tux-army-74x74.jpg 74w, https:\/\/mydt.org\/wp-content\/uploads\/2011\/11\/tux-army-140x140.jpg 140w\" sizes=\"auto, (max-width: 200px) 100vw, 200px\" \/><\/a><\/p>\n<p style=\"text-align: center;\">\u0421\u0442\u0430\u0442\u044c\u044f \u043f\u043e\u0441\u0432\u044f\u0449\u0435\u043d\u043d\u0430\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0443 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 <strong>CS 1.6 <\/strong>\u043f\u043e\u0434 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435\u043c \u0441\u0438\u0441\u0442\u0435\u043c\u044b <strong>Centos<\/strong>. \u0414\u0430\u043d\u043d\u0430\u044f \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u0430 \u043d\u0438 \u0447\u0435\u043c \u043d\u0435 \u043e\u0442\u043b\u0438\u0447\u0430\u0435\u0442\u0441\u044f \u043d\u0430 \u0434\u0440\u0443\u0433\u0438\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445 <strong>linux<\/strong><br \/>\n\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0441 \u043d\u0443\u043b\u044f.<\/p>\n<p><!--more--><br \/>\n<strong>\u041d\u0435 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0439\u0442\u0435 \u0441\u0435\u0440\u0432\u0435\u0440 \u043e\u0442 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f<em><span style=\"color: #800000;\"> root<\/span>, <\/em>\u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u043d\u043e\u0432\u043e\u0433\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f <span style=\"color: #800000;\"><em>hlds<\/em><\/span><\/strong><br \/>\n<span style=\"color: #800000;\"><code>adduser hlds<\/code><\/span><br \/>\n<strong>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c \u0434\u043b\u044f \u043d\u0435\u0433\u043e \u043f\u0430\u0440\u043e\u043b\u044c<\/strong><br \/>\n<span style=\"color: #800000;\"><code><span style=\"color: #800000;\">passwd hlds<\/span><\/code><\/span><br \/>\n<strong>\u0416\u043c\u0438\u0442\u0435 Enter, \u0438 \u0432\u0432\u043e\u0434\u0438\u0442\u0435 \u043f\u0430\u0440\u043e\u043b\u044c.<\/strong><br \/>\n<strong>\u041e\u0442\u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u0443\u0439\u0442\u0435 \u0434\u043e\u043c\u0430\u0448\u043d\u044e\u044e \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f <span style=\"color: #800000;\"><em>hlds<\/em><\/span><\/strong><br \/>\n<code><span style=\"color: #800000;\">vi \/etc\/passwd<\/span><\/code><br \/>\n<strong>\u0412 \u0441\u0430\u043c\u043e\u043c \u043d\u0438\u0437\u0443 \u0444\u0430\u0439\u043b\u0430 \u0443\u0432\u0438\u0434\u0438\u0442\u0435 \u043d\u0430\u0448\u0435\u0433\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f. \u0418\u0437\u043c\u0435\u043d\u0438\u0442\u0435 \u0435\u0433\u043e \u0434\u043e\u043c\u0430\u0448\u043d\u044e\u044e \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044e <span style=\"color: #800000;\"><em>\/home\/hlds<\/em><\/span> \u043d\u0430 \u043d\u0443\u0436\u043d\u0443\u044e \u0432\u0430\u043c\u0438<\/strong><br \/>\n<strong>\u0412 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435, \u044d\u0442\u0430 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044f \u0431\u0443\u0434\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0432\u043e \u0432\u0441\u0435\u0445 \u0441\u0442\u0430\u0442\u044c\u044f\u0445, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u044e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0435\u0435:<\/strong><br \/>\n<code><span style=\"color: #800000;\">hlds:x:5001:5001::\/home\/cs\/hlds:\/bin\/bash<\/span><\/code> &#8212; <em><span style=\"color: #ff0000;\">\u0438\u0437\u043c\u0435\u043d\u0438\u0442\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u0443\u0442\u044c \u043a \u043f\u0430\u043f\u043a\u0435, \u0434\u0440\u0443\u0433\u0438\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043d\u0435 \u0442\u0440\u043e\u0433\u0430\u0439\u0442\u0435.<\/span><\/em><\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0443\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u043d\u0435\u0441\u0442\u0438 \u043f\u0430\u043f\u043a\u0443 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0438\u0437 <strong>\/home<\/strong> \u0432 <strong>\/home\/cs<\/strong><\/p>\n<p>\u0421\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0434\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u043f\u0430\u043f\u043a\u0443 <strong>cs<\/strong><\/p>\n<p><code><span style=\"color: #800000;\">mkdir \/home\/cs <\/span><\/code><\/p>\n<p><strong>\u0422\u0435\u043f\u0435\u0440\u044c \u043f\u0435\u0440\u0435\u043d\u043e\u0441\u0438\u043c<\/strong><\/p>\n<p><code><span style=\"color: #800000;\">mv \/home\/hlds \/home\/cs\/hlds<\/span><\/code><\/p>\n<p><code> <\/code><strong><span style=\"color: #ff0000;\">\u0422\u0435\u043f\u0435\u0440\u044c \u0432\u0445\u043e\u0434\u0438\u043c \u043f\u043e\u0434 \u043d\u0430\u0448\u0438\u043c \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u043c<\/span><\/strong> <span style=\"color: #800000;\"><em><strong>hlds<\/strong><\/em><\/span><\/p>\n<p><strong>\u041f\u0440\u0438\u0441\u0442\u0443\u043f\u0430\u0435\u043c \u043a \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438.<\/strong><\/p>\n<p>\u0421\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u043f\u0430\u043f\u043a\u0443 \u0434\u043b\u044f Steam \u043a\u043b\u0438\u0435\u043d\u0442\u0430, \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u0432 \u043d\u0435\u0435 \u0438 \u043a\u0430\u0447\u0430\u0435\u043c \u043a\u043b\u0438\u0435\u043d\u0442:<\/p>\n<blockquote><p><em>mkdir \/home\/cs\/hlds\/steam_inst<\/em><\/p><\/blockquote>\n<blockquote><p><em>cd steam_inst<\/em><\/p><\/blockquote>\n<blockquote><p><em>wget https:\/\/steamcdn-a.akamaihd.net\/client\/installer\/steamcmd_linux.tar.gz<\/em><\/p><\/blockquote>\n<p><strong>\u0420\u0430\u0441\u043f\u0430\u043a\u043e\u0432\u044b\u0432\u0430\u0435\u043c \u0430\u0440\u0445\u0438\u0432<\/strong><\/p>\n<blockquote><p><em>tar zxf steamcmd_linux.tar.gz<\/em><\/p><\/blockquote>\n<p>\u0412 \u043a\u043e\u0440\u043d\u0435\u0432\u043e\u043c \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0435 \u043f\u043e\u044f\u0432\u0438\u0442\u0441\u044f \u0444\u0430\u0439\u043b\u00a0<strong>steamcmd.sh<\/strong>, \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u043c\u044b \u043d\u0430\u0447\u043d\u0435\u043c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443 \u0441\u0435\u0440\u0432\u0435\u0440\u0430.<\/p>\n<p>\u041f\u0435\u0440\u0435\u0434 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u0448\u0430\u0433\u043e\u043c \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0438\u043c\u0435\u0442\u044c\u00a0<strong>\u0430\u043a\u043a\u0430\u0443\u043d\u0442<\/strong>\u00a0\u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435\u00a0<strong>Steam<\/strong><br \/>\n<strong>\u0414\u0430\u0435\u043c \u043f\u0440\u0430\u0432\u0430 \u043d\u0430 \u0437\u0430\u043f\u0443\u0441\u043a<\/strong><\/p>\n<blockquote><p><em>chmod +x steamcmd.sh<\/em><\/p><\/blockquote>\n<p><strong>\u0418 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u0435\u0433\u043e<\/strong><\/p>\n<blockquote><p><em>.\/steamcmd.sh<\/em><\/p><\/blockquote>\n<p><strong>\u041f\u043e\u0441\u043b\u0435 \u043f\u043e\u044f\u0432\u0438\u0442\u0441\u044f \u0441\u0442\u0440\u043e\u043a\u0430<\/strong><\/p>\n<blockquote><p><em>Steam&gt;<\/em><\/p><\/blockquote>\n<p>\u041c\u044b \u0432 \u043a\u043b\u0438\u0435\u043d\u0442\u0435, \u0435\u0441\u043b\u0438 \u0441\u0442\u0440\u043e\u0447\u043a\u0430 \u043f\u0443\u0441\u0442\u0430\u044f \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u0430\u0436\u043c\u0438\u0442\u0435\u00a0<strong>Enter<\/strong><\/p>\n<p><strong>\u0412\u0432\u043e\u0434\u0438\u043c \u0441\u0432\u043e\u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u0430\u043a\u043a\u0430\u0443\u043d\u0442\u0430 Steam:<\/strong><\/p>\n<blockquote><p>login steam_login steam_password<\/p><\/blockquote>\n<p>\u041f\u043e\u0442\u043e\u043c \u0437\u0430\u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u043a\u043e\u0434 \u0437\u0430\u0449\u0438\u0442\u044b, \u043e\u043d \u0431\u044b\u043b \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u0435\u043d \u0412\u0430\u043c \u043d\u0430 \u043f\u043e\u0447\u0442\u0443, \u0432\u0432\u043e\u0434\u0438\u043c \u0435\u0433\u043e. \u0412\u0438\u0434\u0438\u043c \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435:<\/p>\n<blockquote><p>Logged in OK<br \/>\nWaiting for user info\u2026OK<\/p><\/blockquote>\n<p>\u0412\u0441\u0435 \u043c\u044b \u0432\u043e\u0448\u043b\u0438, \u0442\u0435\u043f\u0435\u0440\u044c \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u043a \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0441\u0435\u0440\u0432\u0435\u0440\u0430\u00a0<strong>Counter Strike 1.6<\/strong><br \/>\n<strong>\u0423\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u043f\u0443\u0442\u044c \u043a\u0443\u0434\u0430 \u0431\u0443\u0434\u0435\u0442 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d \u0441\u0435\u0440\u0432\u0435\u0440 Counter Strike 1.6<\/strong><\/p>\n<blockquote><p><em>force_install_dir \/home\/cs\/hlds<\/em><\/p><\/blockquote>\n<p><strong>\u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u0438 \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u043c \u0441\u0435\u0440\u0432\u0435\u0440 \u0434\u043e \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0439 \u0432\u0435\u0440\u0441\u0438\u0438<\/strong><\/p>\n<blockquote><p><em>app_update 90 validate<\/em><\/p><\/blockquote>\n<p><strong>\u0415\u0441\u043b\u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u043e\u0448\u0438\u0431\u043a\u0443<\/strong><\/p>\n<blockquote><p><span style=\"color: #ff0000;\"><em>Error! App &#8217;90&#8217; state is 0xE after update job.<\/em><\/span><\/p><\/blockquote>\n<p>\u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u0437\u0430\u043d\u043e\u0432\u043e \u043a\u043e\u043c\u0430\u043d\u0434\u0443<\/p>\n<blockquote><p><em>app_update 90 validate<\/em><\/p><\/blockquote>\n<p><strong>\u041e\u043a\u043e\u043d\u0447\u0430\u043d\u0438\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u0442\u0430\u043a:<\/strong><\/p>\n<blockquote><p><em>Success! App &#8217;90&#8217; fully installed.<\/em><\/p><\/blockquote>\n<p><strong>\u041f\u043e\u0441\u043b\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0438 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u0432\u044b\u0445\u043e\u0434\u0438\u043c \u0438\u0437 Steam<\/strong><\/p>\n<blockquote><p><em>quit<\/em><\/p><\/blockquote>\n<p>\u0412\u0441\u0435 \u0441\u0435\u0440\u0432\u0435\u0440 \u0433\u043e\u0442\u043e\u0432 \u043a \u0437\u0430\u043f\u0443\u0441\u043a\u0443.<\/p>\n<p><strong>\u0412\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043c\u0441\u044f \u0432 \u043d\u0430\u0448\u0443 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044e<\/strong><\/p>\n<blockquote><p><em>cd ~<\/em><\/p><\/blockquote>\n<p><strong>\u042d\u0442\u0430 \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442 \u0441\u0435\u0440\u0432\u0435\u0440 \u0442\u0435\u043c \u0441\u0430\u043c\u044b\u043c \u0432\u0432\u0435\u0434\u0435\u0442 \u0432\u0430\u0441 \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u044c \u0441\u0435\u0440\u0432\u0435\u0440\u0430.<\/strong><\/p>\n<blockquote><p><code><span style=\"color: #800000;\">.\/hlds_run -game cstrike -nomaster +ip xxx.xxx.xxx.xxx +maxplayers 22 +port 27015 +map de_dust<\/span><\/code><\/p><\/blockquote>\n<p><strong>\u0422\u0435\u043f\u0435\u0440\u044c \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435:<\/strong><\/p>\n<ol>\n<li><em>&#8212;<\/em><strong>game cstrike<\/strong><em> (\u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u0441\u0435\u0440\u0432\u0435\u0440 Counter &#8212; Strike)<\/em><\/li>\n<li><em>&#8212;<\/em><strong>nomaster<\/strong><em> (\u0435\u0441\u043b\u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440, \u0442\u043e \u0441\u0435\u0440\u0432\u0435\u0440 \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0442\u044c\u0441\u044f \u0432 \u0433\u043b\u0430\u0432\u043d\u043e\u043c \u0441\u043f\u0438\u0441\u043a\u0435)<\/em><\/li>\n<li><strong>+ip xxx.xxx.xxx.xxx <\/strong><em>(\u043f\u0438\u0448\u0435\u043c \u043d\u0430\u0448 IP \u043f\u043e \u043a\u043e\u0442\u043e\u0440\u043e\u043c\u0443 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438 \u0431\u0443\u0434\u0443\u0442 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0442\u044c\u0441\u044f \u043a \u043d\u0430\u0448\u0435\u043c\u0443 \u0441\u0435\u0440\u0432\u0435\u0440\u0443, \u0435\u0433\u043e \u0432\u044b\u0434\u0430\u0435\u0442 \u0412\u0430\u0448 \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\/\u0445\u043e\u0441\u0442\u0435\u0440)<\/em><\/li>\n<li><strong>+maxplayers 22<\/strong><em> (\u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044b\u0445 \u0438\u0433\u0440\u043e\u043a\u043e\u0432)<\/em><\/li>\n<li><strong>+port 27015<\/strong><em> (\u043f\u043e\u0440\u0442 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043a \u0441\u0435\u0440\u0432\u0435\u0440\u0443)<\/em><\/li>\n<li><strong>+map de_dust<\/strong><em> (\u043a\u0430\u0440\u0442\u0430 \u043f\u0440\u0438 \u0441\u0442\u0430\u0440\u0442\u0435 \u0441\u0435\u0440\u0432\u0435\u0440\u0430)<\/em><\/li>\n<\/ol>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u0441\u0435\u0440\u0432\u0435\u0440 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d \u0438 \u0437\u0430\u043f\u0443\u0449\u0435\u043d, \u0434\u043b\u044f \u0442\u043e\u0433\u043e \u0447\u0442\u043e\u0431\u044b \u0438\u0433\u0440\u043e\u043a\u0438 \u043c\u043e\u0433\u043b\u0438 \u0437\u0430\u0445\u043e\u0434\u0438\u0442\u044c \u043d\u0430 \u043d\u0435\u0433\u043e \u0441 \u0434\u0432\u0443\u0445 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u043e\u0432 <strong><em>47, 48<\/em><\/strong>, \u043d\u0443\u0436\u043d\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043c\u043e\u0434 <em><strong>dproto<\/strong><\/em>.<br \/>\n\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u043c\u043e\u0434\u0430 dprota <a title=\"\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 metamod, dproto, AMX Mod X\" href=\"http:\/\/mydt.org\/?p=23\">&gt;&gt; \u0441\u0442\u0430\u0442\u044c\u044f &gt;&gt;<\/a><\/p>\n<p><em><strong>\u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0441\u043e\u0432\u0435\u0442\u044b \u043f\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0443 \u0441\u0435\u0440\u0432\u0435\u0440\u0430:<\/strong><\/em><\/p>\n<p>\u0427\u0442\u043e\u0431\u044b \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0441\u0435\u0440\u0432\u0435\u0440 \u0432 \u0444\u043e\u043d\u043e\u0432\u043e\u043c \u0440\u0435\u0436\u0438\u043c\u0435 \u043d\u0443\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432 \u0441\u0442\u0440\u043e\u043a\u0443 \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440<br \/>\n<span style=\"color: #800000;\"> &gt; \/dev\/null 2&gt;&amp;1 &amp;<\/span><br \/>\n<strong>\u041f\u0440\u0438\u043c\u0435\u0440:<\/strong><br \/>\n<code><span style=\"color: #800000;\">.\/hlds_run -game cstrike -nomaster +ip xxx.xxx.xxx.xxx +maxplayers 22 +port 27015 +map de_dust &gt; \/dev\/null 2&gt;&amp;1 &amp;<\/span><\/code><\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0434\u0430\u0436\u0435 \u0432\u044b\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b, \u0441\u0435\u0440\u0432\u0435\u0440 \u043e\u0441\u0442\u0430\u043d\u0435\u0442\u0441\u044f \u0437\u0430\u043f\u0443\u0449\u0435\u043d \u0432 \u0444\u043e\u043d\u043e\u0432\u043e\u043c \u0440\u0435\u0436\u0438\u043c\u0435. \u0427\u0442\u043e\u0431\u044b \u0432\u044b\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0441\u0435\u0440\u0432\u0435\u0440 \u043d\u0443\u0436\u043d\u043e \u0443\u0431\u0438\u0442\u044c \u043f\u0440\u043e\u0446\u0435\u0441\u0441. \u0423\u0437\u043d\u0430\u0442\u044c ID \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 \u043c\u043e\u0436\u043d\u043e \u043a\u0430\u043a \u0447\u0435\u0440\u0435\u0437 \u043a\u043e\u043c\u0430\u043d\u0434\u0443 <span style=\"color: #800000;\"><em>&#8216;top&#8217; <\/em><\/span>\u0442\u0430\u043a \u0438 \u0447\u0435\u0440\u0435\u0437 <span style=\"color: #800000;\"><em>&#8216;ps aux | grep hlds&#8217;<\/em><\/span><em>. <\/em>\u041f\u043e\u0441\u043b\u0435 \u043f\u0438\u0448\u0438\u0442\u0435 \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u0438 <span style=\"color: #800000;\"><em>&#8216;kill PID&#8217;<\/em><\/span>, \u0433\u0434\u0435 PID \u044d\u0442\u043e ID \u0437\u0430\u043f\u0443\u0449\u0435\u043d\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430.<\/p>\n<p>\u0422\u0430\u043a\u0436\u0435 \u043c\u043e\u0436\u043d\u043e \u0441\u0435\u0440\u0432\u0435\u0440 \u0441\u0442\u0430\u0440\u0442\u043e\u0432\u0430\u0442\u044c \u0447\u0435\u0440\u0435\u0437 \u0441\u043a\u0440\u0438\u043f\u0442.<\/p>\n<p>\u0421\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0444\u0430\u0439\u043b <strong>run.sh<\/strong><br \/>\n<span style=\"color: #800000;\"><code>touch \/home\/cs\/hlds\/csrun.sh<\/code><\/span><br \/>\n\u0421 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435\u043c<br \/>\n<code><br \/>\n#!\/bin\/sh<br \/>\n#vsftpd &amp;<br \/>\nscreen -A -m -d -S csserv .\/hlds_run -game cstrike -nomaster +ip xxx.xxx.xxx.xxx +maxplayers 22 +port 27015 +map de_dust<\/code><\/p>\n<p>\u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043e\u0442\u043a\u0440\u043e\u0435\u043c \u0444\u0430\u0439\u043b \u0432 \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u0435 <strong>vi<\/strong><br \/>\n<span style=\"color: #800000;\"><code>vi \/dir\/to\/cs\/csrun.sh<\/code><\/span><\/p>\n<p>\u0418\u043b\u0438 \u0442\u0430\u043a<br \/>\n<code><br \/>\n#!\/bin\/sh<br \/>\necho Counter - Strike server started...<br \/>\nPATH=\/home\/cs\/hlds<br \/>\nexport PATH<br \/>\nLOAD_PATH=$PATH\/hl\/hlds_l:$LOAD_PATH<br \/>\nexport LOAD_PATH<br \/>\n.\/hlds_run -game cstrike -nomaster +ip xxx.xxx.xxx.xxx +maxplayers 22 +port 27015 +map de_dust<br \/>\n<\/code><br \/>\n\u0414\u0430\u0435\u043c \u043f\u0440\u0430\u0432\u043e <strong>csrun.sh<\/strong> \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c\u0441\u044f<br \/>\n<span style=\"color: #800000;\"><code>chmod +x csrun.sh<\/code><\/span><br \/>\n\u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c<br \/>\n<span style=\"color: #800000;\"><code>.\/csrun.sh<\/code><\/span><\/p>\n<p>\u0412 \u0441\u0442\u0430\u0442\u044c\u0435 \u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440 <strong>vi<\/strong>, \u043d\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0438 \u0434\u0440\u0443\u0433\u0438\u043c\u0438, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 <strong>mcedit<\/strong>. \u041d\u043e \u0434\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u043e \u043d\u0443\u0436\u043d\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c <strong>mc<\/strong>.<br \/>\n\u041a\u0430\u043a \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u043e\u043c <strong>vi<\/strong> \u0438\u043b\u0438 \u043a\u0430\u043a \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c <strong>mc<\/strong> \u0438\u0449\u0438\u0442\u0435 \u0432 \u0433\u0443\u0433\u043b\u0435<\/p>\n<address style=\"text-align: right;\"><span style=\"color: #888888;\"><em>\u0410\u0432\u0442\u043e\u0440 \u0441\u0442\u0430\u0442\u044c\u0438 &#8212; <a href=\"http:\/\/www.MyDT.org\">MyDT.org<\/a> \u00a9<\/em><\/span><br \/>\n<span style=\"color: #888888;\"> <em>\u041b\u044e\u0431\u043e\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u043e\u0432 \u0441\u0430\u0439\u0442\u0430, \u0434\u043e\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u0438 \u0443\u043a\u0430\u0437\u0430\u043d\u0438\u0438 \u0430\u0432\u0442\u043e\u0440\u0430 \u0441\u0442\u0430\u0442\u044c\u0438 \u0438 \u0441\u0441\u044b\u043b\u043a\u0438<br \/>\n\u043d\u0430 <a href=\"http:\/\/www.MyDT.org\"><span style=\"color: #888888;\">www.MyDT.org<\/span><\/a><\/em><\/span><\/address>\n","protected":false},"excerpt":{"rendered":"<p>\u0421\u0442\u0430\u0442\u044c\u044f \u043f\u043e\u0441\u0432\u044f\u0449\u0435\u043d\u043d\u0430\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0443 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 CS 1.6 \u043f\u043e\u0434 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435\u043c \u0441\u0438\u0441\u0442\u0435\u043c\u044b Centos. \u0414\u0430\u043d\u043d\u0430\u044f \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u0430 \u043d\u0438 \u0447\u0435\u043c \u043d\u0435 \u043e\u0442\u043b\u0438\u0447\u0430\u0435\u0442\u0441\u044f \u043d\u0430 \u0434\u0440\u0443\u0433\u0438\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445 linux \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0441 \u043d\u0443\u043b\u044f.<\/p>\n","protected":false},"author":1,"featured_media":403,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-6","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-counter-strike-2"],"_links":{"self":[{"href":"https:\/\/mydt.org\/index.php?rest_route=\/wp\/v2\/posts\/6","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mydt.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mydt.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mydt.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mydt.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6"}],"version-history":[{"count":50,"href":"https:\/\/mydt.org\/index.php?rest_route=\/wp\/v2\/posts\/6\/revisions"}],"predecessor-version":[{"id":1108,"href":"https:\/\/mydt.org\/index.php?rest_route=\/wp\/v2\/posts\/6\/revisions\/1108"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mydt.org\/index.php?rest_route=\/wp\/v2\/media\/403"}],"wp:attachment":[{"href":"https:\/\/mydt.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mydt.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mydt.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}