참조: https://morioh.com/a/4f00fb2f50c0/ubuntu-2204-php Ubuntu 22.04에 여러 PHP 버전 설치 이 튜토리얼에서는 Ubuntu 22.04 LTS 시스템 에 PHP를 설치하는 방법을 배웁니다 . 이 튜토리얼은 Ubuntu 20.04 및 18.04 시스템 과도 호환됩니다 . 1단계: 시스템 업데이트 먼저 콘솔을 통해 Ubuntu 22.04 에 로그인합니다 . 그런 다음 Apt 캐시를 업데이트하고 다음 명령을 사용하여 시스템의 현재 패키지를 업그레이드합니다. sudo apt-get update sudo apt-get upgrade 메시지가 표시되면 y를 눌러 설치를 확인합니다. 2단계: Ubuntu 22.04에 여러 PHP 버전 설치 여러 버전의 PHP를 설치하..
# 설치 환경 : Ubuntu 18.04.6 APT 패키지 관리 HTTPS 사용 활성화 $ sudo apt install apt-transport-https Elastic GPG Key 등록 $ wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add - OK Elastic 저장소 추가 $ echo "deb https://artifacts.elastic.co/packages/7.x/apt stable main" | sudo tee /etc/apt/sources.list.d/elastic-7.x.list deb https://artifacts.elastic.co/packages/7.x/apt stable main Ela..
wget -r -nH --cut-dirs=1 -nc ftp://username:password@server_ip/path/directory.... -r : 재귀 호출 -nH : 호스트명으로 디렉터리 생성 안함 -cut-dirs : 절대 경로 디렉터리 생성하지 않도록 앞에서부터 수량만큼 절삭, 적당히 조절 필요 -nc : 동일한 파일명 다운로그 안함 -m : 미러링, 해당 옵션을 사용할수도 있으나 가끔 ftp 서버 timestamp 에러 발생하니 그냥 -r 옵션 사용
Ubuntu 20.x 이후 버전에는 rc-local 서비스가 비활성화 되어 있다. 1. /etc/rc.local 파일 생성 [localhost$ ] sudo nano /etc/rc.local #!/bin/bash iptables -A OUTPUT -p tcp --tcp-flags RST RST -j DROP # 실행할 명령어 exit 0 [localhost$] sudo chmod +x /etc/rc.local 2. /lib/systemd/system/rc-local.service 파일 수정 [localhost$ ] sudo nano /lib/systemd/system/rc-local.service # SPDX-License-Identifier: LGPL-2.1+ # # This file is part o..
환경번수 중에 'HISTTIMEFORMAT' 을 설정하면 된다. 시스템 운영 상황에 따라 /etc/profile, ~/.bash_profile, ~/.bashrc 파일에 하단 내용을 추가해 주면 된다. export HISTTIMEFORMAT="[%F %T] " %F: YYYY-MM-DD 날짜 포맷 %T: HH:MM:SS 시간 포맷 대괄호([])는 자신이 원하는 다른 문자로 변경하면 좋을 듯... 대괄호 옆에 공백을 넣어주면 history 출력 시 좀 보기 좋다. ** HISTTIMEFORMAT="[%Y-%m-%d %H:%M:%S] "
* 참조: https://www.liquidweb.com/kb/how-to-install-python-3-on-centos-7/ * 운영체제: Centos 2207-02 * Python 버전: v3.11.1 * CentOS Minimal 로 설치 * yum으로 패키지 설치 [localhost /#] yum install -y gcc openssl-devel bzip2-devel libffi-devel * python 3.11.1 업로드 및 설치 [localhost /#] cd /var/tmp [localhost /#] tar zxf Python-3.11.1.tgz [localhost /#] cd Python-3.11 [localhost /#] ./configure --enable-optimizations..
참조 : https://www.cyberciti.biz/tips/configuring-static-routes-in-debian-or-red-hat-linux-systems.html Configure Static Routes In Debian or Red Hat Enterprise Linux Author: Vivek Gite Last updated: December 19, 2018 41 comments Static routes improve the overall performance of your network (especially bandwidth saving). They are also useful in stub networks (i.e. there is only one link to the netw..
- Total
- Today
- Yesterday
- metasploitable3
- recovery file on linux
- 도커
- megacli
- bash modification
- tshark
- NX ASLR
- pcapng
- dvwa
- tcpdstat
- ssl decrypt
- dvwa_command
- docker
- oracle 11gr2
- text2pcap
- 리눅스 버전
- dvwa_bruteforce
- bash parameter
- 윈도우 패스워드 복구
- MySQL csv
- cisco ssh
- editcap
- filesystem check
- history timestamp
- ${1##*.}
- capinfos
- excel_aton
- webhack
- docker_dvwa
- mergecap
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |