使用NX NoMachine 连接图形化界面安装Oracle
服务端:CentOS 6.0
所需包 :安装按顺序
64位下载地址?Prod_Id=3596
①nxclient-3.5.0-7.x86_64.rpm
②nxnode-3.5.0-7.x86_64.rpm
③nxserver-3.5.0-9.x86_64.rpm
客户端:Windows 7
所需包:nxclient-3.5.0-7.exe
相关阅读:
用NoMachine安装Oracle出错解决方法
NoMachine 安装使用初级教程
远程桌面 NoMachine 的快速安装与使用
配置过程:
Server端:
1、安装上述所写三个包,注意顺序
# vi /usr/NX/etc/server.cfg
取消如下注释,并修改为
第102行 EnableAutokillSessions = "1" 指:允许自动断开
第156行 EnableUnencryptedSession = "0" 指:加密传输
2、# vi /etc/ssh/sshd_config
最后添加:
AuthorizedKeysFile /usr/NX/home/nx/.ssh/authorized_keys2
这是密钥路径
# /etc/init.d/sshd restart
3、添加连接用户(最好是系统不存在的,如果之前已经存在可以不用添加,,直接连)
# /usr/NX/bin/nxserver --useradd 用户 --system
连续两次输入密码
NX> 102 Password:
NX> 102 Confirm password:
NX> 900 Setting password for user: ecdata.
NX> 137 System password changed correctly.
NX> 304 User: ecdata added to the system.
NX> 801 User: ecdata uses SSHD authentication.
NX> 301 User: ecdata enabled in the NX user DB.
NX> 999 Bye.
# /usr/NX/bin/nxserver –restart重启
# /usr/NX/bin/nxserver –help 查看更多帮助
1、下载安装后之后,检查结果如下
[root@node1 softbak]# rpm -aq|grep nx
nxclient-3.5.0-7.x86_64
nxserver-3.5.0-11.x86_64
nxnode-3.5.0-9.x86_64
[root@node1 softbak]#
重启NX server服务
[root@node1 softbak]# /usr/NX/bin/nxserver --restart
NX> 123 Service stopped.
NX> 153 Stopping NX server monitor.
NX> 153 NX server monitor already stopped.
NX> 900 Terminating session id: F9C15B5348402357365B72A6E372D1CA for user: oracle
NX> 900 Terminating session id: 27D0D1088B99788CAEB3CB97EDB40882 for user: grid
NX> 900 Still waiting for session id: F9C15B5348402357365B72A6E372D1CA for user: oracle to terminate.
NX> 900 Still waiting for session id: 27D0D1088B99788CAEB3CB97EDB40882 for user: grid to terminate.
NX> 900 Session id: F9C15B5348402357365B72A6E372D1CA terminated.
NX> 900 Session id: 27D0D1088B99788CAEB3CB97EDB40882 terminated.
NX> 122 Service started.
NX> 999 Bye.
2、检查NX服务有没有启动正常
[root@node1 softbak]# /usr/NX/bin/nxserver --status
NX> 900 Connecting to server ...
NX> 110 NX Server is running.
NX> 999 Bye.
[root@node1 softbak]#

mySqlStringTypesimpactStorageAndPerformanCeaseAsfollows:1)长度,始终使用theSamestoragespace,whatcanbefasterbutlessspace-felfficity.2)varCharisvariable varcharisvariable length,morespace-morespace-morespace-effficitybuteftife buteftife butfority butfority textifforlyslower.3)

mySqlStringTypesIncludeVarChar,文本,char,enum和set.1)varCharisVersAtileForvariable-lengthStringStringSuptOptoPeptoPepecifientlimit.2)textisidealforlargetStortStorStoverStorextorewiteWithoutAdefinedLengthl.3)charlisfixed-Length

MySQLoffersvariousstringdatatypes:1)CHARforfixed-lengthstrings,2)VARCHARforvariable-lengthtext,3)BINARYandVARBINARYforbinarydata,4)BLOBandTEXTforlargedata,and5)ENUMandSETforcontrolledinput.Eachtypehasspecificusesandperformancecharacteristics,sochoose

TograntpermissionstonewMySQLusers,followthesesteps:1)AccessMySQLasauserwithsufficientprivileges,2)CreateanewuserwiththeCREATEUSERcommand,3)UsetheGRANTcommandtospecifypermissionslikeSELECT,INSERT,UPDATE,orALLPRIVILEGESonspecificdatabasesortables,and4)

toadduserInmysqleffectection andsecrely,theTheSepsps:1)USEtheCreateuserStattoDaneWuser,指定thehostandastrongpassword.2)GrantNectalRevileSaryPrivilegesSustate,usiveleanttatement,AdheringTotheTeprinciplelastPrevilegege.3)

toaddanewuserwithcomplexpermissionsinmysql,loldtheSesteps:1)创建eTheEserWithCreateuser'newuser'newuser'@''localhost'Indedify'pa ssword';。2)GrantreadAccesstoalltablesin'mydatabase'withGrantSelectOnMyDatabase.to'newuser'@'localhost';。3)GrantWriteAccessto'

MySQL中的字符串数据类型包括CHAR、VARCHAR、BINARY、VARBINARY、BLOB、TEXT,排序规则(Collations)决定了字符串的比较和排序方式。1.CHAR适合固定长度字符串,VARCHAR适合可变长度字符串。2.BINARY和VARBINARY用于二进制数据,BLOB和TEXT用于大对象数据。3.排序规则如utf8mb4_unicode_ci忽略大小写,适合用户名;utf8mb4_bin区分大小写,适合需要精确比较的字段。

最佳的MySQLVARCHAR列长度选择应基于数据分析、考虑未来增长、评估性能影响及字符集需求。1)分析数据以确定典型长度;2)预留未来扩展空间;3)注意大长度对性能的影响;4)考虑字符集对存储的影响。通过这些步骤,可以优化数据库的效率和扩展性。


热AI工具

Undresser.AI Undress
人工智能驱动的应用程序,用于创建逼真的裸体照片

AI Clothes Remover
用于从照片中去除衣服的在线人工智能工具。

Undress AI Tool
免费脱衣服图片

Clothoff.io
AI脱衣机

Video Face Swap
使用我们完全免费的人工智能换脸工具轻松在任何视频中换脸!

热门文章

热工具

VSCode Windows 64位 下载
微软推出的免费、功能强大的一款IDE编辑器

Dreamweaver Mac版
视觉化网页开发工具

mPDF
mPDF是一个PHP库,可以从UTF-8编码的HTML生成PDF文件。原作者Ian Back编写mPDF以从他的网站上“即时”输出PDF文件,并处理不同的语言。与原始脚本如HTML2FPDF相比,它的速度较慢,并且在使用Unicode字体时生成的文件较大,但支持CSS样式等,并进行了大量增强。支持几乎所有语言,包括RTL(阿拉伯语和希伯来语)和CJK(中日韩)。支持嵌套的块级元素(如P、DIV),

禅工作室 13.0.1
功能强大的PHP集成开发环境

Dreamweaver CS6
视觉化网页开发工具