'분류 전체보기'에 해당되는 글 157건
- 2009.01.24 ubuntu vmware 6.0 설치!! 오류를 잡아보자(bitops.h 수정)
- 2009.01.24 MSSQL 원격 접속 설정
- 2009.01.24 Oracle 자동 증가
When running vmware-config.pl for VMware Workstation 6.0.2 (build 59824) one is presented with this error:
Unknown VMware Workstation 6.0.2 build 59824 detected. Building for
Workstation 6.0.0.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config2/vmmon-only'
make -C /lib/modules/2.6.24-4-generic/build/include/.. SUBDIRS=$PWD
SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-4-generic'
CC [M] /tmp/vmware-config2/vmmon-only/linux/driver.o
CC [M] /tmp/vmware-config2/vmmon-only/linux/driverLog.o
CC [M] /tmp/vmware-config2/vmmon-only/linux/hostif.o
CC [M] /tmp/vmware-config2/vmmon-only/common/comport.o
CC [M] /tmp/vmware-config2/vmmon-only/common/cpuid.o
In file included from include/asm/bitops.h:2,
from
/tmp/vmware-config2/vmmon-only/./include/vcpuset.h:74,
from
/tmp/vmware-config2/vmmon-only/./include/modulecall.h:23,
from /tmp/vmware-config2/vmmon-only/common/vmx86.h:19,
from /tmp/vmware-config2/vmmon-only/common/hostif.h:18,
from /tmp/vmware-config2/vmmon-only/common/cpuid.c:15:
include/asm/bitops_32.h:9:2: error: #error only can be
included directly
make[2]: *** [/tmp/vmware-config2/vmmon-only/common/cpuid.o] Error 1
make[1]: *** [_module_/tmp/vmware-config2/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-4-generic'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config2/vmmon-only'
Unable to build the vmmon module.
For more information on how to troubleshoot module-related problems,
please visit our Web site at
"http://www.vmware.com/download/modules/modules.html" and
"http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".
Execution aborted.
No worries the solution is right at hand.
1. Get the vmware-any-any patch
2. After unpacking, go to the vmware-any-any-update115 directory and unpack vmmon.tar
3. Open vmmon-only/include/vcpuset.h and change the following line #include "asm/bitops.h" to #include "linux/bitops.h"
4. Open vmmon-only/include/iocontrolscompat.h and change VMMONVERSION_V6 to 167
5. Open vmmon-only/include/iocontrols.h and change VMMON_VERSION to 167
6. Pack a new vmmon.tar and then run runme.pl
The resulting patch
diff -ur vmmon-only/include/iocontrols_compat.h
vmmon-only.patched/include/iocontrols_compat.h
--- vmmon-only/include/iocontrols_compat.h 2007-07-23
11:59:47.000000000 +0200
+++ vmmon-only.patched/include/iocontrols_compat.h 2008-01-17
19:41:08.227996503 +0100
@@ -15,7 +15,7 @@
#define VMMON_VERSION_V5 (116 << 16 | 0)
#define VMMON_VERSION_V55 (137 << 16 | 0)
#define VMMON_VERSION_S1B1 (138 << 16 | 0)
-#define VMMON_VERSION_V6 (161 << 16 | 0)
+#define VMMON_VERSION_V6 (167 << 16 | 0)
/*
* Limit structure for CREATE_VM
diff -ur vmmon-only/include/iocontrols.h
vmmon-only.patched/include/iocontrols.h
--- vmmon-only/include/iocontrols.h 2007-11-28 11:48:50.000000000
+0100
+++ vmmon-only.patched/include/iocontrols.h 2008-01-17
19:41:30.687235832 +0100
@@ -45,7 +45,7 @@
*
*/
-#define VMMON_VERSION (161 << 16 | 0)
+#define VMMON_VERSION (167 << 16 | 0)
#define VMMON_VERSION_MAJOR(v) ((uint32) (v) >> 16)
#define VMMON_VERSION_MINOR(v) ((uint16) (v))
diff -ur vmmon-only/include/vcpuset.h
vmmon-only.patched/include/vcpuset.h
--- vmmon-only/include/vcpuset.h 2007-07-22 13:21:17.000000000
+0200
+++ vmmon-only.patched/include/vcpuset.h 2008-01-17
19:07:34.039175222 +0100
@@ -71,7 +71,7 @@
#define ffs(x) ffs_x86_64(x)
#elif defined MODULE
- #include "asm/bitops.h"
+ #include "linux/bitops.h"
#elif defined __APPLE__ && defined KERNEL
/*
* XXXMACOS An ugly hack to resolve redefinition of PAGE_ defines
[ 원격 열결이 가능하도록 세팅 ]
1. 시작 - 프로그램 - Microsoft SQL Server 2005 - 구성도구 - SQL 서버 노출 영역 구성
2. 서비스 및 연결에 대한 노출 영역 구성 - "설치된DB" - 데이터베이스 엔진 - 원격연결 - 로컬 및 원격 연결 - TCP/IP및 명명된 파이프 모두 사용 - 적용
3. SQL Browser - 서비스 - 시작유형 - 자동
[ 원격연결 접속 정보를 위한 포트번호 알아내기 ]
1. 시작 - 프로그램 - Microsoft SQL Server 2005 - 구성도구 - SQL Server Configuration Manager
2. SQL Server 2005 네트워크 구성 - "설치된DB" 에 대한 프로토콜
3. TCP/IP - 사용함으로 설정
4. TCP/IP - 속성
5. IP주소 탭 - IPALL - Tcp 포트 - 1433(mssql 기본포트)
(ip 주소란에 실제 주소가 맞는지 확인 틀리다면 설치된 ip로 변경)
[방화벽 설정]
1. 시작 - 제어판 - 보안 센터 - windows 방화벽(xp 기준)
2. 예외 tab - 포트 추가 - 1433 - tcp
3. 같은 방법으로 135 - tcp, 1434 - udp 추가
4. 프로그램 추가 - program filesMicrosoft SQL ServerMSSQL.xsqlserver.exe
- Program FilesMicrosoft SQL Server90Sharedsqlbrowser.exe
[네트워크 설정]
1.바탕화면 네트워크 연결 - 속성 - 연결되있는 네트워크 - 속성 - 설치 - 프로토콜 - NWLink IPX/SPX/NetBIOS
[연결 방법]
ip주소,port설치된DB
(주의 보통 port연결시 : 을 많이 사용하는데 : 이 아니라 ,이다)
create sequence seq_id increment by 1 start with 1
이런식으로 sequence테이블을 생성합니다.
(by 1 : 값이 1씩 증가)(start with 1 : 1부터 시작)
(seq_id : sequence테이블의 이름)
데이터를 삽입할때에는
insert into test values(seq_id.nextval, '테스트1', '테스트2', '테스트3')
이렇게 입력하면 key값은 sequence테이블을 참조하여 자동으로 1부터 하나씩 증가하게 됩니다