useradd로 간단히 계정을 생성
사용예 #1 useradd로 간단히 계정을 생성 예를 보도록 하자. sspark1이라는 계정사용자를 다음과 같이 새로 생성하였다. [root@host3 root]# useradd -d /home/sspark1 -u 600 -s /bin/csh sspark1 […]
사용예 #1 useradd로 간단히 계정을 생성 예를 보도록 하자. sspark1이라는 계정사용자를 다음과 같이 새로 생성하였다. [root@host3 root]# useradd -d /home/sspark1 -u 600 -s /bin/csh sspark1 […]
[ssh 원격접속 서비스 보안] 리눅스 설치시 기본적인 ssh설정으로 원격에서 root로 바로 접속이 가능하도록 설정되어 있다. 악의적인 접근자가 무한 스캐닝방법을 사용하여 root 계정명으로 ssh 접속을 시도 […]
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 Database Description http://codex.wordpress.org/Database_Description
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 로 사이트 주소 찾는 경로 확인 Port 확인 하는 방법
1 . cmd 명령어로 도스창 2. shutdown.exe -r -f -t 00 (재부팅) 3. shutdown.exe -s -f -t 00 (종료) 윈도우 재부팅(restart) : shutdown.exe -r -f -t […]
# yum -y install subversion
SVN 서버 죽이기 – ps 명령으로 svnserve의 프로세서 ID를 알아낸 후 kill 명령으로 죽여버립니다. # ps -ef | grep svnserve # kill -9 {PID}
SVN 서버 살아있는지 확인 – SVN 서버가 사용중인 포트가 살아있는지 봅니다. # netstat -ant | grep 3690
[root@localhost s00]# /sbin/service httpd start httpd (을)를 시작 중: [ OK ]
1. iptables 저장 즉시 최근 방화벽 설정으로 사용 설정하기 save 필요없이 systemctl restart iptables 시 바로 방화벽 적용 됩니다.접속된 putty는 방화벽 수정과 상관없이 계속 접속되며 […]
MySQL은 CentOS 패키지에 포함되어 있다. 설치 여부 확인 : yum list installed 1. 설치 # yum install mysql-server 2. MySQL 서버 시작 명령어 # service […]
– php 설치 설치여부 확인 : yum list installed | grep php php 설치 : yum install php
설치 경로 확인 : which php which mysql which java
Step # 1 : Stop mysql service # /etc/init.d/mysqld stop Output: Stopping MySQL database server: mysqld./ Step # 2: Start to MySQL server w/o password: […]
[ 예: 192.168.0.10 만 ftp 접속 허용하기 ] 설정 전 iptables 에 21번 port 가 open 되어있으면 안됩니다. 방법 1) 명령어 # iptables -A INPUT […]
Copyright © 2025 | WordPress Theme by MH Themes