MBR GPT MBR GPT Supports disks larger than 2TiB. Supports partitions larger than 2TiB. Supports more than four partitions, with no distinction between primary, extended, and logical partitions. Uses GUIDs as type codes, which means there’s less risk of conflicting/duplicate codes. Uses LBA addressing exclusively, compared to MBR’s dual use of LBA and CHS. (Even […]
Let’s Encrypt
Let’s Encrypt SSL/TLS, HTTPS 암호화를 위한 인증서를 무료로 발급 가능. mozila, cisco, chrome 등이 참여하는 opensource certbot client 설치 git clone 을 이용하거나 소스를 내려받아 바로 사용할 수 있다. git clone https://github.com/letsencrypt/letsencrypt 또는 wget https://github.com/certbot/certbot/archive/master.zip 명령으로 소스를 내려받아 압축을 풀고 해당 디렉토리로 들어가서, letsencrypt-auto 쉘 스크립트를 실행하면 sudoer 또는 root 권한이 있는 사용자인지 확인한 뒤 […]
openssl generate self-signed certification
openssl generate self-signed certification ./openssl req -new -x509 -days 365 -nodes \ -out /path/to/pem/file -newkey rsa:2048 \ -keyout /path/to/key/file
[Windows] OpenSSH Client
Windows openssh client Windows 에서도 opessh client 를 기본 제공한다. 가볍게 사용하기 위해서 putty를 쓸 필요는 거의 없어진 것 같고, X 를 사용하는게 아니라면 .bat 파일을 생성해서 관리하는 것도 나쁘지는 않은 것 같은데 아직은 X Shell 평가판이 익숙해서 더 좋은 것 같다. C:\Windows\System32\OpenSSH 경로에 가보면 다음과 같이 scp, sftp도 있음. — scp.exe sftp.exe ssh-add.exe ssh-agent.exe […]
[Linux] sshd
Parameters PermitRootLogin root 계정에 대한 ssh 접근 허용 여부 yes no ClientAliveInterval ssh 클라이언트의 유지 기간 sec 단위 ClientAliveCountMax ClientAliveInterval 카운트 AllowUsers 로그인 허용 사용자 리스트 Jan 24 00:00:00 host sshd[11111]: User root from localhost not allowed because not listed in AllowUsers AllowGroups 로그인 허용 사용자그룹 리스트
[Linux] rdate
rdate 인터넷 접근 가능한 경우 time.bora.net time server 의 네트워크 시간대 가져오기 rdate -s time.bora.net CMOS 시간 업데이트 clock -w http://mslee89.tistory.com/74
[Linux] dmidecode
dmidecode # dmidecode -V 3.0 # dmidecode -h Usage: dmidecode [OPTIONS] Options are: -d, –dev-mem FILE Read memory from device FILE (default: /dev/mem) -h, –help Display this help text and exit -q, –quiet Less verbose output -s, –string KEYWORD Only display the value of the given DMI string -t, –type TYPE Only display the entries […]
[Linux] TIMEZONE 변경하기
시스템에서 사용 가능한 TIMEZONE 리스트 확인 timedatectl list-timezones 서울 설정 timedatectl set-timezone Asia/Seoul
[Linux] rsyslog timestamp format
vi /etc/rsyslog.conf #Use default timestamp format #$ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat $ActionFileDefaultTemplate RSYSLOG_FileFormat service rsyslog restart https://rsyslog-5-8-6-doc.neocities.org/rsyslog_conf_templates.html https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux_OpenStack_Platform/3/html/Installation_and_Configuration_Guide/Starting_rsyslog_Server.html