본문 바로가기

Engineering

(97)
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..
[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
/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..
[Mantis] Product Version list Sorting 하여 보기 제품 버전을 추가하여 사용하다 보니 추가된 시간대로 정렬이 되어 보기 좋지 않다. 버전별로 소팅하기 위해 설정값들을 찾아보았으나 없었다. 결국 쿼리문을 수정하여 해결. core/version_api.php 파일에 'ORDER BY'로 검색하여 date_order 로 되어 있는 것을 'version'으로 모두 변경. (주의) 다음 부분은 수정하면 안된다. Roadmap 에서 Error가 발생한다. $query = "SELECT * FROM $t_project_version_table WHERE project_id IN (" . implode( ',', $c_project_id_array ) . ') ORDER BY date_order DESC'; 다음 부분을 수정한다. (Version 1.2.1 기준) 1..
[Mantis] 계정 관리 페이지(manager_user_page.php) 에서 실명으로 기본 정렬하기 manager_user_page.php 에서 다음과 같이 변경합니다. $f_sort = gpc_get_string( 'sort', 'realname' ); //$f_sort = gpc_get_string( 'sort', 'username' );
[Printer] HP Officejet 6600 초기화 1. 홈 -> 백 -> 홈 -> 홈 순서대로 누른다. (안보여도) 2. 엔지니어 모드에서 service로 간다. 3. Reset -> OOB 초기화를 한다.
[Dell Switch] * Policy Based Routing 100.100.11.0/24 를 Src로 하는 패킷은 PBR에 적용하되 100.100.11.0/24 간에는 PBR에 적용받지 않게 한다. (Dell Switch Firmware 6.1.1.7 이전 버전에는 PBR를 포함한 많은 버그가 있으니 이상 버전으로 업그레이드하여 사용한다. ip access-list V11 permit ip 100.100.11.0 0.0.0.255 any exit ip access-list V11-NONE permit ip any 100.100.11.0 0.0.0.255 exit route-map "V11" deny 10 match ip address V11-NONE exit route-map "V11" permit 20 match ip a..
[Testlink] 요구사항명세 등 입력창 (textarea/FCKeditor) size 조정하기 TestLink는 TEST Editor로 FCKeditor를 사용하고 있다.그런데 이 창은 아래 그림과 같이 Height가 낮아 많은 양을 입력하기에는 불편하다. 높이를 좀 더 크게 하고 싶을 경우 다음 파일 등을 수정하면 된다.경로 : testlink/third_party/fckeditor/fckeditorXXXXX.php (서너개 정도의 파일이 있다.) public function __construct( $instanceName ) { $this->InstanceName = $instanceName ; $this->BasePath = '/fckeditor/' ; $this->Width = '100%' ; $this->Height = '200' ; $this->ToolbarSet = 'Default' ..
eth0, eth1 등 인터페이스 순서 정의하기 1. 수정 : /etc/udev/rules.d/70-persistent-net.rules원하는 인터페이스에 맞추어 다음과 같이 수정한다. # This file was automatically generated by the /lib/udev/write_net_rules# program, run by the persistent-net-generator.rules rules file.## You can modify it, as long as you keep each rule on a single# line, and change only the value of the NAME= key. # PCI device 0x8086:0x100f (e1000)# PCI device 0x8086:0x100f (e1000)SU..
[생산] SMT(Surface Mount Technology) (펌) 'SMT'는 인쇄 회로 기판(PCB)의 표면에다가 직접 실장할 수 있는 '표면 실장 부품(Surface Mounted Components, SMC)'을 전자 회로에 부착시키는 기술이다.이렇게 만들어진 전자 소자를 '표면 실장 소자 (Surface-Mount Devices, SMD)'라고 부른다. 즉, 인쇄 회로 기판(PCB) 위에다가 반도체나 다이오드, 칩 등을 다수의 장비로 실장하고 이를 경화시키는 기능을 수행하는 기술을 말한다.[출처] SMT(Surface Mount Technology) 표면 실장 기술이란?|작성자 엑스포쟁이
[IE] Internet Explorer 10 에서 Flash가 보이지 않을 때 1. Internet Explorer 메뉴에서 도구 -> 추가 기능 관리에서 Shockwave Flash Object 가 정상 등록되어 있고 '사용 함'으로 되어 있는지 확인 (메뉴가 보이지 않으면 Alt KEY를 누른다.) 2. Internet Explorer 메뉴에서 도구 -> 인터넷 옵션 -> 고급 탭에서 가속 그래픽의 'GPU 렌더링 대신 소프트웨어 렌더링 사용'을 Check 하거나 Check 되어 있으면 Check를 해제한다.
DNS Server List KT 168.126.63.1 168.126.63.2 SK Broadband 210.220.163.82 219.250.36.130 LG U+ 164.124.101.2 164.124.107.9 203.248.242.2 Google public 8.8.8.8 8.8.4.4 하나로 DNS 210.220.163.82 219.250.36.130 210.94.0.73 221.139.13.130 드림라인 DNS ns.cjdream.net 210.181.1.24 ns2.cjdream.net 210.181.4.25 신비로 DNS ns.shinbiro.com 202.30.143.11 ns2.shinbiro.com 203.240.193.11 데이콤 DNS ns.dacom.co.kr 164.124.101.2 ns2.dacom...
[Power] SSR(Solid State Relay) vs Relay(Magnet Relay) (펌) 출처 : http://www.iworldtech.com/6_info/0103.php ◆ Solid State Relay 기술자료1.S.S.R의 개요MAGNET RELAY가 전자력에 의한 동작으로 이루어지는 방식인 반면에 S.S.R은 기계적인 접점 구조가 없는 [무접점 릴레이] 로서 스위칭 반도체 소자를 사용하여 케이스에 수지 몰딩된 상태로 스위칭이 이루어 지는 방식으로 완전히 고체화된 전자 스위치이다. S.S.R은 MAGNET RELAY에 비해 신뢰성이 높고 수명이 길며, 노이즈(EMI)와 충격에 강하고 소신호로 동작하며 응답 속도가 빠른 우수한 특성을 지니고 있어 산업기기, 사무기기 등의 광범위 분야에서 정밀 제어시 적용하기에 적합하다. 2.S.S.R의 특징1)PHOTO COUPLER 로 입출력..
[Latency] Jitter or Packet Delay Variation or Latency VAR (펌) http://www.paessler.com/knowledgebase/en/topic/18953-what-the-difference-between-packet-delay-variation-and-jitter the OoS Sensor measures Jitter and Packet Delay Variation according to RFC 3550 and RFC 3393. Please see the IETF Website for exhaustive information. In RFC 3393, please also see the section regarding terminology: 1.1. Terminology The variation in packet delay is sometimes calle..
[vi, vim] vi/vim 치환 :.,+20s/^/#/gc : 현재부터 20라인 뒤까지 치환을 하는데, 맨 앞에 #을 전역변수로 전부 입력하고 입력할때 정말 할껀지 물어봐라.(.) (+20) (s) (^) (#) (g) (c)^ : 맨앞$ : 맨뒤. : 현재% : 전체s : 치환c : 물어보기Ctrl+V : 블럭지정 (vim에서만 된다.) 라인마다 맨 앞에 http:// 를 추가하려면? :%s/^/http:\/\//g /는 \/로 입력한다. 2. 환경 설정/etc/vimrc"QAHUNI"set autoindentset shiftwidth=4set tabstop=4set expandtabset smartindentset cindentset numberset hlsearch (highlight) 3. 화면분할화면 나누기 ..