install_log_09-15-11
InstallLog
IEProxy.dll C:\Program Files\PPLive\PPTV\components\IEProxy.dll 3.1.2.6378 0
client_ap.dll C:\Program Files\PPLive\PPTV\PlugOut\client_ap.dll 3.1.2.6378 0
Product:PPLive ProductVersion:3.1.1.0014 Custom:qd-all-slient-slient-open CommonVersion:1.0.0.849 Time:25/4/2012 9-30-41
Product:PPLive ProductVersion:3.1.0.0011 Custom:qd-all-slient-open-nlaunch-nscreen CommonVersion:1.0.0.800 Time:25/4/2012 8-37-30
CheckEveryone 1 path:C:\Program Files\PPLive\PPTV
Copy From Pluginsdir
msvcp100.dll C:\Program Files\PPLive\PPTV\msvcp100.dll 10.0.40219.0001 0
Rename 'C:\Program Files\PPLive\PPTV\msvcr100.dll' 'C:\Program Files\PPLive\PPTV\msvcr100.dll.(old)'
mcelog用法详解
mcelog用法详解全文共四篇示例,供读者参考第一篇示例:mcelog是一个用于记录和处理机器检查错误(MCE)的工具,它能够帮助用户诊断系统中的硬件故障。
在Linux系统中,MCE是一种硬件故障,通常与处理器或内存有关。
当系统检测到MCE时,mcelog会记录相关的错误信息,用户可以根据这些信息进行故障排查和修复。
mcelog的使用非常简单,下面我们来详细介绍一下它的用法。
1.安装mcelog大多数Linux发行版都默认安装了mcelog工具,如果你的系统没有安装mcelog,可以通过包管理工具进行安装。
在Ubuntu系统中,可以使用以下命令安装mcelog:```shellsudo apt-get install mcelog```安装完成后,可以通过以下命令来运行mcelog:运行mcelog后,它会读取系统中的MCE错误信息并显示在终端上。
如果系统中存在MCE错误,mcelog会将相关信息记录到/var/log/mcelog文件中。
可以使用以下命令来查看mcelog记录的错误信息:mcelog记录的信息包括错误类型、错误地址、错误码、错误处理方式等。
通过查看这些信息,我们可以了解系统中发生的硬件错误类型及原因。
mcelog可以通过配置文件进行自定义配置。
配置文件通常位于/etc/mcelog.conf。
用户可以根据自己的需求修改配置文件中的参数,比如设置错误记录级别、错误处理方式、错误通知等。
为了及时发现系统中的硬件故障,建议用户定期检查mcelog记录的错误信息。
可以设置一个定时任务,比如每天执行一次mcelog命令并将输出结果发送到管理员的邮箱。
总结通过mcelog工具,用户可以方便地记录和处理系统中的硬件故障,帮助我们及时发现并解决问题。
建议用户在系统中安装并配置mcelog,以保证系统的稳定性和可靠性。
希望以上内容对您有所帮助,谢谢!第二篇示例:mcelog是一个常用的工具,用于检测和记录机器检测到的内存错误信息。
oracleruninstaller参数
oracleruninstaller参数Oracle RunInstaller 是一个用于安装Oracle数据库软件的命令行实用程序。
它提供了一组参数,可以在安装过程中指定不同的选项和配置信息。
以下是一些常用的Oracle RunInstaller 参数:1. -silent:以静默方式运行安装程序,不显示图形用户界面。
此参数适用于无人参与的批量安装。
2. -responseFile:指定包含安装选项的响应文件的路径。
安装程序将从该文件中读取选项,并根据其内容执行安装过程。
3. -ignorePrereq:忽略先决条件检查。
此参数用于强制安装程序在检查系统配置之前继续安装。
4. -force:强制覆盖现有的Oracle软件安装。
使用此参数时,请谨慎操作,因为它将删除现有的Oracle软件并重新安装新版本。
6. -invPtrLoc:指定 oraInst.loc 文件路径。
oraInst.loc 文件指向安装程序使用的 Inventory 目录。
使用此参数时,您可以指定一个自定义的 oraInst.loc 文件。
7. -attachHome:将此参数与已安装的 Oracle home 目录路径一起使用,以将新组件连接到该 Oracle home。
此参数将安装程序视为增量安装,并将新组件添加到现有的 Oracle home。
8. -deinstall:从系统中卸载 Oracle 软件。
此参数用于卸载旧版本的Oracle软件。
9. -clone:使用此参数来克隆现有的 Oracle home。
克隆是指创建一个与原始 Oracle home 相同的副本,可以在不同的机器上使用。
10. -waitForLockTimeout:指定等待锁的超时时间(以秒为单位)。
默认情况下,安装程序将等待锁的时间为7200秒。
11. -instype:指定安装程序安装的 Oracle 软件类型。
例如,typical 表示典型安装,advanced 表示高级安装。
Android虚拟机报错解决方法
Android虚拟机报错解决⽅法转⾃:1. Android2.3.32. Eclipse Version:3.7.03. ConsoleEclipse下的Android虚拟机,运⾏应⽤,正常的控制台信息Console⼀般如下:Java代码1. [2012-02-17 15:01:28 - tmall] ------------------------------2. [2012-02-17 15:01:28 - tmall] Android Launch!3. [2012-02-17 15:01:28 - tmall] adb is running normally.4. [2012-02-17 15:01:28 - tmall] Performing com.tmall.nokia.Start activity launch5. [2012-02-17 15:01:28 - tmall] Automatic Target Mode: launching new emulator with compatible AVD 'jinhua'6. [2012-02-17 15:01:28 - tmall] Launching a new emulator with Virtual Device 'jinhua'7. [2012-02-17 15:01:30 - Emulator] emulator: emulator window was out of view and was recentred8. [2012-02-17 15:01:30 - Emulator]9. [2012-02-17 15:01:30 - tmall] New emulator found: emulator-555410. [2012-02-17 15:01:30 - tmall] Waiting for HOME ('android.process.acore') to be launched...11. [2012-02-17 15:01:30 - Emulator] Unknown savevm section type 9512. [2012-02-17 15:02:00 - tmall] HOME is up on device 'emulator-5554'13. [2012-02-17 15:02:00 - tmall] Uploading tmallnokia.apk onto device 'emulator-5554'14. [2012-02-17 15:02:02 - tmall] Installing tmallnokia.apk...15. [2012-02-17 15:02:29 - tmall] Success!16. [2012-02-17 15:02:29 - tmall] Starting activity com.tmall.nokia.Start on device emulator-5554但是,控制台Console也经常会报错,下⾯搜集了常见的⼏种报错:1、Failed to install tmallnokia.apk on device 'emulator-5554': Connection refused: connectJava代码1. [2012-02-17 16:33:43 - tmall] ------------------------------2. [2012-02-17 16:33:43 - tmall] Android Launch!3. [2012-02-17 16:33:43 - tmall] adb is running normally.4. [2012-02-17 16:33:43 - tmall] Performing com.tmall.nokia.Start activity launch5. [2012-02-17 16:33:43 - tmall] Automatic Target Mode: using existing emulator 'emulator-5554' running compatible AVD 'tmall'6. [2012-02-17 16:33:43 - tmall] Uploading tmallnokia.apk onto device 'emulator-5554'7. [2012-02-17 16:33:44 - tmall] Failed to install tmallnokia.apk on device 'emulator-5554': Connection refused: connect8. [2012-02-17 16:33:44 - tmall] .ConnectException: Connection refused: connect9. [2012-02-17 16:33:44 - tmall] Launch canceled!2、emulator: emulator window was out of view and was recentredJava代码1. [2012-02-17 14:54:10 - tmall] ------------------------------2. [2012-02-17 14:54:10 - tmall] Android Launch!3. [2012-02-17 14:54:10 - tmall] adb is running normally.4. [2012-02-17 14:54:10 - tmall] Performing com.tmall.nokia.Start activity launch5. [2012-02-17 14:54:10 - tmall] Automatic Target Mode: launching new emulator with compatible AVD 'tmall'6. [2012-02-17 14:54:10 - tmall] Launching a new emulator with Virtual Device 'tmall'7. [2012-02-17 14:54:16 - Emulator] emulator: emulator window was out of view and was recentred8. [2012-02-17 14:54:16 - Emulator]9. [2012-02-17 14:54:16 - tmall] New emulator found: emulator-555410. [2012-02-17 14:54:16 - tmall] Waiting for HOME ('android.process.acore') to be launched...11. [2012-02-17 14:54:16 - Emulator] Unknown savevm section type 9512. [2012-02-17 14:55:32 - tmall] emulator-5554 disconnected! Cancelling 'com.tmall.nokia.Start activity launch'!3、The connection to adb is down, and a severe error has occured.Java代码1. [2012-02-17 17:30:47 - tmall] ------------------------------2. [2012-02-17 17:30:47 - tmall] Android Launch!3. [2012-02-17 17:30:47 - tmall] The connection to adb is down, and a severe error has occured.4. [2012-02-17 17:30:47 - tmall] You must restart adb and Eclipse.5. [2012-02-17 17:30:47 - tmall] Please ensure that adb is correctly located4、Failed to install tmallnokia.apk on device 'emulator-5554': timeoutJava代码1. [2012-02-17 11:11:55 - tmall] ------------------------------2. [2012-02-17 11:11:55 - tmall] Android Launch!3. [2012-02-17 11:11:55 - tmall] adb is running normally.4. [2012-02-17 11:11:55 - tmall] Performing com.tmall.nokia.Start activity launch5. [2012-02-17 11:11:55 - tmall] Automatic Target Mode: using existing emulator 'emulator-5554' running compatible AVD 'tmall'6. [2012-02-17 11:11:55 - tmall] Uploading tmallnokia.apk onto device 'emulator-5554'7. [2012-02-17 11:12:01 - tmall] Failed to install tmallnokia.apk on device 'emulator-5554': timeout8. [2012-02-17 11:12:01 - tmall] Launch canceled!at 'D:\develop\Android\android-sdk\platform-tools\adb.exe' and can be executed.5、WARNING: Data partition already in use. Changes will not persist!Java代码1. [2012-02-17 15:00:22 - tmall] ------------------------------2. [2012-02-17 15:00:22 - tmall] Android Launch!3. [2012-02-17 15:00:22 - tmall] adb is running normally.4. [2012-02-17 15:00:22 - tmall] Performing com.tmall.nokia.Start activity launch5. [2012-02-17 15:00:22 - tmall] Automatic Target Mode: launching new emulator with compatible AVD 'tmall'6. [2012-02-17 15:00:22 - tmall] Launching a new emulator with Virtual Device 'tmall'7. [2012-02-17 15:00:25 - Emulator] WARNING: Data partition already in use. Changes will not persist!8. [2012-02-17 15:00:25 - Emulator] WARNING: SD Card image already in use: C:\Documents and Settings\Administrator\.android\avd\tmallavd/sdcard.img9. [2012-02-17 15:00:25 - Emulator] ko:Snapshot storage already in use: C:\Documents and Settings\Administrator\.android\avd\tmall.avd/snapshots.img6、Can't connect to activity manager; is the system running?Java代码1. [2012-02-27 14:09:25 - tmall] ------------------------------2. [2012-02-27 14:09:25 - tmall] Android Launch!3. [2012-02-27 14:09:25 - tmall] adb is running normally.4. [2012-02-27 14:09:25 - tmall] Performing com.tmall.ad.Start activity launch5. [2012-02-27 14:09:25 - tmall] Automatic Target Mode: using existing emulator 'emulator-5554' running compatible AVD 'tmall'6. [2012-02-27 14:09:25 - tmall] Uploading tmall.apk onto device 'emulator-5554'7. [2012-02-27 14:09:27 - tmall] Installing tmall.apk...8. [2012-02-27 14:10:24 - tmall] Success!9. [2012-02-27 14:10:25 - tmall] Starting activity com.tmall.ad.Start on device emulator-555410. [2012-02-27 14:10:28 - tmall] Device not ready. Waiting 3 seconds before next attempt.11. [2012-02-27 14:10:46 - tmall] ActivityManager: android.util.AndroidException: Can't connect to activity manager; is the system running?7、DeviceMonitor]Sending jdwp tracking request failed!Java代码1. [2012-03-02 11:22:34 - Logcat]null2. com.android.ddmlib.TimeoutException3. at com.android.ddmlib.AdbHelper.read(AdbHelper.java:648)4. at com.android.ddmlib.AdbHelper.read(AdbHelper.java:616)5. at com.android.ddmlib.AdbHelper.readAdbResponse(AdbHelper.java:216)6. at com.android.ddmlib.AdbHelper.executeRemoteCommand(AdbHelper.java:378)7. at com.android.ddmlib.Device.executeShellCommand(Device.java:284)8. at com.android.ddmuilib.logcat.LogPanel$3.run(LogPanel.java:527)9.10. [2012-03-02 11:23:09 - DeviceMonitor]Sending jdwp tracking request failed!8、 Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGJava代码1. [2012-03-02 17:10:58 - tmall] ------------------------------2. [2012-03-02 17:10:58 - tmall] Android Launch!3. [2012-03-02 17:10:58 - tmall] adb is running normally.4. [2012-03-02 17:10:58 - tmall] Performing com.tmall.nokia.Start activity launch5. [2012-03-02 17:10:58 - tmall] Automatic Target Mode: using existing emulator 'emulator-5554' running compatible AVD 'jinhua'6. [2012-03-02 17:10:58 - tmall] Uploading tmall.apk onto device 'emulator-5554'7. [2012-03-02 17:11:00 - tmall] Installing tmall.apk...8. [2012-03-02 17:11:13 - tmall] Success!9. [2012-03-02 17:11:14 - tmall] Starting activity com.tmall.nokia.Start on device emulator-555410. [2012-03-02 17:11:15 - tmall] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[UNCHER] cmp=com.tmall.nokia/.Start }11. [2012-03-02 17:11:17 - tmall] Attempting to connect debugger to 'com.tmall.nokia' on port 863412. [2012-03-02 17:11:19 - tmall] Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE13. [2012-03-02 17:11:19 - tmall] Please check logcat output for more details.14. [2012-03-02 17:11:19 - tmall] Launch canceled!9、java.io.IOException: EOFJava代码1. [2012-03-03 11:33:28 - tmall] ------------------------------2. [2012-03-03 11:33:28 - tmall] Android Launch!3. [2012-03-03 11:33:28 - tmall] adb is running normally.4. [2012-03-03 11:33:28 - tmall] Performing com.tmall.nokia.Start activity launch5. [2012-03-03 11:33:28 - tmall] Automatic Target Mode: using existing emulator 'emulator-5554' running compatible AVD 'tmall'6. [2012-03-03 11:33:28 - tmall] Uploading tmall.apk onto device 'emulator-5554'7. [2012-03-03 11:33:30 - tmall] Failed to install tmall.apk on device 'emulator-5554': EOF8. [2012-03-03 11:33:30 - tmall] java.io.IOException: EOF9. [2012-03-03 11:33:30 - tmall] Launch canceled!10、com.android.ddmlib.InstallException: device not foundJava代码1. [2012-03-07 11:47:56 - tmall] Failed to install tmall.apk on device 'emulator-5554': device not found2. [2012-03-07 11:47:56 - tmall] com.android.ddmlib.InstallException: device not found3. [2012-03-07 11:47:56 - tmall] Launch canceled!解决办法:对上述报错,⼀般的处理⽅式是1、关闭虚拟机,再重新Run应⽤。
mcelog用法详解
mcelog用法详解《mcelog用法详解》一、引言在计算机硬件的运行过程中,内存错误是常见的一种问题。
这些错误可能是由于硬件故障、软件错误或者是系统配置不当等原因引起的。
当内存出现错误时,如果不及时处理,可能会导致数据丢失、系统崩溃等严重后果。
因此,对内存错误进行检测和诊断是非常重要的。
mcelog就是这样一款用于检测和报告内存错误的工具。
它支持多种硬件平台,并且可以提供详细的错误信息,帮助我们快速定位问题。
本文将详细介绍mcelog 的用法。
二、安装与启动mcelog1. 安装:在Linux系统中,我们可以使用包管理器来安装mcelog。
例如,在Ubuntu系统中,可以使用以下命令来安装:```sudo apt-get install mcelog```2. 启动:安装完成后,我们需要启动mcelog服务。
在Ubuntu系统中,可以使用以下命令来启动:```sudo service mcelog start```3. 自动启动:为了让mcelog在系统启动时自动运行,我们可以使用以下命令来设置:```sudo systemctl enable mcelog```三、查看mcelog报告mcelog会把检测到的内存错误信息记录到/var/log/mcelog文件中。
我们可以通过查看这个文件来了解系统的内存状态。
例如,我们可以使用以下命令来查看最新的10条错误信息:```sudo tail -n 10 /var/log/mcelog```此外,我们还可以使用mcelog命令来查看更详细的错误信息。
例如,我们可以使用以下命令来查看所有类型的错误信息:```sudo mcelog --all```四、解析mcelog报告mcelog报告中的信息非常丰富,包括错误类型、发生时间、错误地址等。
以下是mcelog报告的一些关键字段及其含义:- Error Type:表示错误的类型,例如ECC Single-Bit Error、ECC Multi-Bit Error等。
c语言中log的用法指导
c语言中log的用法指导c语言中log的用法指导C语言是一门实践性和动手能力要求很高的大学主干课程,但是C 语言实验课的教学一直不受重视,教学效果也不太理想。
下面店铺就跟你们详细介绍下c语言中log的用法的用法,希望对你们有用。
c语言中log的用法指导 1Log4c中有三个重要的概念, Category, Appender, Layout。
Category用于区分不同的Logger, 其实它就是个logger。
在一个程序中我们可以通过Category来指定很多的Logger,用于不同的目的。
Appdender用于描述输出流,通过为Category来指定一个Appdender,可以决定将log信息来输出到什么地方去,比如stdout, stderr, 文件, 或者是socket等等Layout用于指定日志信息的格式,通过为Appender来指定一个Layout,可以决定log信息以何种格式来输出,比如是否有带有时间戳,是否包含文件位置信息等,以及他们在一条log信息中的输出格式的等。
例子:系统:ubuntu12.10 .准备:安装log4c库, sudo apt-get install liblog4c-dev liblog4c-doc 别的系统请百度/GOOGLE找相关编译安装当。
文件:log.h log.c 自己将log4c重新封装的函数test-log.c 测试用的主函数log4crc 配置文件(xml,照着写就行)//log.h[cpp] view plain copy01.#ifndef _LOG_H_02.#define _LOG_H_03.04.#include05.#include06.07.#ifdef __cplusplus08.extern "C"09.{10.#endif11.12.#include "log4c.h"13.14.#ifdef __cplusplus15.}16.#endif17.18.#define LOG_PRI_ERROR LOG4C_PRIORITY_ERROR19.#define LOG_PRI_WARN LOG4C_PRIORITY_WARN20.#define LOG_PRI_NOTICE LOG4C_PRIORITY_NOTICE21.#define LOG_PRI_DEBUG LOG4C_PRIORITY_DEBUG22.#define LOG_PRI_TRACE LOG4C_PRIORITY_TRACE23.24.extern int log_open(const char *category);25.extern void log_message(int priority ,const char* fmt, ...);26.extern void log_trace(const char *file , int line , const char *func, const char *fmt ,...);27.extern int log_close();28.29.#define LOG_ERROR(fmt , args...)30. log_message(LOG_PRI_ERROR, fmt, ##args)31.#define LOG_WARN(fmt, args...)32. log_message(LOG_PRI_WARN, fmt , ##args)33.#define LOG_NOTICE(fmt , args...)34. log_message(LOG_PRI_NOTICE, fmt , ##args)35.#define LOG_DEBUG(fmt , args...)36. log_message(LOG_PRI_DEBUG, fmt , ##args)37.#define LOG_TRACE(fmt,args...)38. log_trace(__FILE__ , __LINE__ , __FUNCTION__ , fmt ,## args)39.40.41.#endif//log.c[cpp] view plain copy 在CODE上查看代码片派生到我的`代码片01.#include02.#include03.#include "log.h"04.05.06.static log4c_category_t *log_category = NULL;07.08.int log_open(const char *category)09.{10. if (log4c_init() == 1)11. {12. return -1;13. }14. log_category = log4c_category_get(category);15. return 0 ;16.}17.18.void log_message(int priority , const char *fmt , ...)19.{20. va_list ap;21.22. assert(log_category != NULL);23.24. va_start(ap, fmt);25. log4c_category_vlog(log_category , priority , fmt , ap);26. va_end(ap);27.}28.29.void log_trace(const char *file, int line, const char *fun,30. const char *fmt , ...)31.{32. char new_fmt[2048];33. const char *head_fmt = "[file:%s, line:%d, function:%s]";34. va_list ap;35. int n;36.37. assert(log_category != NULL);38. n = sprintf(new_fmt, head_fmt , file , line , fun);39. strcat(new_fmt + n , fmt);40.41. va_start(ap , fmt);42. log4c_category_vlog(log_category , LOG4C_PRIORITY_TRACE, new_fmt , ap);43. va_end(ap);44.}45.46.47.int log_close()48.{49. return (log4c_fini());50.}//test-log.c[cpp] view plain copy 在CODE上查看代码片派生到我的代码片01.#include02.#include "log.h"03.04.int main(void)05.{06. log_open("mycat");07. LOG_TRACE("trace");08. LOG_ERROR("error");09. LOG_WARN("warn");10. LOG_NOTICE("notice");11. LOG_DEBUG("hello log4c!");12. log_close();13. return 0;14.}//配置文件,默认名为log4crc[html] view plain copy 在CODE上查看代码片派生到我的代码片01.02.03.04.05.06.07.008.09.010.111.12.13.14.15.16.17.18.19.20.21.22.23.24.25.26.编译命令:[python] view plain copy 在CODE上查看代码片派生到我的代码片01.gcc test-log.c log.c -o test-log -llog4c运行效果./test-log[stdout] TRACE mycat - [file:test-log.c, line:7, function:main]trace[stdout] ERROR mycat - error[stdout] WARN mycat - warn[stdout] NOTICE mycat - notice[stdout] DEBUG mycat - hello log4c!讲解:关于log.h ,log.c封装的内容大家可以看看,用到了可变参数宏,可变参数这些。
VigorACS 2 Quick Start Guide
V i g o r A C S2U n i f i e d M a n a g e m e n t S y s t e mManual Version: 1.0Software Version: V2.3.1Date: August 17, 2018Table of Contents1. Platform for Windows 7 or 10 (5)1.1 Installation for Java (5)1.2 Installation for MariaDB (9)1.3 Installation for VigorACS 2 (14)1.4 StartMySQL/MariaDB Databse (23)1.5 Start VigorACS (23)2. Platform for Linux (25)2.1 Installation for MariaDB, Java and VigorACS (25)2.2 Start MySQL/MariaDB Databse (31)2.3 Start VigorACS (31)2.4 Edit VigorACS IP (31)3. Registering VigorACS 2 (32)3.1 Registration for VigorACS via Windows Platform (32)4. Configuration on CPE Device (37)4.1 Set ACS URL on CPE (37)4.2 Invoke Remote Management for CPE (39)4.3 Enable WAN Connection on CPE (40)5. Troubleshooting (42)1.P l a t f o r m f o r W i n d o w s7o r10Please follow the procedure listed below to install VigorACS 2 completely. The installation for different platforms might be different.T o start up the VigorACS, the normal procedure is listed as follows:(I)Installation for Java(II)Installation for MariaDB(III)Installation for VigorACS 2(IV)Start MySQL/MariaDB Database.(V)Edit VigorACS IP.(VI)Start VigorACS.Info VigorACS 2 can be operated only by a host with 64-bit operation system.1.1I n s t a l l a t i o n f o r J a v a1.Install Java by clicking “java-1.8.0-openjdk-1.8.1.151-1.b12…” to execute the installation.2.The first page will be shown as follows. Click Next to get into next page.3.Then, check “I accept the terms…” and click the Next button.4.In this page, optional features will be listed for you to specify the destination folder forJAVA driver installation. Choose the one you need and click Next.5.In the following page, just click Install.6.Wait for a while to install the required features.7.When the following page appears, the installation is completed. Click Finish to exit theinstalling program.1.2I n s t a l l a t i o n f o r M a r i a D B1.Install MariaDB by clicking “mariadb-10.2.10-winx64” (based on your PC condition) it toexecute the installation.2.When the welcome screen appears, please click Next for next step.3.On this dialog box, check the box of “I accept the terms….” and click Next.4.Select the way for the features to be installed. Then click Next.5.If you want to configure password for MariaDB server, please check Modify password… andtype the password. It depends on your request. Otherwise, simply click Next.6.Modify the default instance properties if required. Then click Next.7.On this dialog box, click Next.8.On this dialog box, click Install.9.The installation program starts to install required files for MariaDB to your computer. Waitfor several seconds.10.After finishing the configuration, please click Finish to exit the wizard.1.3I n s t a l l a t i o n f o r V i g o r A C S2It is time to install VigorACS main program. Follow the steps below.1.Click Setup to run VigorACS 2 setup wizard.2.When the following dialog appears, choose Local Database / Remote Database and clickNext.3.Select the directory that MariaDB being installed (done in 1.2) and click Next4.In this dialog box, choose Rebuild Database (for rebuilding the VigorACS database) orUpgrade Database (for upgrading the database). For the first time using, please choose Rebuild Database. Then click Next.5.Click Next. If you have configured MySQL/MariaDB previously and specified password for it,you have to type the password in this page and then click Next.6.Set the maximum memory and minimum memory. Click Next.7.Setup ACS HTTP and HTTPS port, we'll suggest using others port instead of default 80 and443 port to prevent conflict.Info The port number defined here will be used for opening VigorACS later.8.Determine the home path and click Next. The default directory used by this program isC:\Users. You can modify it if you want and please make sure the length of directory is not over 100 characters, otherwise you might encounter problem of VigorACS in installation.9.Determine the destination folder and click Next. The default directory used by thisprogram is C:\Program Files\VigorACS. You can modify it if you want and please make sure the length of directory is not over 100 characters, otherwise you might encounter problem of VigorACS in installation.10.Determine the start menu folder and click Next. The default directory used by thisprogram is VigorACS. You can modify it if you want and please make sure the length of directory is not over 100 characters, otherwise you might encounter problem of VigorACS in installation.11.In this dialog, check the box of “Create a desktop shortcut” for your necessity. Click Next.12.Now, the program is ready to install necessary features and files to your computer. Pleaseclick Install to start.13.Please wait for a while to complete the installation.14.While installing, the following screen will appear to show that MariaDB has been activated.Please wait for next dialog appearing.15.Now the program has completed the installation of VigorACS 2. Click Finish to exit it.1.4S t a r t M y S Q L/M a r i a D B D a t a b s eAfter installing VigorACS, install program will register MySQL/MariaDB to Windows Service.MySQL /MariaDB will startup automatically after installing VigorACS or rebooting system.Normally, you don't need to worry about this step on Windows. But if you find any problems on VigorACS, you should check mysql/mariadb first. Please go to Windows Service check theMySQL/MariaDB Service starts or not.1.5S t a r t V i g o r A C S1.Login VigorACS. Use a web browser and type “localhost:portnumber”. Note that the portnumber must be the one defined for HTTP and HTTPS port while installing VigorACS. Forexample, if HTTPS is defined as 8011, then the URL will be “localhost:8011”.2.The login page of VigorACS will be shown as the following. Please type “root” as user nameand “admin123” as password and type the authentication code. Then click Login.3.For the first time to access into the web user interface, a warning message appears first.Please click the Change password button to change the default password for networksecurity. If not, click Cancel to access into the web user interface of VigorACS and changethe password later.4.After clicking Login, main screen of VigorACS 2 will be shown as below.2.P l a t f o r m f o r L i n u xT o start up the VigorACS under Linux, please execute"/usr/local/vigoracs/VigorACS/bin/vigoracs.sh" instruction. A list of menu items will be shown as follows.1.Start mysql/mariadb2.Shutdown mysql/mariadb3.Start VigorACS4.Shutdown VigorACS5.Edit bind IP of VigorACS Server (please key in IP or server name)6.Set the Max. and Min. memory value of running java (it will be valid after restartingVigorACS)7.View the Max. and Min. memory value of running java8.exit2.1I n s t a l l a t i o n f o r M a r i a D B,J a v a a n d V i g o r A C SFollow the steps listed below to install VigorACS under Linux:1.Login Linux with root or the root privilege.2.Download the ACS installation tar.bz2 package and extract it via below command:#bzip2 -cd VigorACS_Unix_Like_xxxxxx_xxxxx.tar.bz2 | tar xvf -or#tar -jxv -f VigorACS_Unix_Like_xxxxxx_xxxxx.tar.bz23.Decompress the setup packagesbzip2 -cd VigorACS_Unix_Like_xxxxxx_xxxxx.tar.bz2 |tar xvf –4.Change the permissions mode of install.sh and uninstall.sh.chmod 755 install.shchmod 755 uninstall.sh5.Execute ./install.sh installation file.Please make sure you have /usr/bin/sh first. If you don't have /usr/bin/sh, please enter the command:#ln -s /bin/sh /usr/bin/sh6.The system will ask to create vigoracs, enter “y” to proceed.7.Next, the system will ask you to install xfonts-base and fontconfig, just enter “y” toproceed.8.Next, please select the item number which you want to execute. Note that VigorACSsupports Linux OS. The program will detect the system you have in your computer.(1) Install mysql/mariadb(2) Change root password and security configuration of mysql/mariadb(3) Install or Upgrade java(4) Install VigorACS(5) Upgrade VigorACS(6) Redirect the database path of VigorACS to remote host (7) Exitinput select num:InfoIf your computer has installed MariaDB and java previously, ignore theinstallation of them. Otherwise, install all the required items (MariaDB, Java and VigorACS) for your system. Item number 5 is used to upgrade VigorACS, so it is not necessary for you to execute for the first time of installation.9. Input 1 to install MariaDB first. Notice that it will setup blank as default password. You canchange the password by using the following command.#/usr/local/mysql/bin/mysqladmin--defaults-file=/usr/local/mysql/f -u root password 'newpassword'InfoThe password configured by the command above will be effective onlywhen there is no password set for database root before.Follow the instructions on the screen to finish the MariaDB installation.ter, input 2 to change root password and security configuration of mysql/mariadb.Info The password set in this step is used for VigorACS 2 to login database.11.Input 3 to install Java.Follow the instructions on the screen to finish the Java installation.12.Input 4 to install VigorACS. It is suggested to use ACS customized MariaDB database. Whenasked to enter MariaDB password, press “Enter” if you haven’t changed the password via the command. Then, confirm that TR-069 database has been installed successfully.Wait and follow the instructions on the screen to finish the installation.13. Now, input 6 to redirect the database path of VigorACS to remote host. For remotedatabase, please execute such step on remote host.14. Input 7 to finish and exit the installation.Info 1 Step 13 is required for establishing remote database only . You can ignore it while building local database.Info 2T o prevent port conflicts, we'll suggest that using other ports for HTTP and HTTPS instead of default 80 and 443.2.2S t a r t M y S Q L/M a r i a D B D a t a b s eAfter installing VigorACS, mysql/mariadb daemon has started. You can to see it using "ps-ef|grep mysql" instruction. Use the menu item 1 / 2 to start / shutdown mysql/mariadb.2.3S t a r t V i g o r A C SAfter installing VigorACS, access “/usr/local/vigoracs/VigorACS/bin”, execute “./vigoracs.sh”.Select item 3 to start VigorACS.If you ever reboot the machine after installing VigorACS, just select item 1 to startmysql/mariadb first. Then, select item 3 to start VigorACS.2.4E d i t V i g o r A C S I PWhen starting the VigorACS at first time on Linux, startup program will ask you input Server IP or input Enter key by using the IP address of the host. Once you input the IP address, VigorACS will keep it on startway.txt. Next time, if you want to change it, you can select item 5 to editstartway.txt using vi editor.3. R e g i s t e r i n g V i g o r A C S 2For the first time to activate VigorACS 2, the system will ask you to register VigorACS 2 onto DrayT ek MyVigor server . Refer to the following sections to register VigorACS 2 on differentplatforms.Info 1 While installing VigorACS, install program will register MySQL/MariaDB toWindows Service. MySQL/MariaDB will startup automatically after installingVigorACS or rebooting system. Normally , you don't need to worry about this step on Windows. But if you find any problems on VigorACS, you should checkmysql/mariadb first. Please go to Windows Service check the MySQL/MariaDB Service starts or not.Info 2After installing VigorACS, the software will startup automatically . Normally ,you don't need to worry about this step on Windows. But, if you find any problem on VigorACS, you could shut down VigorACS and start VigorACS again. 3.1 R e g i s t r a t i o n f o r V i g o r A C S v i a W i n d o w s P l a t f o r mBelow shows the steps to register VigorACS 2:1. Login VigorACS. Use a web browser and type “localhost:portnumber”. Note that the portnumber must be the one defined for HTTP and HTTPS port while installing VigorACS. For example, if HTTPS is defined as 8011, then the URL will be “localhost:8011”.2. The login page of VigorACS will be shown as the following. Please type “root” as user nameand “admin123” as password and type the authentication code. Then click Login.Info“root” and “admin123” are default settings.3. A License Error dialog appears as follows. Simply click Active.4. A login page for MyVigor web site will be popped up automatically . Type your account (username) and password in this page. Then, click Login.InfoIf you do not have any account, simply click Create an account now to create a new one for using the service provided by MyVigor web site.5.MyVigor will verify and authenticate if the user account you typed is allowed to access intothe web site. If yes, the following screen will appear.6.Type a nickname for VigorACS and click Add.7.After clicking Add, you can see the following screen. Click OK.8.You will get a device information page as shown below. If you are the new user of VigorACS,you can get a free charge of 30-day service of VigorACS. Simply click the Trial button.9.From the following screen, check the box of “I have read and accept the above….” andclick Next.10.In the page below, click Register.11.When the VigorACS License Information page appears, the service is ready for you to use.Click Login to ACS to use VigorACS service.12.The login page will appear as follows. Type the default settings of User Name (root) andPassword (admin123) and type the authentication code. Then, click Login.13.Now, the main screen of VigorACS will be shown as follows.4.C o n f i g u r a t i o n o n C P E D e v i c e4.1S e t A C S U R L o n C P ET o manage CPEs through VigorACS, you have to set ACS URL on CPE first and set username and password for VigorACS.1.Connect one CPE (e.g., Vigor2862 series).2.Open a web browser (for example, IE, Mozilla Firefox or Netscape) on your computer andtype http://192.168.1.1.3.Please type username and password on the window. If you don’t know the correctusername and password, please consult your dealer to get them. In this section, we takethe figures displayed on Windows as examples.4.Go to System Maintenance -> TR-069.•Please set URL as the following and type username and password for ACS server,for the connected CPE with authentication:http://{IP address of VigorACS}:80/ACSServer/services/ACSServlet•Please set URL as the following, for the connected CPE without authentication: http://{IP address of VigorACS}:80/ACSServer/services/UnAuthACSServlet•Please set URL as the following, for the connected CPE with authentication and the data transmission between CPE and VigorACS 2 with encryption (SSL).https://{IP address of VigorACS}:443/ACSServer/services/ACSServlet•Please set URL as the following, for the connected CPE without authentication but the data transmission between CPE and VigorACS 2 with encryption (SSL)https://{IP address of VigorACS}:443/ACSServer/services/UnAuthACSServlet5.Fill Username and Password for VigorACS 2 Server for authentication. Please enter as thefollowing:Username: acsPassword: password6.For the username and password of CPE client, it is not necessary for you to type them.7.Click Enable for Periodic Inform Settings.4.2I n v o k e R e m o t e M a n a g e m e n t f o r C P EYou have to make sure that the CPE device you want to connect supports VigorACS 2 features.Please consult your dealer if you have no idea in it.1.Suppose WAN IP of CPE device has been setup successfully. And you can access into Internetwithout difficulty.2.Login the device (e.g., Vigor2862) by web.3.Go to System Maintenance>>Management.4.Check Allow management from the Internet to set management access control.4.3E n a b l e W A N C o n n e c t i o n o n C P EYou have to make sure the CPE device you want to connect has been configured properly and can access into Internet.1.Login the device (e.g., Vigor2862) by web.2.Open WAN>>Internet Access.3.Choose Static or Dynamic IP as Access Mode and click Details Page for WAN2.4.The following web page appears. Click Enable and Specify an IP address. Enter correctWAN IP address, subnet mask and gateway IP address for your CPE. Then click OK.VigorACS 2 Quick Start Guide41InfoReboot the CPE device and re-log into VigorACS 2. CPE which has registered to VigorACS 2 will be captured and displayed on the home page of VigorACS 2.VigorACS 2 Quick Start Guide42 5. T r o u b l e s h o o t i n gWhen you try to invoke VigorACS 2 and get the following error message, please locate the file of “server .log ” from C:/Program Files/VigorACS/server/default/log and send the file to yourdealer for further assistance.For Linux system, please locate the file of “server .log ” from/usr/local/vigoracs/VigorACS/server/default/log/ and send the file to your dealer for further assistance.。
windows安装ninja
windows安装ninja本⼈安装环境 win10 , VS2015 , anconda3, gitgit clone git:///ninja-build/ninja.git && cd ninjagit checkout release打开VS2015 x86 x64兼容⼯具命令提⽰符进⼊ninja,输⼊命令python configure.py --bootstrap开始下列编译,可以看到最后编译成功, ⽣成的build⽂件C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC>cd \Users\zdc\ninjaC:\Users\zdc\ninja>python configure.py --bootstrapbootstrapping ninja...warning: A compatible version of re2c (>= 0.11.3) was not found; changes to src/* will not affect your build. build_debug_depfile_deps_disk_edit_eval_line_manifest_includes_msvc_msvc_helper_getopt.c正在⽣成代码已完成代码的⽣成wrote build.ninja.bootstrap complete. rebuilding...[1/28] CXX build\edit_distance.obj注意: 包含⽂件: c:\users\zdc\ninja\src\edit_distance.h注意: 包含⽂件: c:\users\zdc\ninja\src\manifest_parser.h注意: 包含⽂件: c:\users\zdc\ninja\src\lexer.h注意: 包含⽂件: c:\users\zdc\ninja\src\state.h注意: 包含⽂件: c:\users\zdc\ninja\src\version.h[28/28] LINK ninja.exe正在⽣成代码已完成代码的⽣成C:\Users\zdc\ninja>dir驱动器 C 中的卷是 Acer卷的序列号是 26E4-7E78C:\Users\zdc\ninja 的⽬录2017/07/05 22:28 <DIR> .2017/07/05 22:28 <DIR> ..2017/07/05 21:46 1,051 .clang-format2017/07/05 21:46 445 .gitignore2017/07/05 21:46 207 .travis.yml2017/07/05 21:46 881 bootstrap.py2017/07/05 22:28 <DIR> build2017/07/05 22:28 8,585 build.ninja2017/07/05 21:46 23,419 configure.py2017/07/05 21:46 11,560 COPYING2017/07/05 21:46 <DIR> doc2017/07/05 21:46 7,924 HACKING.md2017/07/05 22:06 <DIR> misc2017/07/05 22:28 503,808 ninja.bootstrap.exe2017/07/05 22:28 503,808 ninja.exe2017/07/05 22:28 6,983,680 ninja.pdb2017/07/05 21:46 898 README2017/07/05 21:46 1,299 RELEASING2017/07/05 21:46 <DIR> src2017/07/05 22:28 1,757,184 vc140.pdb14 个⽂件 9,804,749 字节6 个⽬录 35,287,703,552 可⽤字节C:\Users\zdc\ninja>。
AIX系统操作手册【精选文档】
IAIX系统操作手册系统操作手册版本:5L目录第一章AIX操作系统的安装 (5)安装介质与方式 (5)BOS(Base Operating System)安装 (5)第二章AIX操作系统基本命 (8)➢系统的进入和退出 (8)password (8)mkdir、rm、mv和cd (8)ls (9)date (10)wc (10)who (10)finger (11)ps (11)kill (15)find (15)grep (16)第三章vi编辑器 (18)3。
1vi 简介 (18)3.2vi的进入与离开 (18)3。
3vi 的文本输入模式 (18)3。
4vi 基本编辑命令 (19)3.5文件处理子命令 (21)第四章存储管理 (21)4.1相关术语 (21)PV (Physical V olume) (21)VG (V olume Group) (21)PP (Physical Partition) (22)LP (Logical Partition) (22)LV(Logical V olume) (22)Mirror(镜像) (22)VGDA(Volume Group Description Area,卷组描述区) (22)VGSA(V olume Group Status Area,卷组状态区) (23)4.2PV的管理 (23)硬盘安装 (23)配置一个PV (23)修改PV的属性 (24)删除一个PV (24)4。
3VG的管理 (24)创建一个VG (24)删除一个VG (25)对VG的管理 (25)4。
4LV的管理 (27)增加一个LV (27)修改LV的属性 (28)删除一个LV (31)第五章RS6000 更换硬盘的过程 (33)HDISK0和HDISK1做成MIRROR,是ROOTVG (33)先做系统备份 (33)查看HDISK0的S/N,P/N号等,在换盘的时候做对照 (33)查看所有硬盘(包括逻辑盘)的状态#lsdev -Cc disk (34)停HACMP (34)把HDISK0从ROOTVG中不做MIRROW (34)关机 (35)开机 (35)把HDISK0加到ROOTVG中并做镜像 (35)重启动2号机 (35)关闭1号机的HACMP (36)重启动1号机 (36)启动1号机的HACMP (36)启动2号机的HACMP (36)第六章HACMP安装配置 (36)准备工作 (36)检测连8port卡的TTY (37)使用AIX安装CD安装文件 (37)修改电源管理 (38)Netscape安装和配置 (38)安装HACMP/ES软件 (38)安装最新的AIX和HACMP补丁 (39)SSA微码升级 (39)设置主机名 (39)为所有网卡绑定boot或standby的IP地址 (40)创建VG、LV和FS (40)修改系统参数 (41)重启两台机器 (42)配置HACMP (42)HA测试(一):启动和关闭 (44)HA测试(二):本机IP接管 (44)HA测试(三):资源接管 (45)第七章模拟硬盘更换 (46)预做方案 (46)查看硬盘信息 (46)把要更换硬盘从VG中拿掉 (47)关机 (47)准备工作 (47)拆机箱 (47)更换硬盘 (47)开机 (47)查看硬盘 (47)改PV (47)做镜像 (48)把另一块盘18G拿掉 (48)关机 (48)更换硬盘 (48)开机 (48)查看硬盘信息 (48)改PV (48)做镜像 (48)起服务 (48)英迈强人 (49)第二方案 (50)把把机器的前面板拆下 (50)查看硬盘信息,看哪个盘是干什么用的 (50)把要更换硬盘从VG中拿掉 (50)把硬盘做成PV (51)lspv查看硬盘情况 (51)把硬盘加到VG中 (51)把18G硬盘数据复制到36G上, (51)取下另一18G硬盘 (51)把硬盘做成PV (51)做镜像 (52)检查,OK (52)第一章AIX操作系统的安装安装介质与方式AIX操作系统的安装可以:1)通过Tape安装。
Techlog2015安装激活教程
Techlog 2015安装激活教程注意:不能在虚拟机中运行,不要调整系统时间打开解压后的Schlumberger Techlog 2015.3 x64文件夹,双击Install Techlog 2015.3 (r158051) (64-bit)回到Schlumberger Techlog 2015.3 x64文件夹,双击SchlumbergerLicensingTool_2015.1回到Schlumberger Techlog 2015.3 x64文件夹,打开“Techlog 2015激活包”文件夹,将其中的2个文件复制,粘贴到软件安装路径的bin64文件夹中,替换原文件。
【默认安装路径为C:\Program Files\Schlumberger\Techlog 2015.3 (r158051)\bin64,如果更改了安装路径,找到自定义路径中的bin64文件夹】回到Schlumberger Techlog 2015.3 x64文件夹,再打开“Techlog 2015许可证”文件夹,用记事本方式打开“license.lic”,修改第一行"PCName"为你的计算机全名【右键我的电脑→属性→更改设置→复制计算机全名】,保存。
回到“Techlog 2015许可证”文件夹,复制“slbsls 、debug”和“更改后的license.lic”3个文件,粘贴到安装路径的Schlumberger Licensing\2015.1文件夹中,替换原文件。
【默认安装路径是C:\Program Files (x86)\Schlumberger\Schlumberger Licensing\2015.1】接着以管理员身份运行Schlumberger Licensing\2015.1文件夹中的“lmtools”文件在下图的:2处填入Schlumberger Techlog Service3处打开C:\Program Files (x86)\Schlumberger\Schlumberger Licensing\2015.1\lmgrd.exe4处打开C:\Program Files (x86)\Schlumberger\Schlumberger Licensing\2015.1\license.lic 5处打开C:\Program Files (x86)\Schlumberger\Schlumberger Licensing\2015.1\debug.log到此安装激活完成,重启电脑到桌面,或所有程序中,双击软件的快捷方式图标或在license server右侧的方框中填写@计算机全称,例如:@TOO7。
Log4cplus使用指南
Log4cplus使用指南广目录1 LOG4CPLUS简介 (5)2 安装方法 (5)3 主要类说明 (6)4 基本使用 (6)4.1基本步骤 (6)4.2使用示例 (7)4.2.1 例1-标准使用 (7)4.2.2 例2-简洁使用 (8)4.2.3 例3-输出日志到控制台 (9)4.2.4 例4-输出日志到文件 (10)4.2.5 例5-使用loglog输出日志 (11)4.3日志输出宏 (13)5 输出格式控制 (14)5.1S IMPLE L AYOUT (14)5.2P A TTERN L AYOUT (15)5.2.1转换标识符 (15)5.3TTCCL AYOUT (17)6 输出重定向 (18)6.1重定向到控制台 (18)6.2重定向到文件 (19)6.2.1 FileAppender (19)6.2.2 RollingFileAppender (19)6.2.3 DailyRollingFileAppender (20)6.3重定向到远程服务器 (22)6.3.1 客户端程序需要做的工作 (22)6.3.2 服务器端程序需要做的工作 (22)6.3.3 例6-重定向到远程服务器 (23)6.4嵌入诊断上下文NDC (28)7 输出过滤 (30)7.1利用日志级别进行输出过滤 (30)7.1.1 日志级别管理 (30)7.1.2 利用日志级别进行输出过滤 (31)7.1.3 例7-日志的优先级 (31)7.1.4 例8-运行时利用日志级别进行输出过滤 (34)7.2利用脚本配置进行输出过滤 (37)7.3L OG L OG的输出过滤 (37)8 脚本配置 (37)8.1基本配置 (37)8.1.1根Logger的配置 (37)8.1.2非根Logger的配置 (37)8.2高级配置 (38)8.2.1 Appender配置 (38)8.2.2 Filter配置 (38)8.2.3 Layout配置 (39)8.3.3 例9-脚本配置 (39)8.3脚本配置的动态加载 (42)8.3.1 例10-使用线程监控脚本的更新 (42)9 定制LOG4CPLUS (44)9.1定制日志级别 (44)9.2定制L OG L OG (47)1 Log4cplus简介log4cplus是C++编写的开源的日志系统,前身是java编写的log4j系统,受Apache Software License保护,作者是Tad E. Smith。
windbg gflags操作流程
windbg gflags操作流程Windbg是Windows平台上的一款强大的调试工具,可以用于分析和调试应用程序和操作系统。
Gflags是Windbg中的一个重要功能,可以用于设置全局标志位,从而在调试过程中提供更多的调试信息。
本文将详细介绍使用Windbg和Gflags的操作流程。
我们需要下载和安装Windbg工具。
可以从Microsoft官方网站上下载Windbg的最新版本,并按照安装向导进行安装。
安装完成后,我们可以在开始菜单中找到Windbg的快捷方式。
接下来,我们打开Windbg,并选择要调试的应用程序或操作系统。
可以通过"File"菜单中的"Attach to a Process"选项来选择正在运行的进程,或者通过"File"菜单中的"Open Crash Dump"选项来打开崩溃转储文件。
在Windbg的命令行中,我们可以使用Gflags命令来设置全局标志位。
Gflags命令的基本语法如下:```gflags [/p [/enable | /disable] [/full] [/offlinesymbolsp] [/user] [/kernel]] [imagefile]```其中,"/p"参数用于指定要设置标志位的进程或模块;"/enable"和"/disable"参数用于启用或禁用标志位;"/full"参数用于显示所有标志位的详细信息;"/offlinesymbolsp"参数用于禁用符号搜索路径;"/user"参数用于设置用户模式的标志位;"/kernel"参数用于设置内核模式的标志位;"imagefile"参数用于指定要设置标志位的映像文件。
Rose安装与操作
附录A Rational Rose的安装与应用前面已经介绍过Rational Rose的基本内容,本章将对如何使用Rational Rose 2003进行介绍,包括Rational Rose的安装、Rational Rose的应用等。
希望读者能够通过本章的内容熟悉Rational Rose的应用环境,并能够熟练的使用。
A.1 Rational Rose的安装本节将从Rational Rose的环境和安装两个方面进行介绍。
1.Rational Rose的环境以Rational Rose 2003为例,它的安装需要以下运行环境。
●硬件配置:最低的硬件配置环境需要基于Pentium的PC兼容系统、600MHz、512MB内存、400MB硬盘空间,推荐将内存增加至1GB。
●系统要求:可以安装Windows NT 4.0、Windows 2000、Windows XP Professional、WindowsServer 2003操作系统中。
●数据库支持:Rational Rose 2003可以提供多种数据库的支持,包括IBM DB2 UniversalDatabase 5.x、6.x和7.x;IBM DB2 OS390 5.x和6.x;MS Server 6.x、7.x和2000;Oracle7.x、8.x和9.x以及Sybase System 12。
由于Rational公司已经与IBM公司合并,所以可以通过购买获取IBM Rational公司的正版商业软件,也可以通过试用的方式从IBM的官方网站()上下载试用版本。
2.Rational Rose的安装以Rational Rose Enterprise Edition为例进行说明,安装步骤如下。
【01】将拥有Rational Rose Enterprise Edition安装程序的光盘放置在光驱中,浏览该光盘,查找RationalRoseEnterpriseEditionforWindows.exe可执行文件,双击该文件,弹出Rational Rose安装文件路径的界面,如图A-1所示。
Shell脚本实战:日志关键字监控+自动告警
主要用于Linux服务器监控程序日志,如出现关键字异常则触发相应的动作或告警操作,通知到邮件联系人。
一、安装邮件服务1、解压tar -jxf mailx-12.4.tar.bz2 -C /usr/src/ && cd /usr/src/mailx-12.4/2、编译make install UCBINSTALL=/usr/bin/install异常报错解决方法下载mailx补丁文件“mailx-12.4-openssl_1.0.0_build_fix-1.patch”,将补丁文件和mailx解压缩目录放置同一路径执行打补丁命令:patch -p0 < mailx-12.4-openssl_1.0.0_build_fix-1.patch进入mailx-12.4重新执行编译命令:make install UCBINSTALL=/usr/bin/install检测mailx是否安装成功:mailx -V3、配置vi /etc/nail.rc,在文件的最后添加set from=set smtp=set smtp-auth-user=set smtp-auth-password=set smtp-auth=login如下图所示,修改配置完后保存4、测试发送邮件echo '邮件正文'|mailx -v -s "邮件标题" 邮箱地址至此邮件功能测试正常,接下来是关键字监控脚本的编写工作,通过日志关键字脚本触发邮件告警脚本实现日志监控二、关键字监控脚本开发CheckLogs.sh 日志监控程序SendMail.sh 发邮件脚本,该脚本可自定义conf 配置文件目录,chklist为配置文件初次执行CheckLogs.sh脚本会读取日志文件并记录当前读取的行数后续运行脚本则读取更新日志,例如当前日志更新了9行数据,则脚本从最新的9行数据获取关键字测试插入关键字error继续执行脚本可以看到已捕获关键字并触发告警测试多关键字再次执行可以看到已捕获最新更新的日志信息测试频率控制至此相关功能测试已完成。
Oracle10g(10.2.0.1).install.on.Windows-Server-2003.and.upgrade.to.Patch(10.2.0.4).gui
Windows Server 2003上安装Oracle10g(10.2.0.1)并升级至补丁Oracle Patch(10.2.0.4)图解作者:韦德weide001@906498225@第一部分:安装Oracle 10.2.0.11、选择安装方法4、检查先决条件9、指定数据库数据存储目录10、指定备份和恢复选项11、概要(检查安装配置,是否需要重新设定)12、安装(等待安装进度…)13、安装完成,启动DBCA创建数据库也完成了14、数据库内置用户口令管理15、安装结束提示信息(记住)16、结束确认17、自动打开浏览器登录EM(Enterprise Manager 10g)至此,Oracle 10g 10.2.0.1安装完毕,可以进行正常使用啦!!!第二部分:安装补丁Oracle Patch 10.2.0.4一、Oracl e 10.2.0.4 Patch 安装for Windows 32bit 环境要求硬件要求:Intel Pentium or AMD 32 bit 处理器系统要求:Windows Server 2003Windows Server 2003 R2Windows 2000 (Service Pack 2 or later)Windows XP ProfessionalWindows Vista with Service Pack 1 or later数据库版本要求:Oracle Database 10g (10.2.0.1) or later二、升级安装前的准备工作1、关闭数据库SQL> CONNECT SYS AS SYSDBAEnter password: {sys_password}已连接。
SQL> SHUTDOWN2、停止所有服务1、关闭所有可能访问数据库的工具软件和服务进程,例如:Oracle Enterprise Manager Database Control oriSQL*Plus、PL/SQL等等。
解决android报错:IntelHAXMisrequiredtorunthisAVD
解决android报错:IntelHAXMisrequiredtorunthisAVD今天,简单讲解Android 启动模拟器时,提⽰错误:Intel HAXM is required to run this AVD. VT-x is disabled in BIOS. Enable VT-x in your BIOS security settings (refer to documentation for your computer)的问题。
这个问题其实是Android studio是否下载了Download Intel x86 Emulator Accelerator (HAXM installer),所以检查SDK manager是否下载Download Intel x86 Emulator Accelerator (HAXM installer),如果下载了,那么可能是电脑没有开启虚拟化技术,去BIOS开启Intel虚拟化。
具体步骤如下:1.⾸先在SDK Manager中检查是否安装Download Intel x86 Emulator Accelerator (HAXM installer),如果没有安装,则在SDK Manager中下载安装Download Intel x86 Emulator Accelerator (HAXM installer)。
2.到SDK⽬录下(⼀般是C:\Users\Administrator\AppData\Local\Android\sdk),在这个⽬录下沿着 extras > intel > Hardware_Accelerated_Execution_Manager ⽬录找到intelhaxm-android.exe这个⽂件安装定并运⾏。
3.在安装的过程中,你可能会遇到这样的错误提⽰:”Intel virtualization technology (vt,vt-x) is not enabled”,不⽤担⼼,这时你只需要进⼊BIOS界⾯在“configurations”中找到“Intel Virtualization Technology”将其设置成Enable即可(关于进⼊BIOS界⾯的⽅式不同的电脑⼤同⼩异,我的笔记本是联想笔记本,所以我在开机显⽰联想logo的⼀瞬间按下F2即进⼊了BIOS界⾯)。
安装程序配置服务器失败。参考服务器错误日志和C:windowssqlstp.log了解更多信息
安装程序配置服务器失败。
参考服务器错误⽇志和C:
windowssqlstp.log了解更多信息
重装sql经常遇到2个问题
1,以前的某个程序安装已在安装计算机上创建挂起的⽂件操作。
运⾏安装程序之前必须重新启动计算机。
删除C:\Program Files\Microsoft SQL Server,SQL安装⽬录删除(此处如果有重要的数据,请先备份)
打开注册表编辑器,在HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager中找到PendingFileRenameOperations项⽬,并删除它。
2,安装程序配置服务器失败。
参考服务器错误⽇志和C:\windows\sqlstp.log 了解更多信息
注册表中的相关信息删除:
打开注册表:开始->程序->regedit HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer。
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server。
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MSDTC。
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\setup
删除ExceptionComponents。
Buildroot大大简化了交叉编译工具链的制作
台上运行的本机编译(Native Compile)工具链。
我花了大量的时间研究buildroot,基于2009.11的版本做了不少修改,使得它符合固件开发的要求。
下面列出的是一些主要的改动:∙增加了对2.6.12内核头文件的支持(编译uClibc需要)∙增加了对uClibc-0.9.28的支持∙增加了对busybox-1.15.3的支持∙增加了对gcc 3.4.4和gcc 4.4.2的支持∙增加了对nfs-utils-1.1.1的支持∙为libiconv瘦身,只保留了unicode和简体中文的支持,编译出的动态库从900多K减小到200多K。
(编译samba需要libiconv)∙让libcurl和openssl只产生静态库。
(编译transmission要用到)1. 准备编译环境(适用于Ubuntu或Debian。
我用的是Ubuntu 9.10)安装编译所需软件包:$ sudo apt-get install build-essential libncurses5-dev bison flex texinfo zlib1g-dev gettext libssl-dev autoconfbuildroot用wget下载软件包源码,因此需要安装wget:$ sudo apt-get install wgetUbuntu默认的shell是dash,它跟buildroot的脚本有些不兼容。
用下面的命令切换到bash:$ sudo dpkg-reconfigure dash2. 下载buildroot-2009.11,放在HOME目录下,当然也可以放在其它目录。
$ cd$ wget /downloads/buildroot-2009.11.tar.bz2$ tar jxf buildroot-2009.11.tar.bz23. 打补丁。
我把我的所有修改都放在一个补丁里:buildroot-2009.11.patch.zip$ cd buildroot-2009.11$ patch -p1 < ../buildroot-2009.11.patch4. 配置buildroot。
mlnxofedinstall 参数
mlnxofedinstall 参数Mlnxofedinstall是一个用于安装和配置Mellanox OFED (Mellanox OpenFabrics Enterprise Distribution)软件包的命令行工具。
Mellanox OFED是适用于Mellanox InfiniBand和以太网适配器的一组开源软件和驱动程序,它提供了一种简单和高效的方式来支持各种HPC(高性能计算)、云计算和数据中心应用。
Mlnxofedinstall是一个非常有用的工具,它可以帮助用户轻松安装和配置Mellanox OFED软件包。
下面,我们将详细介绍Mlnxofedinstall命令的参数及其用法。
1. `-h`或`--help`参数:显示Mlnxofedinstall的帮助信息,包括所有可用参数以及它们的用法和说明。
2. `-v`或`--version`参数:显示Mlnxofedinstall的版本信息。
3. `-d`或`--debug`参数:启用调试模式,输出更详细的安装和配置日志信息,以便于故障排除和问题解决。
4. `-s <server>`或`--server=<server>`参数:指定Mellanox 的软件仓库服务器。
默认情况下,Mlnxofedinstall将使用Mellanox 官方服务器。
如果你有一个本地的软件仓库,请使用该参数指定它的URL。
5. `-r <repository>`或`--repository=<repository>`参数:指定要安装的软件仓库版本。
该参数可以接受数值或一系列数字,表示要使用的版本。
如果不指定该参数,默认将安装最新的版本。
6. `-a <adapter>`或`--adapter=<adapter>`参数:指定要安装和配置的网络适配器。
该参数可以接受适配器名称、适配器PCI地址或适配器端口。