P2P 사이트 포트 및 사이트 막기
0-65535 포트중 [P2P 포트 목록] port 6881-6881 port 6889-6889 port 6699-6699 port 6257-6257 port 411-412 port 411-412 port 1214-1214 port 6346-6347 port 6346-6347 port 9292-9292 […]
The seven different editions of SQL Server 2008
SQL Server 2008 is the latest release in Microsoft’s enterprise relational database platform series. In this substantial upgrade, they’ve packed the new database engine full […]
디렉토리 삭제
# rm -rf httpd-2.0.48/* # rmdir httpd-2.0.48
XWindows 설치
#yum grouplist #yum -y groupinstall “X Windwos System” #yum -y groupinstall “KDE(K Desktop Envirment)” #yum -y groupinstall “GNOMOE Desktop Envirment” #yum -y install “kde-i18n-korean” “fonts-korean” […]
sshd_config 에서 접속 설정
[sshd_config 에서] AllowGroups : 여기에 등록된 group만 접속 가능함. AllowUsers : 이곳에 등록된 계정만 접속 가능함. DenyGroups : 모두 접속이 허용, 여기에 등록된 group만 접속 […]
useradd로 간단히 계정을 생성
사용예 #1 useradd로 간단히 계정을 생성 예를 보도록 하자. sspark1이라는 계정사용자를 다음과 같이 새로 생성하였다. [root@host3 root]# useradd -d /home/sspark1 -u 600 -s /bin/csh sspark1 […]
root 유저 접속 금지하고 일반유저 사용방법
[ssh 원격접속 서비스 보안] 리눅스 설치시 기본적인 ssh설정으로 원격에서 root로 바로 접속이 가능하도록 설정되어 있다. 악의적인 접근자가 무한 스캐닝방법을 사용하여 root 계정명으로 ssh 접속을 시도 […]
mysql 접근 IP 변경
mysql 접근 IP 변경 1.호스를 % 로 지정할면 모든 remote 에서 접속 가능, 10.10.99.% = 10.10.99.0 ~ 10.10.99.255
|
1 2 3 4 |
MySql> update user set host = '10.10.99.%' where user = 'root' and host='localhost'; Mysql> commit; |
2. MySql 환경 파일 변경 […]
WordPress Tables
WordPress Tables Database Description http://codex.wordpress.org/Database_Description
VB ASP에서 웹서비스 이용하기
VB에서 웹서비스 이용하기
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
Option Explicit Private Sub Command1_Click() Const HttpPath = "http://111.111.111.111/service.asmx/Doc" Dim xmlDoc As Object Dim strRequest As String Dim XMLhttp As MSXML2.XMLHTTP30 Dim sSend Set XMLhttp = New MSXML2.XMLHTTP30 sSend = "RLOC=" & Me.Text1.Text XMLhttp.open "POST", HttpPath, False XMLhttp.setRequestHeader "Content-Type", "application/x-www-form-urlencoded" XMLhttp.send sSend Me.Text2 = XMLhttp.responseText Me.Text2 = response Dim doc As DOMDocument Set doc = New DOMDocument '동적메모리 설정 Dim objNodeList As IXMLDOMNodeList doc.async = False doc.loadXML (response) Set objNodeList = doc.getElementsByTagName("Root") If objNodeList.length Then Me.Text3 = Me.Text3 & objNodeList.Item(0).selectSingleNode("Name").nodeTypedValue & ", " Me.Text3 = Me.Text3 & objNodeList.Item(0).selectSingleNode("age").nodeTypedValue & ", " Me.Text3 = Me.Text3 & objNodeList.Item(0).selectSingleNode("address").nodeTypedValue & ", " Me.Text3 = Me.Text3 & objNodeList.Item(0).selectSingleNode("phonnumber").nodeTypedValue & ", " End If End Sub |
ASP에서 웹서비스 이용하기
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 |
<% Dim ServerType Dim ServiceName Dim SoapRequest: ServerType = request.Form("ServerType") ServiceName = request.Form("ServiceName") SoapRequest = request.Form("SoapRequest") HttpPath="http://uapi.test.com/API" '------------------------------------------------------------------- Dim lResolve Dim lConnect Dim lSend Dim lReceive Dim sSend sSend="ServerType="& ServerType & _ "&ServiceName="& ServiceName & _ "&SoapRequest="& SoapRequest Set XMLhttp = Server.CreateObject("Msxml2.ServerXMLHTTP.3.0") lResolve = 60 * 1000 'Timeout values are in milli-seconds lConnect = 60 * 1000 lSend = 60 * 1000 lReceive = 60 * 1000 XMLhttp.setTimeouts lResolve, lConnect, lSend, lReceive XMLhttp.open "POST",HttpPath, False '------------------------------------------------------------------ XMLhttp.setRequestHeader "Content-Type", "application/x-www-form-urlencoded" XMLhttp.Send sSend Dim sResponse sResponse = XMLhttp.responseText Response.ContentType = "text/xml" response.write sResponse response.end %> |
오류 : 시스템이 지정한 인코딩을 지원하지 않습니다.=> MSXML 4.0 SP2 파서가 설치 되지 않음 msxmlkor.msi 설치 다운로드 […]
tracert
tracert 로 사이트 주소 찾는 경로 확인 Port 확인 하는 방법
윈도우 도스명령어 Cmd (종료 및 재부팅)
1 . cmd 명령어로 도스창 2. shutdown.exe -r -f -t 00 (재부팅) 3. shutdown.exe -s -f -t 00 (종료) 윈도우 재부팅(restart) : shutdown.exe -r -f -t […]
yum 에서 SVN 설치
# yum -y install subversion
SVN 서버 죽이기
SVN 서버 죽이기 – ps 명령으로 svnserve의 프로세서 ID를 알아낸 후 kill 명령으로 죽여버립니다. # ps -ef | grep svnserve # kill -9 {PID}
SVN 서버 살아있는지 확인
SVN 서버 살아있는지 확인 – SVN 서버가 사용중인 포트가 살아있는지 봅니다. # netstat -ant | grep 3690
httpd start
[root@localhost s00]# /sbin/service httpd start httpd (을)를 시작 중: [ OK ]
