윈도우 대용량 파일 생성 테스트 admin 2015.04.10 파일 이동 복사 테스트 진행하기 위해서 대용량 파일 생성 테스트 fsutil file createnew d:\test.txt 1024 이렇게 하면 1kbyte fsutil file createnew d:\test.txt 1024000 이렇게 하면 1mbyte fsutil file createnew d:\test.txt 1024000000 1Gbyte 이렇게 하면 1mbytefsutil file createnew d:\test.txt 10240000000 이렇게 하면 10Gbyte Read More..
리눅스 hdd 읽기. 쓰기 테스트 admin 2015.03.19 dd 명령어를 이용 if 읽기 / of,if=/dev/zero 쓰기 테스트 쓰기 테스트[root@localhost ~]# time dd if=/dev/zero of=/var/test bs=8k count=1000000 1000000+0 records in 1000000+0 records out 8192000000 bytes (8.2 GB) copied, 8.92194 s, 918 MB/s real 0m8.924s user 0m0.151s sys 0m8.763s 읽기 테스트 [root@localhost ~]# time dd if=/var/test of=/dev/null bs=8k count=1000000 1000000+0 records in 1000000+0 records out ... Read More..
Using a password on the command line interface can be insecure admin 2015.03.06 Using a password on the command line interface can be insecure mysql 5.6 버전으로 올라가면서 패스우드 정보를 쉘 상태에서 입력하게 되면 위와 같이 에러 메세지가 발생된다 (실제 에러 메세지가 아닌 경고 메세지이다 ) 그럼 이 메세지를 나오지 않게 구성하려면 어떻게 해야 하나? mysql 5.6 버전에 새로 생긴 mysql_config_editor 툴을 이용하여 로그인 파일을 저장해 놓고 해당 파일을 옵션으로 지정하여 사용 1. 파일 생성하기 [root@localhost ~]# /usr/local/mysql/bin/mysql_config_editor set –login-path=xinet –host=localhost –user=xinet –passwo... Read More..
date unixtime admin 2015.03.06 현재 시간을 unixtime 으로 변경시 아래와 같이 입력 [root@xinet traffic]# date +%s 1425603651 다시 이것을 일반 time으로 설정시 [root@xinet traffic]# date -d @1425603651 2015. 03. 06. (금) 10:00:51 KS 특정시간의 unxtime의 값을 구현시 [root@xinet traffic]# date -d “2015-03-04 05:00:00” +%s 1425412800 또는 날짜로만 구성시에 [root@xinet traffic]# date -d “2015-03-04” +%s 1425394800 반대로 하는것은 간단하다 date -d @값입력 그리고 현재 리눅스 시간을 특정시간으로 아예 변경하려면 ... Read More..
windows mib admin 2015.02.26 Initially, the SNMP service that provides access to MIB, is neither installed nor configured on Windows-based workstations. To install the SNMP service, please follow the instructions provided here: http://technet.microsoft.com/en-us/library/cc759570(WS.10).aspx The configuration of the SNMP security properties is described here: http://technet.microsoft.com/en-us/library/cc783571(WS.10).aspx De... Read More..
Symbolic link not allowed or link target not accessible admin 2015.02.26 심벌릭 링크된 폴더를 웹에서 호출하게 되면 아래와 같은 메세지가 발생된다.Symbolic link not allowed or link target not accessible 이런 경우 심벌릭 링크에 소유권을 주면 된다 chown 옵션 예를 들어 링크된 폴더 이름이 upload 이면 chown -h xinet:xinet upload 이렇게 지정해 주면 된다. 그리고 사이트에서 페이지 url 확인 Read More..
mssql 2012 port number admin 2015.02.17 DECLARE @portNumber NVARCHAR(10) EXEC xp_instance_regread @rootkey = ‘HKEY_LOCAL_MACHINE’, @key = ‘Software\Microsoft\Microsoft SQL Server\MSSQLServer\SuperSocketNetLib\Tcp\IpAll’, @value_name = ‘TcpDynamicPorts’, @value = @portNumber OUTPUT SELECT [Port Number] = @portNumber GO Read More..
+ mssql 특정 테이블 백업 admin 2015.02.17 보통 SQL Server는 테이블 백업이 안되는 것으로 알고 있는데 가능하다. 먼저 백업할 테이블이 있는 DB를 선택 후 태스크 → 스크립트 생성 백업하고 싶은 개체 선택 (테이블, 뷰, 저장 프로시저 등…) 백업할 테이블을 선택 스크립팅 옵션 설정에서 고급을 클릭 고급 옵션에서 스크립팅할 테이터 형식을 스키마 및 데이터로 변경한다. (처음엔 스카미로 되어있다.) 스크립트를 저장할 방법을 지정한다. 스크립트 저장 성공 확인 확인해보면 스키마 뿐 아니라 데이터를 저장하는 INSERT 문도 같이 포함된 것을 확인할 수 있다. 출저 : http://lovedb.tistory.com/223 Read More..