{"id":669,"date":"2015-04-13T06:52:32","date_gmt":"2015-04-13T15:52:32","guid":{"rendered":"http:\/\/blog.box.kr\/?p=669"},"modified":"2015-04-13T06:52:32","modified_gmt":"2015-04-13T15:52:32","slug":"centos-7-rhel-7-service-%eb%aa%85%eb%a0%b9%ec%96%b4%ea%b0%80-%eb%b0%94%eb%80%8c%ec%97%88%eb%8b%a4","status":"publish","type":"post","link":"https:\/\/blog.box.kr\/?p=669","title":{"rendered":"CentOS 7 \/ RHEL 7  service \uba85\ub839\uc5b4\uac00 \ubc14\ub00c\uc5c8\ub2e4.."},"content":{"rendered":"<h1 class=\"post-title entry-title\">CentOS 7 \/ RHEL 7 \uac00 \ub418\uba74\uc11c \uae30\uc874\uc5d0 \uc0ac\uc6a9\ud558\ub358 service \uba85\ub839\uc774 \uc548\uba39\ud78c\ub2e4.<\/h1>\n<p>\ubcf4\uba74 systemctl \uba85\ub839\uc744 \uc0ac\uc6a9 \ud558\ub77c\uace0 \ud55c\ub2e4..<\/p>\n<p>\uadf8\ub9ac\uace0 \uae30\uc874\uc5d0 \ubd80\ud305\ub54c \uc11c\ube44\uc2a4\ub97c \uc790\ub3d9 \uc2e4\ud589 \ud558\ub3c4\ub85d \ub4f1\ub85d \ud558\ub294 \uba85\ub839\uc778 chkconfig\ub3c4 systemctl \uc5d0 \ud3ec\ud568\uc774 \ub410\ub2e4..<\/p>\n<p>\uc0ac\uc6a9 \ubc29\ubc95\uc740 \ucd08 \uac04\ub2e4..<\/p>\n<p>service \uc11c\ube44\uc2a4\uba85 start \u00a0 \u00a0=&gt; systemctl start \uc11c\ube44\uc2a4\uba85<\/p>\n<p>service \uc11c\ube44\uc2a4\uba85 restart \u00a0 \u00a0=&gt; systemctl restart \uc11c\ube44\uc2a4\uba85<\/p>\n<p>service \uc11c\ube44\uc2a4\uba85 stop \u00a0 \u00a0=&gt; systemctl stop \u00a0 \uc11c\ube44\uc2a4\uba85<\/p>\n<p>\uc73c\ub85c \uac04\ub2e8 \uc0ac\uc6a9 \uac00\ub2a5<\/p>\n<p>&nbsp;<\/p>\n<p>chkconfig \uc11c\ube44\uc2a4 \uba85 \u00a0 on \u00a0 =&gt; systemctl enable \uc11c\ube44\uc2a4\uba85 \uc73c\ub85c<br \/>\nchkconfig \uc11c\ube44\uc2a4\uba85 \u00a0 \u00a0off \u00a0=&gt; systemctl disable \uc11c\ube44\uc2a4\uba85 \uc73c\ub85c<\/p>\n<p>\ucd94\uac00\ub85c \uc2e4\uc81c \uc11c\ube44\uc2a4\uac00 \uc790\ub3d9\uc2e4\ud589\uc73c\ub85c \uc801\uc6a9 \ub410\ub294\uc9c0 \ud655\uc778\uc740<\/p>\n<p>systemctl is-enable \uc11c\ube44\uc2a4\uba85 \uc73c\ub85c \ud558\uba74 \ub41c\ub2e4.<\/p>\n<p>\uc790\ub3d9\uc2e4\ud589 \uc11c\ube44\uc2a4 \ubaa9\ub85d\uc744 \ubcf4\uace0 \uc2f6\uc744\ub54c \uc0ac\uc6a9 \ud558\ub294 \uba85\ub839\uc778 \u00a0chkconfig \u2013list<\/p>\n<p>\uc740\u00a0<span class=\"crayon-e\">systemctl <\/span><span class=\"crayon-v\">list<\/span><span class=\"crayon-o\">&#8211;<\/span><span class=\"crayon-v\">unit<\/span><span class=\"crayon-o\">&#8211;<\/span><span class=\"crayon-v\">files<\/span> <span class=\"crayon-o\">&#8212;<\/span><span class=\"crayon-v\">type<\/span><span class=\"crayon-o\">=<\/span><span class=\"crayon-v\">service \u00a0\ub85c \ub2e4\uc18c \ubcf5\uc7a1 \ud558\uac8c \ubc14\ub00c\uc5c8\ub2e4.\u00a0<\/span><\/p>\n<p>&nbsp;<\/p>\n<div id=\"crayon-552bdf6d90464630793957\" class=\"crayon-syntax crayon-theme-github crayon-font-monospace crayon-os-pc print-yes notranslate\" data-settings=\" minimize scroll-mouseover\">\n<\/div>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CentOS 7 \/ RHEL 7 \uac00 \ub418\uba74\uc11c \uae30\uc874\uc5d0 \uc0ac\uc6a9\ud558\ub358 service \uba85\ub839\uc774 \uc548\uba39\ud78c\ub2e4. \ubcf4\uba74 systemctl \uba85\ub839\uc744 \uc0ac\uc6a9 \ud558\ub77c\uace0 \ud55c\ub2e4.. \uadf8\ub9ac\uace0 \uae30\uc874\uc5d0 \ubd80\ud305\ub54c \uc11c\ube44\uc2a4\ub97c \uc790\ub3d9 \uc2e4\ud589 \ud558\ub3c4\ub85d \ub4f1\ub85d \ud558\ub294 \uba85\ub839\uc778 chkconfig\ub3c4 systemctl \uc5d0 \ud3ec\ud568\uc774 \ub410\ub2e4.. \uc0ac\uc6a9 \ubc29\ubc95\uc740 \ucd08 \uac04\ub2e4.. service \uc11c\ube44\uc2a4\uba85 start \u00a0 \u00a0=&gt; systemctl start \uc11c\ube44\uc2a4\uba85 service \uc11c\ube44\uc2a4\uba85 restart \u00a0 \u00a0=&gt; systemctl restart \uc11c\ube44\uc2a4\uba85 service \uc11c\ube44\uc2a4\uba85 stop \u00a0 \u00a0=&gt; systemctl stop \u00a0 \uc11c\ube44\uc2a4\uba85 \uc73c\ub85c \uac04\ub2e8 \uc0ac\uc6a9 \uac00\ub2a5 &nbsp; chkconfig \uc11c\ube44\uc2a4 \uba85 \u00a0 on \u00a0 =&gt; systemctl enable \uc11c\ube44\uc2a4\uba85 \uc73c\ub85c chkconfig \uc11c\ube44\uc2a4\uba85 \u00a0 \u00a0off \u00a0=&gt; systemctl disable \uc11c\ube44\uc2a4\uba85 \uc73c\ub85c \ucd94\uac00\ub85c \uc2e4\uc81c \uc11c\ube44\uc2a4\uac00 \uc790\ub3d9\uc2e4\ud589\uc73c\ub85c \uc801\uc6a9 \ub410\ub294\uc9c0 \ud655\uc778\uc740 systemctl is-enable \uc11c\ube44\uc2a4\uba85 \uc73c\ub85c \ud558\uba74 \ub41c\ub2e4. \uc790\ub3d9\uc2e4\ud589 \uc11c\ube44\uc2a4 \ubaa9\ub85d\uc744 \ubcf4\uace0 \uc2f6\uc744\ub54c \uc0ac\uc6a9 \ud558\ub294 \uba85\ub839\uc778 \u00a0chkconfig \u2013list \uc740\u00a0systemctl list&#8211;unit&#8211;files &#8212;type=service \u00a0\ub85c \ub2e4\uc18c \ubcf5\uc7a1 \ud558\uac8c \ubc14\ub00c\uc5c8\ub2e4.\u00a0 &nbsp; &nbsp;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"ngg_post_thumbnail":0,"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true},"categories":[5],"tags":[],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5q9Zn-aN","jetpack-related-posts":[{"id":675,"url":"https:\/\/blog.box.kr\/?p=675","url_meta":{"origin":669,"position":0},"title":"[Linux] CentOS 7 \/ RHEL 7\uc5d0 redis \uc124\uce58 \ud558\uae30","date":"2015-04-13","format":false,"excerpt":"Project URL : http:\/\/redis.io\/ CentOS 7 and Red Hat Enterprise Linux 7\uc5d0\uc11c Redis\ub97c \uc124\uce58 \ud558\ub294 \ubc29\ubc95 EPEL \uc800\uc7a5\uc18c \ub4f1\ub85d \ud558\uae30 EPEL \uc800\uc7a5\uc18c\ub97c \uba3c\uc800 \ub4f1\ub85d\ud55c\ub2e4. wget -r --no-parent -A 'epel-release-*.rpm' http:\/\/dl.fedoraproject.org\/pub\/epel\/7\/x86_64\/e\/ rpm -Uvh dl.fedoraproject.org\/pub\/epel\/7\/x86_64\/e\/epel-release-*.rpm \/etc\/yum.repos.d\u00a0 \ud558\uc704 \ub514\ub809\ud1a0\ub9ac\uc5d0 \uc544\ub798\uc640 \uac19\uc774 2\uac1c\uc758 epel \uc800\uc7a5\uc18c\uac00 \ub4f1\ub85d\ub41c\ub2e4. 1. epel.repo 2.epel-testing.repo [root@localhost ~]# ls -l \/etc\/yum.repos.d\/\u2026","rel":"","context":"In &quot;\uae30\uc220\uc790\ub8cc&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":894,"url":"https:\/\/blog.box.kr\/?p=894","url_meta":{"origin":669,"position":1},"title":"How To Install Cassandra on CentOS 7","date":"2015-06-16","format":false,"excerpt":"Apache Cassandra is a NoSQL database intended for storing large amounts of data in a decentralized, highly available cluster. NoSQL refers to a database with a data model other than the tabular relations used in relational databases such as MySQL, PostgreSQL, and Microsoft SQL. Pre-Flight Check These instructions are intended\u2026","rel":"","context":"In &quot;\uae30\uc220&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":762,"url":"https:\/\/blog.box.kr\/?p=762","url_meta":{"origin":669,"position":2},"title":"Install and configure Nginx, MariaDB &amp; PHP-FPM in CentOS 7 (RHEL7)","date":"2015-05-08","format":false,"excerpt":"https:\/\/stavrovski.net\/blog\/install-and-configure-nginx-mariadb-php-fpm-in-centos-7-rhel7 \u00a0 The following is a quick-N-dirty write-up on\u00a0how to install and configure the LEMP stack (Nginx, MariaDB and PHP-FPM) in\u00a0CentOS 7. I use this as a reference\/guide whenever I need to deploy the\u00a0LEMP stack\u00a0on RHEL based machines. TABLE OF CONTENTS Enable EPEL Repository Update CentOS 7 Install and configure\u2026","rel":"","context":"In &quot;Linux&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":729,"url":"https:\/\/blog.box.kr\/?p=729","url_meta":{"origin":669,"position":3},"title":"install PostgreSQL on CentOS7","date":"2015-04-21","format":false,"excerpt":"1.\u00a0Install ( \u00a02015-04-21 > \ucd5c\uc2e0 \ubc84\uc804\uc740 9.4\u00a0 ) [root@localhost ~]# rpm -Uvh http:\/\/yum.postgresql.org\/9.4\/redhat\/rhel-7-x86_64\/pgdg-centos94-9.4-1.noarch.rpm http:\/\/yum.postgresql.org\/9.4\/redhat\/rhel-7-x86_64\/pgdg-centos94-9.4-1.noarch.rpm(\uc744)\ub97c \ubcf5\uad6c\ud569\ub2c8\ub2e4 \uacbd\uace0: \/var\/tmp\/rpm-tmp.z0BMz8: Header V4 DSA\/SHA1 Signature, key ID 442df0f8: NOKEY \uc900\ube44 \uc911...\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ################################# [100%] Updating \/ installing... 1:pgdg-centos94-9.4-1\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ################################# [100%] [root@localhost ~]# yum install postgresql94 postgresql94-server postgresql94-libs postgresql94-contrib postgresql94 Loaded plugins: fastestmirror, langpacks http:\/\/linuxdownload.adobe.com\/linux\/x86_64\/repodata\/repomd.xml: [Errno\u2026","rel":"","context":"In &quot;\uae30\uc220&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":775,"url":"https:\/\/blog.box.kr\/?p=775","url_meta":{"origin":669,"position":4},"title":"Setup mail server on centos 7","date":"2015-05-12","format":false,"excerpt":"This article helps you to install and configure basic mail server on Centos 7. Here i have used Postfix for SMTP, Dovecot for POP\/IMAP and Dovecot SASL for SMTP AUTH. Before proceeding please make sure you have assigned static IP for the server and have internet connectivity for installing packages.\u2026","rel":"","context":"In &quot;\uae30\uc220\uc790\ub8cc&quot;","img":{"alt_text":"Setup mail server on centos 7","src":"https:\/\/i0.wp.com\/1-ps.googleusercontent.com\/hk\/AwAJwg9ecIBNxEHGg0w8SfePD8\/www.krizna.com\/wp-content\/uploads\/2015\/01\/Setup_mail_server_centos_7.png.pagespeed.ce._so1uJb5qKCs4NSN7OOP.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":718,"url":"https:\/\/blog.box.kr\/?p=718","url_meta":{"origin":669,"position":5},"title":"How To Install Linux, Nginx, MySQL, PHP (LEMP) stack On CentOS 7","date":"2015-04-15","format":false,"excerpt":"https:\/\/www.digitalocean.com\/community\/tutorials\/how-to-install-linux-nginx-mysql-php-lemp-stack-on-centos-7 \u00a0 How To Install Linux, Nginx, MySQL, PHP (LEMP) stack On CentOS 7 Introduction A LEMP software stack is a group of open source software that is typically installed together to enable a server to host dynamic websites and web apps. This term is actually an acronym which represents\u2026","rel":"","context":"In &quot;\uae30\uc220\uc790\ub8cc&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/blog.box.kr\/index.php?rest_route=\/wp\/v2\/posts\/669"}],"collection":[{"href":"https:\/\/blog.box.kr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.box.kr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.box.kr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.box.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=669"}],"version-history":[{"count":0,"href":"https:\/\/blog.box.kr\/index.php?rest_route=\/wp\/v2\/posts\/669\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.box.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=669"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.box.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=669"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.box.kr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=669"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}