본문 바로가기

OS-OE Knowledge213

Create Dummy Big files Create Dummy Big files dd if=/dev/zero of=dummy1G.txt count=1024 bs=1048576 for SSD, no bytes are physically written on the medium at all, so no have to be deleted dd if=/dev/zero of=dummy1T.txt bs=1 count=0 seek=1T dd if=/dev/zero of=dummy1G.txt bs=1 count=0 seek=1G for i in {1..100}; do dd if=/dev/zero of=dummy1G-$i bs=1 count=0 seek=1G; done written to media fallocate -l 4G dummy4G.txt for i .. 2018. 6. 8.
RHEL7/Copy/Move/Remove - Entire Directory cp -r source_directory target_directorymv source_directory target_directoryrm -rf target_directory출처: 리눅스에서 폴더 통째로 복사하기 https://zetawiki.com/wiki/%EB%A6%AC%EB%88%85%EC%8A%A4%EC%97%90%EC%84%9C_%ED%8F%B4%EB%8D%94_%ED%86%B5%EC%A7%B8%EB%A1%9C_%EB%B3%B5%EC%82%AC%ED%95%98%EA%B8%B0 2018. 6. 8.
Gen10/Install RHEL 7.3 use DUD 1. RHEL 7.x Media로 부팅 후 설치 메뉴 출력 때 'e' 키를 입력한다. - Highlight "Install Redhat enterprise linux 7.0" - Press "e" to edit grub - append the following install parameters at the end of the "linuxefi" line -- modprobe.blacklist=ahci inst.dd -- "setparams 'Install Red Hat Enterprise Linux 7.0' -- linuxefi /Images/pxeboot/vmlinuz inst.stage2=hd:LABEL-RHEL-7.0\x20Server .x86_64 quiet modprobe.blacklist=ah.. 2018. 6. 8.
Ubuntu/Useful Commands for initial Setup Disable/Manage Ubuntu firewall --------------------------------------- # sudo ufw disable or # sudo ufw enable # sudo ufw allow 22 --------------------------------------- Install Ubuntu Desktop(Unity) --------------------------------------- # sudo apt-get install ubuntu-desktop --------------------------------------- Install ssh --------------------------------------- # sudo apt-get install open.. 2018. 6. 7.
How can I set default program in Windows Server 2016? How can I set default program in Windows Server 2016? 1) move to Control Panel > Program > Default Programs > Set Default Programs 2) Select one of program what I want 3) Set this program as default 4) Click "OK" 2018. 5. 22.
Windows 2012/about Logical Processor Count of HOST 최신 하드웨어(매우 많은 Core를 갖는 CPU를 여러개 사용하는 시스템)에 Windows Server 2012 R2를 설치하는 경우, OS에 인식되는 CPU(Logical Processor)의 그룹과 수량이 상황에 따라, 다르게 나타날 수 있다. 특히 이 부분은 사용하는 응용프로그램에 영향을 준다. - DB등 소켓 단위로 라이센싱하는 프로그램 또는 코어 단위로 라이센싱하는 프로그램등 비용에 영향을 줄 수 있다. - 분산 처리하는 프로그램에 활용가능한 CPU 수량이 달라질 수 있다. Windows 특성 상, Processor Group(k-group) 한 개에 속할 수 있는 Logical Processor는 64개. Physical Processor(Socket)는 동일한 Processor Group에 .. 2017. 9. 1.
ssh connects to remote host - passwordless 계정 질의 없이 원격 호스트 접속하기Environment: My Host : 10.10.10.11 Remote Host : 10.10.10.12 1. 인증키 생성 (My Host) e.g.) # ssh-keygen -t rsa2. 연결 # ssh @e.g.) # ssh root@10.10.10.12 # exit (접속해제)3. 키 업로드 # cat .ssh/id_rsa.pub | ssh @ 'cat >> .ssh/authorized_keys'e.g.) # cat .ssh/id_rsa.pub | ssh root@10.10.10.12 'cat >> .ssh/authorized_keys'4. 권한 설정 # ssh root@10.10.10.12 "chmod 700 .ssh; chmod 640 .ssh/autho.. 2017. 4. 9.
RHEL/Linux Hostname Change RHEL 6.x 이하, /etc/sysconfig/network HOSTNAME= RHEL 7.x 이상, /etc/hostname hostnamectl set-hostname 2017. 4. 8.
WS2012/.Net framework 3.5 install failed - HPE ROK HPE Proliant와 함께 HPE ROK(Reseller Option Kit, HPE branded OEM) Windows Server 2012 OS 를 구매하여 설치하는 경우, MS의 알려진 이슈(.Net framework 3.5 설치 실패)를 경험 시 증상 해소에 대하여 확인해본다. Windows Server 2012는 설치 미디어에 .Net framework 3.5가 포함되어 제공된다. 그러나, 설치 시도하는 경우 실패하는 경우가 많이 보고되었고, 이에 많은 선구자(?)들이 삽을 뜬 후 해소 방법을 제시하고 있다. (인터넷 상에서 검색하면, 아래 범위를 벗어나지 않는다) 경험하는 오류 중 일부 GUI CLI Windows PowerShellCopyright (C) 2014 Microsoft Co.. 2016. 10. 14.
반응형