[web-server] Centos7 apm install
[web-server] Centos7 apm install

Centos7 apm install detail 설정의 경우 별도로 정리할 예정입니다.     mariadb 10.2 설치 mariadb repo 확인 https://downloads.mariadb.org/mariadb/repositories/#mirror=kaist&distro=CentOS&distro_release=centos7-amd64--centos7&version=10.2 [root@centos74 ~]# vi /etc/yum.repos.d/mariadb.repo [mariadb] name = MariaDB baseurl = http://yum.mariadb.org/10.2/centos7-amd64 gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB gpgcheck=1 [root@centos74 ~]# yum clean all && yum list   mariadb 10.2 설치  [root@centos74 ~]# yum install -y mariadb mariadb-server   mariadb 10.2 start &... » read more

[dns-server] Centos7 bind install
[dns-server] Centos7 bind install

DNS Server  BIND Open Source DNS Server CentOS7 으로 Test  를 진행 하였습니다.     bind 설치  [root@centos74 ~]# yum install bind-*   bind 설정 [root@centos74 ~]# vi /etc/named.conf options { listen-on port 53 { any; }; listen-on-v6 port 53 { ::1; }; directory "/var/named"; dump-file "/var/named/data/cache_dump.db"; statistics-file "/var/named/data/named_stats.txt"; memstatistics-file "/var/named/data/named_mem_stats.txt"; allow-query { any; };... » read more

[web-server] Centos7 Apache Source 설치
[web-server] Centos7 Apache Source 설치

Centos7 Apache Source 설치   참고페이지:http://publib.boulder.ibm.com/httpserv/manual60/install.html https://mbrownnyc.wordpress.com/technology-solutions/create-a-secure-linux-web-server/install-and-configure-apache-from-source/     설치된 Apache 패키지를 제거 합니다. [root@centos74 ~]# yum remove -y httpd httpd-*   Source 설치에 필요한 패키지를 설치 합니다. [root@centos74 ~]# yum install -y make gcc g++ gcc-c++ autoconf automake libtool pkgconfig findutils oepnssl openssl-devel openldap-devel pcre-devel libxml2-devel lua-devel curl curl-devel libcurl-devel expat-devel flex   패키지... » read more

[system] targetcli
[system] targetcli

  참고 페이지:https://wiki.rvijay.in/index.php/Configuring_iSCSI_target_using_targetcli https://www.rootusers.com/how-to-configure-an-iscsi-target-and-initiator-in-linux/ http://atodorov.org/blog/2015/04/07/how-to-configure-iscsi-target-on-red-hat-enterprise-linux-7/   iscsi-server targetcli 설치 [root@centos74 ~]# yum install -y targetcli   targetcli 실행 [root@centos74 ~]# systemctl start target   [root@centos74 ~]# targetcli Warning: Could not load preferences file /root/.targetcli/prefs.bin. targetcli shell version 2.1.fb46 Copyright 2011-2013 by Datera, Inc and others. For help on commands, type 'help'. />   몇가지가 더... » read more

[system] LINUX 보안설정
[system] LINUX 보안설정

LINUX 보안 설정 정리 일반적으로 많이 사용하는 리눅스 보안 설정을 대략적으로 정리하였습니다. 외부망에 노출이 된 Host 라면 sshd port 변경및 root user 접속제한은 꼭하시기 바랍니다. sshd_config 에서 Permitroot no 설정과 Port number 만 변경하여도 특정사용자 root 또는 다른 계정을 통한 사전공격(binary attack)은 감소 합니다. root/root 로  설정후 공인 ip 사용시 하루 안에 해킹을 당할수 있습니다.... » read more

[desktop] CentOS7 vncserver
[desktop] CentOS7 vncserver

CentOS 7 vncserver 설치 TigerVNC is a high-performance, platform-neutral implementation of VNC (Virtual Network Computing), a client/server application that allows users to launch and interact with graphical applications on remote machines. TigerVNC provides the levels of performance necessary to run 3D and video applications, and it attempts to maintain a common look and feel and... » read more

[desktop] CentOS7 Desktop 설치
[desktop] CentOS7 Desktop 설치

CentOS 의 경우 Desktop 의 경우 yum groupinstall 로 간단하게 설치 할수 있습니다. Runlevel 의 경우 기존에는 /etc/inittab 에서 지정을 하였지만 CentOS7 에서는 systemctl set-default 로 지정 할수 있습니다.     패키지 설치 [root@centos74 ~]# yum groupinstall "GNOME Desktop" -y   runlevel 확인 및 runlevel 변경후 시스템 리부팅 [root@centos74 ~]# systemctl get-default multi-user.target [root@centos74 ~]# systemctl... » read more

[system] CentOS7 KVM install
[system] CentOS7 KVM install

VirtualBox 를 많이 사용하기는 하지만 KVM Server 를 운영하여 여러대의 vm 을 생성후 System infra 를 구성할수 있습니다. kvm-host 구성및 FeeBSD 등 이기종 OS 구성들을 간편하게 할수 있습니다. 또한 VM template 생성후 virt-clone 명령어를 통하여 VM 을 Copy 하여 사용할수도 있습니다. KVM 의 자세한 정보는 https://www.linux-kvm.org/page/Main_Page 에서 확인 할수 있습니다.     System update 를 진행후 리부팅을... » read more

[system] Nic biosdevname Disable
[system] Nic biosdevname Disable

CentOS 7 / RHEL 7 의 경우 biosdevname 사용으로 인하여 Nic Device name 이 ethX -> ens 등으로 표시가 됩니다. 별도로 바꿔줄 필요는 없지만 종종 바꿀일 들이 생깁니다.   Nic Device 확인 [root@localhost ~]# ifconfig ens33: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.0.10 netmask 255.255.255.0 broadcast 192.168.0.255 inet6 fe80::3d0d:c304:ffd2:345d prefixlen 64 scopeid 0x20<link> ether 00:0c:29:a1:92:93 txqueuelen 1000 (Ethernet)... » read more

[system] CentOS 설치
[system] CentOS 설치

CentOS 설치   DVD Image 로 부팅을 하면 최초 설치 화면을 볼수 있습니다. OS 장애시에도 DVD Image 를 사용하기도 합니다. 설치시에는 Install CentOS 7 을 선택 합니다. Install CentOS 7 을 선택 합니다.   설치 언어 선택  사용할 언어를 선택 합니다. Desktop 을 쓴다고 하면 한글을 사용하겠지만 서버 환경에서는 Default 로 선택되어 있는 English 로... » read more