728x90
반응형

리눅스 18

[MAC] M1 실리콘 맥북에 윈도우11 설치(VMware Fusion13)

[MAC] M1 실리콘 맥북에 윈도우11 설치(VMware Fusion13) 1. VMware Fusion 다운로드 및 설치 https://www.vmware.com/kr/products/fusion/fusion-evaluation.html Download VMware Fusion | VMware Fusion 13 Player and Fusion 13 Pro are the best way to run Windows, Linux and more on the latest Macs, and the ultimate development and testing utility. Discover why. www.vmware.com 여기서 계정만들고 다운하면 됩니다. 2. Windows 11 클라이언트 ARM64 Ins..

리눅스 2023.04.06

[Linux] 로그분석 명령어

# tail -f /var/log/secure 위 명령어를 쓰면 원격 로그를 실시간으로 볼 수 있다. 근데 내용이 너무 많아서 실시간으로 하나씩만 보고싶다면 # tail -n 1 -f /var/log/secure 이렇게하면 종료되지 않고 계속 마지막내용이 추가될때마다 실시간으로보여줌. 근데 이것도 너무많으면 그냥 failed password Accepted password 로그만 따로 목록화해서 로그인시도와 성공여부만 확인할 수도 잇음 # egrep "Failed password|Accepted password" /var/log/secure 위방법을 쓰면 실시간조회보단 목록을 쭉 뽑고 판다스로 해서 보고서 작성에 유리하다.

리눅스 2023.02.20

[Linux] CentOS7 워드프레스 설치, DB설정 (+다운로드 링크)

CentOS7 워드프레스 설치, DB설정 (+다운로드 링크) -목차- 1. 워드프레스 다운로드 2. 워드프레스 설치 3. 워드프레스 DB설정 4. 워드프레스 웹서버 설정 1. 워드프레스 다운로드 https://ko.wordpress.org/download/ Download Download WordPress today, and get started on creating your website with one of the most powerful, popular, and customizable platforms in the world. ko.wordpress.org 요 링크에서 다운하면 됩니다. 기왕이면 최신버전이 좋은데 저는 모의침투용이라 5.8.5버전으로 다운했습니다. 2. 워드프레스 설치 단 두줄이면 ..

리눅스 2023.02.01

[Linux] CentOS7 Apache 설치

CentOS7 Apache 설치 -목차- 0. apache 계정 생성 및 확인 1. configure 진행시 필요한 패키지와 설정 내용 2. make, make install 3. 설치 디렉토리 소유주, 그룹 이전 4. 데몬 스크립트 파일 생성 5. 데몬 구동, 자동 시작, 방화벽 개방(영구) 0.apache 계정 생성 및 확인 # useradd -u 48 -c "Apache Server" -d /usr/local/apache2 -s /sbin/nologin apache # grep apache /etc/passwd apache:x:48:48:Apache Server:/usr/local/apache2:/sbin/nologin 1. configure 진행시 필요한 패키지와 설정 내용 소스 파일 : http..

리눅스 2023.01.31

[Linux] 칼리리눅스 초기설정(모의침투용 환경구축)

칼리리눅스 초기설정(모의침투용 환경구축) -목차- 1. 계정활성화 2. 네트워크설정 3. 한글설치 4. SSH 설치 5. 웹서비스 구축 6. 삼바 서비스 구축 1. 계정활성화 루트계정을 활성화 # sudo passwd root # su - 2. 네트워크설정 유동IP를 고정IP로 바꾼다. # vi /etc/network/interfaces # vi /etc/resolv.conf # apt-get update # apt-get upgrade 3. 한글설치 # apt-get install im-config nabi fonts-nanum* # im-config # sync # reboot 4. SSH 설치 Secure Shell에서 원격접속을 하기위함 # apt-get install openssh-server ..

리눅스 2023.01.21

[Linux] CentOS7 Roundcube 메일서버 설치

CentOS7 RoundMAil서버 설치 roundcube 메일서버는 웹서버에 추가하여 사용하는 어플리케이션이다. -목차- 1. 패키지 설치 2. PHP 연동 확인 3. 어플리케이션 설치 4. roundcube 초기설정 5. 웹서버에 추가 6. Test Config 1. 패키지 설치 요구 패키지 http, mysql-server(mariadb-server), php php-mysqlnd, php-gd, php-mbstring, php-pecl-zip, php-json, php-intl, php-pecl-imagick, php-ldap, php-xml yum install 명령어 [root@ns1 ~]# yum install php74-php php74-php-mysqlnd php74-php-gd php7..

리눅스 2023.01.16

[Linux] CentOS7 DNS서버 구축

CentOS7 DNS서버 구축 -목차- 1. bind 패키지 설치 및 업데이트 2. /etc/named.conf 수정 3. named.cache파일 생성및 수정 4. named서비스 구동 및 enable 5. 방화벽 개방 6. Windows와 Linux에게 동작 확인 - 자신의 도메인 (cyz.co.ki)을 모든(any) 클라이언트에게 응답 - 타 도메인(재귀질의)을 127.0.0.1과 우리 네트워크(192.168.0.0/24)에게 응답 - root Domain에대한 최신 정보 유지를위해 업데이트 1. bind 패키지 설치 및 업데이트 # yum install bind # yum update bind 나같은경우 이미 있어서 Nothing to do. 2. /etc/named.conf 수정 # vi nam..

리눅스 2022.12.28
728x90
반응형