您好,欢迎访问三七文档
UC服务器安装手册伍铜稳一、通过定制盘,一键安装操作系统使用UC定制安装盘TurboLinux11.2版本安装.(1)当定制盘无需加载驱动时,在启动画面输入uc,回车后自动安装(2)当定制盘需要加载驱动时,例如:.服务器R520.Raid8708需使用USB加载驱动程序.引导顺序RAID,然后CD.出来newstart安装界面的时候,输入autodd来加载驱动安装模式,选择USB所在磁盘,进行加载驱动。在TurboLinux11.2操作系统安装后,需要注意rpm包及脚本和Newstart有所区别二、配置系统的IP地址[root@zteebgsvr~]#vi/etc/sysconfig/network-scripts/ifcfg-eth0修改里面的配置项。DEVICE=eth0BOOTPROTO=staticHWADDR=00:1B:21:0C:05:2AIPADDR=10.16.13.254NETMASK=255.255.255.0GATEWAY=10.16.13.3ONBOOT=yesTYPE=Ethernet[root@zteebgsvr~]#servicenetworkrestart三、获取mac地址[root@zteebgsvr~]#ifconfigeth0Linkencap:EthernetHWaddr00:1B:21:0C:05:2Ainetaddr:10.16.13.254Bcast:10.16.13.255Mask:255.255.255.0inet6addr:fe80::21b:21ff:fe0c:52a/64Scope:LinkUPBROADCASTRUNNINGMULTICASTMTU:1500Metric:1四、UC服务器安装过程1、基础及额外依赖环境,拷贝是需注意:compat-libstdc++-296-2.96-138.i386.rpmbc-1.06-21.1.i386.rpmdos2unix-3.1-27.2.i386.rpmksh-20080202-14.i386.rpmZXECS-UC100-Sybase-12.5.4-0001.i386.rpmZXECS-UC100-tomcat-5.0.28-0001.i386.rpm2、版本软件包:ZXECS-UC100-ucm-3.0-00011.i386.rpmZXECS-UC100-sips-2.1-00001.i386.rpmZXECS-UC100-das-2.2-00010.i386.rpmZXECS-UC100-sms-2.2-00002.i386.rpm可选性安装ZXECS-UC100-vcs-2.5-00010.i386.rpm可选性安装3、安装以下批处理脚本:install_env.shucchangeip.shucsetip.shrcrc.localtmpl_zxucsd_servicesshd_config(具体安装步骤见下方,红色粗体为所需指令)4、命令行操作[root@zteucserver~]#cd/opt[root@zteucserveropt]#lscompat-libstdc++-296-2.96-132.7.2.i386.rpmbc-1.06-21.1.i386.rpmdos2unix-3.1-27.2.i386.rpmksh-20080202-14.i386.rpminstall_env.shrcrc.localsshd_configtmpl_zxucsd_serviceucchangeip.shucsetip.shZXECS-UC100-das-2.2-00010.i386.rpmZXECS-UC100-sips-2.1-00001.i386.rpmZXECS-UC100-sms-2.2-00002.i386.rpmZXECS-UC100-Sybase-12.5.4-0001.i386.rpmZXECS-UC100-tomcat-5.0.28-0001.i386.rpmZXECS-UC100-ucm-3.0-00011.i386.rpmZXECS-UC100-vcs-2.5-00010.i386.rpm[root@zteucserveropt]#rpm-qa|grep-imysql操作系统默认安装的MySQL数据库是5.0.86,可直接使用,但依赖关系有所不同,在安装UCM和SIPS包时如遇到MySQL的依赖关系,可以通过加–nodeps参数来忽略。5、命令行操作[root@zteucserveropt]#chmod+x*.sh[root@localhostopt]#echo“X.X.X.Xzxin”/etc/hosts注意:其中X.X.X.X替换为配置的本机ip地址-----------------建议手动输入。6、命令行操作[root@zteucserveropt]#./install_env.sh+++++++++++++InstallMySQL+++++++++++++++++++mysqladmin:connecttoserverat'localhost'failederror:'Accessdeniedforuser'root'@'localhost'(usingpassword:NO)'+++++++++++++InstallSybase++++++++++++++++++Preparing...###########################################[100%]packagecompat-libstdc++-296-2.96-132.7.2isalreadyinstalledPreparing...###########################################[100%]packagecompat-libstdc++-33-3.2.3-47.3isalreadyinstalledPreparing...###########################################[100%]1:ZXECS-UC100-Sybase###########################################[100%]BuildingAdaptiveServer'zxdb_das':Writingentryintodirectoryservices...Directoryservicesentrycomplete.Buildingmasterdevice...Masterdevicecomplete.WritingRUN_zxdb_dasfile...RUN_zxdb_dasfilecomplete.Startingserver...Serverstarted.Buildingsysprocsdeviceandsybsystemprocsdatabase...sybprocsdeviceandsybsystemprocsdatabasecreated.Runninginstallmasterscripttoinstallsystemstoredprocedures...installmaster:10%complete.installmaster:20%complete.installmaster:30%complete.installmaster:40%complete.installmaster:50%complete.installmaster:60%complete.installmaster:70%complete.installmaster:80%complete.installmaster:90%complete.installmaster:100%complete.installmasterscriptcomplete.Creatingtwo-phasecommitdatabase...Twophasecommitdatabasecomplete.Installingcommoncharactersets(CodePage437,CodePage850,ISOLatin-1,MacintoshandHPRoman-8)...Charactersetsinstalled.SettingservernameinAdaptiveServer...Servernameadded.Server'zxdb_das'wassuccessfullycreated.BuildingBackupServer'zxdb_das_back':Writingentryintodirectoryservices...Directoryservicesentrycomplete.WritingRUN_zxdb_das_backfile...RUN_zxdb_das_backfilecomplete.Startingserver...Serverstarted.Server'zxdb_das_back'wassuccessfullycreated.Passwordcorrectlyset.(returnstatus=0)++++++++++++++InstallTomcat+++++++++++++++++Preparing...###########################################[100%]packageZXECS-UC100-tomcat-5.0.28-0001isalreadyinstalledmv:cannotstat`/etc/ssh/sshd_config':Nosuchfileordirectorymv:cannotstat`sshd_config':Nosuchfileordirectory7、命令行操作(安装UCM文件)[root@zteucserveropt]#rpm-hviZXECS-UC100-ucm-3.0-00011.i386.rpm–nodepsPreparing...###########################################[100%]1:ZXECS-UC100-ucm###########################################[100%]ShuttingdownMySQL....[OK]StartingMySQL[OK]ln:`/tmp/mysql.sock':FileexistsERROR1146(42S02)atline9:Table'ugp.PIM_ADDRESS'doesn'texistERROR1146(42S02)atline11:Table'ugp.PIM_ADDRESS'doesn'texistERROR1146(42S02)atline13:Table'ugp.PIM_ADDRESS'doesn'texistERROR1146(42S02)atline15:Table'ugp.PIM_ADDRESS'doesn'texistERROR1146(42S02)atline19:Table'ugp.PIM_CONTACT'doesn'texistERROR1146(42S02)atline21:Table'ugp.PIM_CONTACT'doesn'texistERROR1146(42S02)atline23:Table'ugp.PIM_CONTACT'doesn'texistERROR1146(42S02)atline27:Table'ugp.PIM_GROUP'doesn'texistERROR1146(42S02)atline29:Table'ugp.PIM_GROUP'doesn'texistERROR1146(42S02)atline31:Table'ugp.PIM_GROUP'doesn'texistERROR1146(42S02)atline37:Table'ugp.P
本文标题:UC服务器安装手册
链接地址:https://www.777doc.com/doc-2852670 .html