본문 바로가기

분류 전체보기

(113)
네트워크 위치 정책 변경 gpedit.msc (로컬 그룹 정책 편집기) 실행 그림과 같이 네트워크 속성에서 위치 설정
How to Increase the size of a Linux LVM by expanding the virtual machine disk (펌) (펌) https://www.rootusers.com/how-to-increase-the-size-of-a-linux-lvm-by-expanding-the-virtual-machine-disk/How to Increase the size of a Linux LVM by expanding the virtual machine diskPosted by Jarrod on December 12, 2012Leave a comment (148)Go to commentsThis post will cover how to increase the disk space for a VMware virtual machine running Linux that is using logical volume manager (LVM). Fi..
[MAN] ip command Nameip - show / manipulate routing, devices, policy routing and tunnelsSynopsisip [ OPTIONS ] OBJECT { COMMAND | help }OBJECT := { link | addr | addrlabel | route | rule |neigh | tunnel | maddr | mroute | monitor }OPTIONS := { -V[ersion] | -s[tatistics] | -r[esolve] | -f[amily] { inet | inet6 | ipx | dnet | link } | -o[neline] }ip link set DEVICE { up | down | arp { on | off } | promisc { on | o..
/proc/sys/net/ipv4/* Variables: /proc/sys/net/ipv4/* Variables: ip_forward - BOOLEAN 0 - disabled (default) not 0 - enabled Forward Packets between interfaces. This variable is special, its change resets all configuration parameters to their default state (RFC1122 for hosts, RFC1812 for routers) ip_default_ttl - INTEGER Default value of TTL field (Time To Live) for outgoing (but not forwarded) IP packets. Should be between 1 a..
[SMART] smartctl, smartmontools linux에 있는 유용한 smartctl HDD/CF/SSD 에서 smart 기능을 지원할 경우 storage 상태를 미리 점검하여 완전히 뻗어버리는 것을 사전에 알 수 있다. 다음은 bad sector 를 가지고 있는 불량 하드에서 확인한 결과, 데이터를 copy 하다가 멈추거나 mount가 계속 끊어지는 현상이 있는 하드였다. (NT 에서 사용하던 HDD) 매우 심각한 상태임을 알 수 있다. root@ubuntu:~# smartctl -a /dev/sdbsmartctl 6.4 2014-10-07 r4002 [x86_64-linux-4.2.0-16-generic] (local build)Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmo..
[OUI] OUI List http://standards-oui.ieee.org/oui.txt
[shell] 특정 단어가 포함된 파일을 찾아 삭제하기 외 # grep "abc" * -iR | awk -F: '{print $1}' | sed "s/.*/rm -rf \0/" | shabc가 포함된 파일을 찾아 삭제한다. # find . -not -path "./folder/*" | xargs grep abc *grep 으로 abc를 찾는데 folder는 제외한다.
[Sendmail] mqueue 1. linux에서 sendmail을 통해 메일을 발송하면 일반적으로 /var/spool/mqueue 에 쌓아 놓고 발송한다.2. 발송한 메일이 정상 수신되지 않아 반송되거나 받는 메일주소가 정확치 않아 발송이 실패하면 mqueue 에 남는다.3. sendmail 설정에 따라 주기적으로 다시 보내다가 일정 시간이 지나면 최종적으로 발송 실패처리되고 삭제된다. 1) queuing 상황 보기# sendmail -bp 2) sendmail.cf 관련 설정# minimum time in queue before retry (30분마다 다시 보낸다. 기본은 주석처리) O MinQueueAge=30m# 5day 후에도 queue에 남아 있으면 삭제한다. O Timeout.queuereturn=5d# 최초 발신자에게 ..
[Ubuntu] runlevel Ubuntu 15.10을 설치했는데 /etc/inittab 이 보이지 않는다./etc/init/rc-sysinit.conf 도 보이지 않는다. 1. /etc/default/grub 파일을 열고2. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" 을 GRUB_CMDLINE_LINUX_DEFAULT="quiet splash text" 등으로 변경 또는 GRUB_CMDLINE_LINUX_DEFAULT="" 비어있는 값에 추가 3. update-grub
용어 (ES, TP, PP, MP...) 제조업에서의 일반적인 기획 -> 개발 -> 양산과정의 제품생산 용어* 기획 -> ES -> TP -> PP -> MP -> QC1) 기획2) ES (Engineering Sample) 양산용 부품과 금형을 이용한 기구물로 Sample을 제작 (Engineering Sample Production) 제품 기능, 성능, 안정성, 신뢰성, 기구 등을 검토(주관부서 : 연구개발)3) TP (Test Production) ES 품평회 등 결과에 의거, 설계목표 달성에 대해 관련부서로부터 검토, 확인 및 양산용 설비 및 공정설계를 확인. PP를 위한 제반사항 준비(주관부서 : 생산기술부서 및 연구개발)4) PP (Pre-Production) TP 결과에 의거 개발제품의 설계, 제조상의 문제점 및 제조 설비, 공정 ..
Ubuntu Upgrade 1. 버전확인$ uname -mrs $ lsb_release -a Ubuntu Servers (Recommended)If you installed from 14.04 or 12.04 originally you will need to remove LTS upgrade restrictions. Replace Prompt=lts with Prompt=normal: sudo pico /etc/update-manager/release-upgradesInstall update-manager-core if it is not already installed:sudo apt-get install update-manager-coreLaunch the upgrade tool:do-release-upgradeFollow th..
USB 3.0 (xHCI) USB : Universal Serial BusAHCI : Advanced Host Controller Interface. OHCI / UHCI : Open Host Controller Interface (OHCI)Intel Universal Host Controller Interface (UHCI) (USB 1.0 : 1.5 Mbps and 12 Mbps)EHCI : Intel Enhanced Host Controller Interface (EHCI) (USB 2.0 : 480 Mbps)XHCI : Intel eXtensible Host Controller Interface (xHCI) (USB 3.0 : 5 Gbps)
rm: Argument list too long - Solution (펌) (펌) http://linuxconfig.org/bash-bin-rm-argument-list-too-long-solution -bash: /bin/rm: Argument list too long - SolutionContents[Hide]SymptomsSolution1. SymptomsThis error message appears when you try to remove, move or copy a long list of files. When using your shell a command can only accept a limited number of arguments. When the number of arguments supplied to the command exceeds the permitt..
[Testlink] Bad Request (Cookie) Error How to deal with Testlink Cookies Exceeding LimitsSymptomWhen you cannot login any more in Testlink because of the following error:Bad Request Your browser sent a request that this server could not understand. Size of a request header field exceeds server limit. Cookie it means that some of the cookies used by Testlink have grown too big for a normal HTTP header.WorkaroundIf you are using Apache..
[VMware_ESXi] Waiting for loading ipmi_si_drv ? First a test-run to make sure only this VIB is affected:# esxcli software vib remove --dry-run --vibname ipmi-ipmi-si-drvRemoval Result Message: Dryrun only, host not changed. The following installers will be applied: [BootBankInstaller] Reboot Required: true VIBs Installed: VIBs Removed: VMware_bootbank_ipmi-ipmi-si-drv_39.1-4vmw.510.1.12.1065491 VIBs Skipped: Now for the actual removal:# esxcl..
Master Lock 자물쇠 설정
[PHP] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted apache 에서 특정 페이지가 열리지 않는 경우, error_log를 보면 다음과 같은 문구가 있다. [error] [client 10.61.20.1] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted(tried to allocate 69457921 bytes) in Unknown on line 0 이 경우 php.ini 파일의 메모리가 기본 128MB로 되어 있는 제한 때문인데 다음과 같이 늘려준다. ; Maximum amount of memory a script may consume (128MB); http://php.net/memory-limit;memory_limit = 128Mmemory_limit = 1024M
file 정보 확인 [root@qahuni ~]# file -i a.txt a.txt: text/x-c++; charset=us-ascii[root@qahuni ~]# file a.csv a.csv: text/plain; charset=iso-8859-1[root@qahuni ~]#
[Switch][Juniper] Crash System stuck on Boot-up http://kb.juniper.net/InfoCenter/index?page=content&id=KB20464[Upgrade EX switch] Stage 4 – Troubleshoot upgrade failure/crash – System stuck on Boot-up [KB20464] Show KB PropertiesSUMMARY: This article documents Stage 4 – Troubleshoot upgrade failure/crash. The EX device may get stuck in the boot process and fail to load the Junos. This article addresses the recovery methods. To go directly to ..
[File System] (GPT) 16TB 이상 사용하기 [root@backupsv ~]# parted /dev/sdbGNU Parted 2.1Using /dev/sdbWelcome to GNU Parted! Type 'help' to view a list of commands.(parted) print Error: /dev/sdb: unrecognised disk label (parted) mklabel gpt(parted) p Model: DELL PERC H710P (scsi)Disk /dev/sdb: 22.0TBSector size (logical/physical): 512B/512BPartition Table: gpt Number Start End Size File system Name Flags(parted) mkpart Partition name?..
[fstab] fstab _netdev & cifs username //192.168.1.112/myshare /home/USER/data cifs _netdev,username=USERNAME,password=MYPASSWORD,uid=UID,gid=GID0 0
fstab 오류로 부팅되지 않을 경우 Repair 모드로 들어가서 fstab을 수정하려 해도 수정할 수 없다.이 경우 다음과 같이 하면 수정할 수 있게 된다. Repair filesystem # mount -o remount,rw /
/proc ------------------------------------------------------------------------------ T H E /proc F I L E S Y S T E M ------------------------------------------------------------------------------ /proc/sys Terrehon Bowden October 7 1999 Bodo Bauer 2.4.x update Jorge Nerin November 14 2000 move /proc/sys Shen Feng April 1 2009 ----------------------------------------------------------------------------..
[Mantis] 모든 이슈 감시하기 이슈리스트를 전체 선택해서 감시하기를 추가하는 기능이 있으면 좋겠지만, 아쉽게도 이동, 복사 같은 것은 있어도 감시하기는 찾을 수 없었다.좀 무식한 방법이지만 DB로 가능하다.1. 감시할 계정에 대한 user_id 를 mantis_user_table 에서 찾는다. 여기서는 test001 계정이고 이의 user_id 가 2 라고 가정하자. 2. PROCEDURE를 만든다. mysql> delimiter $$ mysql> CREATE myFunction3() -> BEGIN -> DECLARE i INT DEFAULT 1; -> WHILE (i INSERT INTO mantis_bug_monitor_table VALUES(2,i); -> SET i=i+1; -> END WHILE; -> select * fr..
[Mantis] 여러 이슈를 한번에 버전 변경하기 (print_all_bug_action_option_list() 에 product version 추가하기) 이슈보기 화면 하단에 여러 이슈를 다중 선택하고 한번에 이동한다던지 상태를 변경한다던 일괄 작업을 할 수 있다. 그런데 해결버전이나 타켓버전은 있지만 유독 제품 버전은 찾아볼 수 없었다.비슷하게 Update Product Build 가 있는데 이것은 제품 버전이 아니라 빌드 번호 변경이었다.하여, 제품버전 (위 이미지의 Update Product Version)을 추가해 보았다.1. view_all_inc.php 파일 에 다음 부분이 action 이다. # -- ====================== MASS BUG MANIPULATION =================== --?>
[Testlink] 원인을 알 수 없는 File Upload Issue 로그도 남지 않고 아무런 에러 메시지 없지 파일 업로드가 동작하지 않는 문제가 있었다.1.9.12 버전인데 repository_max_filesize 가 MB 단위로 표시되어 있는데 설정값 2048 에서는 동작하지 않다가2048000000 으로 설정하니 동작한다. 아무래도 MB 단위 버그인 듯 싶다. // the maximum allowed file size for each repository entry, default 1MB.// Also check your PHP settings (default is usually 2MBs)$tlCfg->repository_max_filesize = 2048000000; //MB // TRUE -> when you upload a file you can give no..
[공유기]SKB Mercury RUSH 315N ID : admin PASS : skb_wifi
[Mantis] 이슈 보기(view_all_bug_page)에서 특정 필드를 특정 사용자만 보기 AMDMIN 계정으로, 관리 -> 설정사항 관리 -> Configuration_Report 로 이동.Database Configuration 설정.맨 하단의 설정 항목 입력 후 추가 사용자 ID -> 특정 사용자프로젝트 이름 -> 모든 프로젝트 (or 특정 프로젝트만)Configuration Option -> view_issues_page_columnsType -> ComplexValue 는 아래의 Sample 참조. (칠한 부분이 Custom Field 이며, 이슈 리스트에서 보이도록 설정한 것)array ( 0 => 'selection', 1 => 'edit', 2 => 'priority', 3 => 'id', 4 => 'sponsorship_total', 5 => 'bugnotes_count', 6..
[Mantis] CSV Export 한글 깨짐 http://www.mantisbt.org/bugs/view.php?id=9034Mantis 1.2.9 에서 해결. UTF-8 관련 이슈
[VMware][ESXi] VMWare vSphere ESXi v5.5 Install Errors (hoststoragesystem computediskpartitioninfo error) ESXi 5.5 에서 HDD를 추가하려고 할 때 hoststoragesystem computediskpartitioninfo error 가 나며 안되는 경우가 있다. 이 경우 대부분 Linux Partition 이 남아 있는 HDD 일 경우 발생한다.다음과 같이 수동으로 삭제하고 다시 하면 문제가 없다. ~ # esxcfg-scsidevs -lmpx.vmhba36:C0:T0:L0 Device Type: CD-ROM Size: 0 MB Display Name: Local hp CD-ROM (mpx.vmhba36:C0:T0:L0) Multipath Plugin: NMP Console Device: /vmfs/devices/cdrom/mpx.vmhba36:C0:T0:L0 Devfs Path: /vmfs/dev..