1. 개요 실시간 트래픽 확인 2. Install iftop sudo apt isntall iftop 3. Run iftop 실시간 트래픽 확인 sudo iftop eth -i [이더넷 포트 ex> eth0]
Category: OS
rsyslog
1. 개요 원격으로 log 전송 / rsyslog 2. LOG LEVEL Facility : 프로그램 타입 Facility Number Keyword C code Facility Description 0 kern LOG_KERN kernel messages 1 user LOG_USER user-level messages 2 mail LOG_MAIL mail system 3 daemon LOG_DAEMON system daemons 4 auth LOG_AUTH security/authorization messages 5 syslog LOG_SYSLOG messages generated internally by syslogd […]
Install ownCloud on Raspbian 8
1. 개요 라즈비안에 ownCloud 서버 설치 2. 설치 wget https://download.owncloud.org/community/owncloud-10.0.7.zip unzip owncloud-10.0.7.zip sudo mv owncloud /var/www/owncloud sudo chown -R www-data:www-data /var/www/owncloud
APM source 설치 (A 1.3.37 / P 4.4.2 / M 4.0.27) on CentOS
1. 개요 APM source 설치 Apache : 1.3.37 / PHP : 4.4.2 / MYSQL : 4.0.27 2. apache 1.3.37 설치 = Site : https://archive.apache.org/dist/httpd/ cd /usr/local/src/ wget https://archive.apache.org/dist/httpd/apache_1.3.37.tar.gz tar zxvf apache_1.3.37.tar.gz ./configure –prefix=/usr/local/apache-1.3.37 –enable-module=so make make install 3. mysql 4.0.27 설치 = Site : http://ftp.linux.co.kr/pub/mysql/ cd /usr/local/src/ wget http://ftp.linux.co.kr/pub/mysql/mysql-4.0.27.tar.gz tar zxvf mysql-4.0.27.tar.gz vi […]
Install PHP7 on CentOS7
1. 설치 yum install epel-release sudo rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm yum install php71w php71w-cli php71w-devel php71w-bcmath php71w-common php71w-mcrypt php71w-domxml php71w-gd php71w-imap php71w-mbstring php71w-xmlrpc php71w-pear “Image*” * PHP 모듈 설치 : php71w-모듈이름 2. apache 재시작 sudo systemctl restart httpd.service
[Manual] Install APM on Ubuntu
1. 개요 설치 순서 : Apache, MySQL, PHP, phpMyAdmin 우분투에 APM + phpmyadmin 설치 1) Apache 웹 서버 설치 a. apache2 설치 sudo apt install -y apache2 apache2-dev b. 보안 설정 vi /etc/apache2/conf-enabled/security.conf ServerTokens Prod ServerSignature Off vi /etc/apache2/apache2.conf <Directory /var/www/> Options FollowSymLinks ; Indexes 삭제 AllowOverride None Require all granted </Directory> c. rewrite […]
APM source 설치 (A 2.2.24 / P 5.2.16 / M 5.1.69) on CentOS
1. 개요 APM source 설치 Apache : 2.2.24 / PHP : 5.2.16 / MYSQL : 5.1.69 – httpd 2.2.24 – php 5.2.16 – mysql 5.1.69 yum install expat-devel ncurses ncurses-devel openssl-devel libxml2-devel curl-devel gdbm-devel libc-client-devel krb5-devel libjpeg-devel bzip2-devel openssl-devel libpng-devel freetype-devel ncurses-devel libc-client-devel gdbm-devel pcre-devel gcc enchant-devel libXpm-devel libicu-devel openldap-devel readline-devel libtidy libtidy-devel libxslt-devel yum […]
APM source 설치 (A 2.4 / P 5.6 / M 5.7) on CentOS
1. 개요 APM source 설치 Apache : 2.4 / PHP : 5.6 / MYSQL 5.7 – httpd 2.4 wget http://mirror.navercorp.com/apache//httpd/httpd-2.4.29.tar.gz – php 5.6 wget http://kr1.php.net/get/php-5.6.32.tar.gz/from/this/mirror -O php-5.6.32.tar.gz – mysql 5.7 wget https://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.20.tar.gz –no-check-certificate yum install expat-devel ncurses ncurses-devel openssl-devel libxml2-devel curl-devel gdbm-devel libc-client-devel krb5-devel libjpeg-devel bzip2-devel openssl-devel libpng-devel freetype-devel ncurses-devel libc-client-devel gdbm-devel pcre-devel gcc […]
password policy
vi /etc/pam.d/common-password password [success=1 default=ignore] pam_unix.so minlen=2 sha512
방화벽 ufw
1. 개요 우분투에서 사용하는 방화벽 ufw에 대한 설명 2. Command sudo ufw status ; 방화벽 정책 확인 ; enable 상태일 때만 확인 가능 sudo ufw status numbered ; 방화벽 정책 번호 보기 sudo ufw allow from [IP] to [any] port 22 proto tcp sudo ufw allow 123/udp ; sudo ufw allow from [IP] ; […]