본문 바로가기

OS/Linux49

CentOS port open / RHEL/CentOS 7 방화벽(firewalld) 설정 RHEL/CentOS 7 방화벽(firewalld) 설정 콘솔 : firewall-cmd x-windows : firewall-config 1.설치 yum -y install firewalld 2. 서비스 시작 및 활성화 systemctl start firewalld systemctl enable firewalld 3. 서비스 종료 systemctl stop firewalld 4. firewalld 재시작 firewall-cmd --reload 5.방화벽에 포트추가 firewall-cmd --permanent --zone=public --add-port=80/tcp firewall-cmd --permanent --zone=public --add-port=8080/tcp ※ firewalld 재시작해야 반.. 2020. 4. 27.
Install PostgreSQL on CentOS 6.3 [ 설치 , 백업 , 복구 ] Install PostgreSQL on CentOS 6.3 1.1 Change root user su - ## OR ## sudo -i 1.2 Exclude CentOS own PostgreSQL Packages Add exclude to /etc/yum.repos.d/CentOS-Base.repo file [base] and [updates] sections:[base] ... exclude=postgresql* [updates] ... exclude=postgresql* 1.3 Install PostgreSQL 9.2 Repository ## CentOS 6 - i386 - 32-bit ## rpm -Uvh http://yum.postgresql.org/9.2/redhat/rhel-6-i386/pgd.. 2020. 4. 27.
Starting Tomcat as a Service on Linux (리눅스 부팅시 Tomcat 시작하기 ) 1. Save tomcat start / stop script vi /etc/init.d/tomcat 파일 생성하기 # vi /etc/init.d/tomcat # chkconfig: 345 91 10 # description: Starts and stops the Tomcat daemon. # # Source function library. . /etc/rc.d/init.d/functions # Get config. . /etc/sysconfig/network # Check that networking is up. [ "${NETWORKING}" = "no" ] && exit 0 tomcat=/usr/local/jakarta-tomcat startup=$tomcat/bin/startup.sh shutdo.. 2020. 4. 27.
Install Webmin on CentOS 6 [1] Install required Perl module first. [root@rfid ~]# yum -y install perl-Net-SSLeay [2] Download Webmin and install it ( http://download.webmin.com/download/yum/ ) [root@rfid ~]# wget http://download.webmin.com/download/yum/webmin-1.610-1.noarch.rpm --2013-01-11 16:33:08-- http://download.webmin.com/download/yum/webmin-1.610-1.noarch.rpm Resolving download.webmin.com... 108.60.199.115 Connecti.. 2020. 4. 27.
반응형