반응형 분류 전체보기110 yum을 이용한 CentOS에서 APM 설치하기 yum을 이용한 CentOS 6.x 에서 APM 설치하기 Apache 설치[root@localhost ~]# yum -y install httpd Apache Service 실행[root@localhost ~]# service httpd start 재부팅 후 Apache service 자동실행 등록 [root@localhost ~]# chkconfig --level 2345 httpd on MySQL 설치[root@localhost ~]# yum -y install mysql mysql-server MySQL Service 실행[root@localhost ~]# service mysqld start 재부팅 후 MySQL service 자동실행 등록 [root@localhost ~]# chkconfig -.. 2018. 10. 9. configure에서 configure: error: no acceptable C compiler found in $PATH 에러 발생시 configure에서 configure: error: no acceptable C compiler found in $PATH 에러 발생시 gcc 패키지 설치한 이후 다시 configure명령 실행yum install gcc 2018. 10. 9. CentOS에 Python3 설치하기 CentOS에 Python3 설치하기 0. 의존성 패키지 설치# yum install zlib-devel bzip2-devel sqlite sqlite-devel openssl-devel 1. 다운로드 URL 확인https://www.python.org/downloads/source/ 2. 다운로드 및 압축 풀기# cd /usr/local/src# wget https://www.python.org/ftp/python/3.6.3/Python-3.6.3.tar.xz# xz -d Python-3.6.3.tar.xz# tar xf Python-3.6.3.tar# cd Python-3.6.3 3. 설치# ./configure --prefix=/usr/local --enable-shared LDFLAGS="-Wl,.. 2018. 10. 9. VI 에디터 사용법 VI Editor 1. 시작하기 # vi filename [Enter]# view filename [Enter]# vi -R filename [Enter] 읽기 전영으로 vi시작 옵션 :+[n] 파일내용을 버퍼로 불러들일 때 파일 내용의 마지막 부분만 화면에 출력하게 하는 옵션으로 n은 줄의 수를 의미함-r 파일 편집 도중 정전이나 시스템 장애로 버퍼내의 파일 손상시 복구시킴 -wn 한 화면에 나타내는 줄 수는 평균 23줄인데 많은 라인의 경우 사용자가 임의대로 출력 줄 수를 조정함 -c # vi -c /hahaha/ filename [Enter] vi 편집기 버퍼로 불러들이고 'hahaha' 이라는 단어를 검색하여 그곳에 커서를 위치시킴 Example > # vi 화일명.확장자 # vi use.c [E.. 2018. 10. 9. 이전 1 ··· 16 17 18 19 20 21 22 ··· 28 다음 반응형