전체 글(80)
-
[DNS] Zone 파일 Export.
전체 Zone 목록 조회 > dnscmd /EnumZones Zone 파일 Export > dnscmd /ZoneExport > dnscmd /ZoneExport domain domain.zone 전체 Record 목록 조회 > dnscmd /EnumRecords . > dnscmd /EnumRecords domain . // export > dnscmd /EnumRecords . > > dnscmd /EnumRecords domain . > domain.record.full 하위 Record 목록 조회 > dnscmd /EnumRecords . /Child > dnscmd /EnumRecords domain . /Child // export > dnscmd /EnumRecords . /Child > >..
2020.10.16 -
[vi] 주석 제거
vi 또는 vim 에디터를 실행한 상태에서 명령모드(:)로 실행. :g/^#/d 위 명령어는 '#'으로 시작하는 행을 모두 지운다.
2020.10.15 -
[mssql] Transact-SQL, DB 파일 경로 이동(DB detach, attach)
version: Microsoft SQL Server 2012 (SP3) ! 사용 중인 프로시저가 있을 경우 detach가 진행 되지 않는다. ! 운영 서비스에 영향이 있는지 확인해보고 오프라인 전환 후 진행. ! If the procedure is running or using DB, you can't detach the Database. ! First, you have to check the Service in operation. After that, switching the database offline. use master; GO EXEC sp_detach_db @dbname = N'mydb'; GO ! detach 후, mdf 및 ldf 파일 복사 진행. ! After detach the dat..
2020.10.14 -
[mssql] Transact-SQL, DB detach attach
version: Microsoft SQL Server 2012 (SP3) ! If the procedure is running or using DB, you can't detach the Database. ! First, you have to check the Service in operation. After that, switching the database offline. use master; GO EXEC sp_detach_db @dbname = N'mydb'; GO ! After detach the databse, you can copy the mdf and ldf file. ! if the file copy is finished normally, you can attach the DB with ..
2020.10.14 -
[Tip] CentOS 8 minimal 초기 설정
IP변경 /etc/sysconfig/network-scripts/ IPADDR="" # ifup history 타임스탬프 /etc/profile HISTTIMEFORMAT="[%F %T] " export HISTTIMEFORMAT or # sed -i '10a\\export HISTTIMEFORMAT\n' /etc/profile # sed -i '10a\\HISTTIMEFORMAT="[%F %T] "' /etc/profile ssh root 접근 차단 /etc/ssh/sshd_config PermitRootLogin no # sed -i "s/tLogin yes/tLogin no/g" /etc/ssh/sshd_config # systemctl restart sshd TimeZone 변경 # timedat..
2020.10.13 -
[httpd] mod_dnssd.so into server: libavahi-common.so.3
httpd version: 2.2.15 If you put the httpd module to be used in the 'modules/' directory, it will works. But for 'mod_dnssd', you need to install the package of the module. When I just added the module file in 'modules/', the error occurred like under. Cannot load /etc/httpd/modules/mod_dnssd.so into server: libavahi-common.so.3: cannot open shared object file: No such file or directory In this ..
2020.10.12