(주)누리웨어

화상연동/Web,APP 구축및서비스/LMS/평생교육/학점은행/기업교육/연수관리/설문구축/

Centos + PHP5.6 수동설치

1.Download cd /app/install wget http://kr1.php.net/distributions/php-5.6.17.tar.gz tar xzvf php-5.6.17.tar.gz 2.Library install yum install -y libxml2-devel libcurl-devel gd-devel libmcrypt-devel 3.Compile & install cd /usr/local/php-5.6.17 ./configure –prefix=/usr/local/php –with-apxs2=/usr/local/apache/bin/apxs –with-mysql=/usr/local/mysql –with-mysqli=/usr/local/mysql/bin/mysql_config –with-pdo-mysql=/usr/local/mysql –disable-debug –enable-sigchild –enable-inline-optimization –enable-sysvsem –enable-sysvshm –enable-bcmath –enable-ftp –enable-sockets –enable-exif –enable-soap –with-zlib-dir=/usr –with-zlib –with-gd –with-jpeg-dir=/usr –with-png-dir=/usr –with-freetype-dir=/usr –with-iconv –enable-mbstring –with-curl –with-openssl –enable-zip make && make install

Centos7 apache install (수동설치)

root권한으로 실행합니다. 1.필수 라이브러리 설치

  3.apr, apr-util, pcre,httpd 다운로드 및 컴파일

작동확인 [root@hae bin]# cd /app/web/apache2/bin [root@hae bin]# ./apachectl start [root@hae bin]# netstat -tulpn | grep LISTEN tcp 0 0 0.0.0.0:7990 0.0.0.0:* LISTEN 9188/ssh tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1001/sshd tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 1595/master tcp 0 0 0.0.0.0:3389 […]

Linux mount/umount

mount 확인후 할당

리부팅할경우도 마운트 유지 Auto mount (case restart) [root@test /]# vi /etc/fstab

Linux Centos 8 apache install

1) yum install httpd 2) 확인 [root@hae sbin]# httpd -version Server version: Apache/2.4.6 (CentOS) Server built: Nov 16 2020 16:18:20 3) 방화벽설정 [root@hae sbin]# firewall-cmd – -state running [root@hae conf]# firewall-cmd  – -permanent – -add-service=http success [root@hae conf]# firewall-cmd  – -permanent – -add-service=https success [root@hae conf]# firewall-cmd  – -reload success [root@hae conf]# systemctl enable httpd […]

Linux(CentOS) open java 8 install

1.java 확인 [root@hae bin]# which java /usr/bin/java 2.없을 경우 yum install [root@hae ~]# yum install java-1.8.0-openjdk 3.확인 [root@hae ~]# which java /usr/bin/java [root@hae ~]# cd /usr/bin [root@hae bin]# ls -al|grep java lrwxrwxrwx. 1 root root 26 Feb 19 19:25 alt-java -> /etc/alternatives/alt-java lrwxrwxrwx. 1 root root 22 Feb 19 19:25 java -> /etc/alternatives/java [root@hae bin]# […]

Centos 7 mysql8 install

1)yum localinstall 명령어로 MySQL rpm 패키지 설치 [root@hae ~]# yum repolist enabled | grep “mysql.*-community.*” [root@hae ~]# sudo yum localinstall https://dev.mysql.com/get/mysql80-community-release-el7-3.noarch.rpm Loaded plugins: fastestmirror mysql80-community-release-el7-3.noarch.rpm | 25 kB 00:00:00 Examining /var/tmp/yum-root-tl7kMk/mysql80-community-release-el7-3.noarch.rpm: mysql80-community-release-el7-3.noarch Marking /var/tmp/yum-root-tl7kMk/mysql80-community-release-el7-3.noarch.rpm to be installed Resolving Dependencies –> Running transaction check —> Package mysql80-community-release.noarch 0:el7-3 will be installed –> Finished Dependency Resolution Dependencies […]

MS-SQL 축소

ALTER DATABASE emudb SET RECOVERY SIMPLE DBCC SHRINKFILE(emudb_log) ALTER DATABASE emudb SET RECOVERY FULL ALTER DATABASE emudb SET RECOVERY SIMPLE DBCC SHRINKFILE(emudb) ALTER DATABASE emudb SET RECOVERY FULL

Linux Centos 6 에 MySQL8 설치

1) mysql 8.0 다운도르 rpm -Uvh https://repo.mysql.com/mysql80-community-release-el6-3.noarch.rpm 2)기존 받은 파일은 사용하지 않게 처리 sed -i ‘s/enabled=1/enabled=0/’ /etc/yum.repos.d/mysql-community.repo sed -i ‘s/enabled=1/enabled=0/’ /etc/yum.repos.d/mysql-community-source.repo 3)install yum –enablerepo=mysql80-community install mysql-community-server 4)Error Requires: libsasl2.so.3()(64bit) => yum whatprovides */libsasl2.so.3 Requires: libmysqlclient.so.16()(64bit) =>yum whatprovides */libmysqlclient.so.16 Requires: libstdc++.so.6(GLIBCXX_3.4.14)(64bit) =>yum whatprovides */libstdc++.so.6

Linux mysql 삭제

1.서비스 삭제 #chkconfig –list mysqld 2.등록한 서비스 파일 삭제 #cd /etc/init.d #rm -rf mysqld 3.설정정보삭제 # rm -rf /var/lib/mysql 4.yum 으로 설치 하지 않았다면 프로그램과 데이타파일을 직접 삭제한다.

Linux Service 등록/삭제

서비스에 등록되어 있는 shell들은 #cd /etc/init.d 하면 확인 가능하다. chkconfig –list 를 하면 서비스에 등록한 프로그램들을 볼수 있습니다. #chkconfig –del tomcat 하면 서비스에서 삭제

Previous Posts Next posts