欢迎来到天天文库
浏览记录
ID:35926795
大小:53.00 KB
页数:23页
时间:2019-04-25
《ssh搭建大体流程(ssh build the general process)》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、ssh搭建大体流程(SSHbuildthegeneralprocess)JDKenvironmentvariableconfiguration:Thecomputersystem-properties-advancedsystemsettings-environmentvariables(dividedintouserlevelsystemenvironmentvariablesandenvironmentvariables)-newconfigurationenvironmentvariablesinsystemenvironmentv
2、ariable(variablename:JAVA_HOMEvalue:JDKinstallationroot)AddatthefrontofthePathvariable:(%JAVA_HOME%bin;)TheenvironmentandtoolsrequiredforWEBapplications:1client:Browser2developmenttools:MyEclipse3,WEBcontainer:Tomcat(youcanruntheJavaapplicationonyourbrowser)4server-side:
3、database(usedtopersistdata):MySql...MyEclipseconfigurationenvironment:1configuretheTomcatrunningenvironment:window-preferences-searchTomcat(selecttheappropriateversionconfigurationbasedontheinstalledversionofTomcat)-Enable(applicationTomcat)(Disable:donotapplyTomcat)-clic
4、kBrowse(selecttheTomcatinstallationpath.Rootdirectory)-clickApply(apply)-clicktheJDKconfigurationthatcorrespondstotheselectedversionofTomcat-clickAddtoaddthenativeinstalledJDK(donotusetheJDKwithSUN)-clickDirectory(selecttherootdirectoryofJDK)----OKMySQLinstallationandconf
5、iguration:(donotspecifythedefaultsettingsonthenextstep)1languagesettings:selectManualSelected(characterSet:GBK/UTF-8/GB2312)2,set,the,security,options:(password:...).Thereisacheckboxbelow.Tickit3,whensettinguptheMySQLservice,tickthefollowingcheckbox(addthepathvariableunde
6、rwindow,andyoucanruntheMySQLcommanddirectlyintheblackwindow)MySQL(libnametesttocreatedatabasetablenamestudent,forexample)(defaultnull:wheninsertedormodified,thecolumncanbeempty)(notnull:thevalueofthiscolumncannotbeemptywheninsertedormodified)(inttypedoesnotneedtobesetleng
7、th,defaultlength11)(primarykey:setthecolumnasprimarykey)(auto_increment:primarykeygenerationpolicy:theprimarykeygrowsinwhatform,withouttheneedtomanuallyaddprimarykeys)(defaultcharset=gbk:setthetablecharactersettoGBK,andthedatabasetablecharactersetisthesameasthatoftheMyEcl
8、ipscharacterset)0seethedatabase:showdatabases;1createlibraries:create,database,test;2usinglibrar
此文档下载收益归作者所有