如何给远程服务器安装桌面_IT:如何在远程桌面服务器上正确安装应用程序

如何给远程服务器安装桌面

如何给远程服务器安装桌面

sshot-22

When installing an application on a Terminal Server, because multiple people will be using the application at once, there is actually a special method that you should use to install the applications. Here’s two methods to do it the right way.

在终端服务器上安装应用程序时,由于会同时使用多个人,因此实际上应该使用一种特殊的方法来安装应用程序。 这是正确方法的两种方法。

Note: this is part of our ongoing series teaching IT administration basics, and might not apply to everybody.

注意:这是我们正在进行的系列教学IT管理基础知识的一部分,可能并不适用于所有人。

命令行方式 (Command Line Method)

The first method we can use involves the command line. You will need to change your user mode to installation mode by using the following command:

我们可以使用的第一种方法涉及命令行。 您将需要使用以下命令将用户模式更改为安装模式:

Change User /Install

更改用户/安装

sshot-16

At this point you could go ahead and safely install the application, but once the application is installed don’t forget to change back to execution mode, you can do so by running the following command:

此时,您可以继续安全地安装该应用程序,但是一旦安装了该应用程序,请不要忘记更改回执行模式,可以通过运行以下命令来完成:

Change User /Execute

更改用户/执行

sshot-18

GUI方法 (The GUI Method)

If you think you are going to forget to switch back to execution mode, or maybe you just don’t like the command line you can always do the same thing using the GUI.  To get started open control panel

如果您认为自己会忘记切换回执行模式,或者也许只是不喜欢命令行,则可以始终使用GUI进行相同的操作。 要开始,请打开控制面板

sshot-19

Switch to the small icon view, and look for Install Application on Remote Desktop Server, double-click on it

切换到小图标视图,然后在“远程桌面服务器”上寻找“安装应用程序”,双击它。

sshot-20

Now you can simply go through the next, next, finish style wizard which will help you get the application installed.

现在,您只需完成下一个,下一个完成样式向导,即可帮助您安装应用程序。

为什么我必须这样做? (Why Must I Do This?)

When you use “change user /install” before installing an application, you actually create .ini files for the application in the system directory. These files are used as master copies for user-specific .ini files. After installing the application,  when you type “change user /execute”  you are reverting to standard .ini file mapping. The first time you run the application, it searches the home directory for its .ini files. If the .ini files are not found in the home directory, but are found in the system directory, Terminal Services copies the .ini files to the home directory, ensuring that each user has a unique copy of the application .ini files. Each user should have a unique copy of the .ini files for an application. This prevents instances where different users might have incompatible application configurations.

在安装应用程序之前使用“更改用户/ install”时,实际上是在系统目录中为该应用程序创建.ini文件。 这些文件用作用户特定的.ini文件的主副本。 安装应用程序后,当您键入“ change user / execute”时,您将还原为标准.ini文件映射。 首次运行该应用程序时,它将在主目录中搜索其.ini文件。 如果.ini文件不在主目录中,而在系统目录中,则终端服务会将.ini文件复制到主目录,以确保每个用户都有应用程序.ini文件的唯一副本。 每个用户应为应用程序具有.ini文件的唯一副本。 这样可以防止不同用户的应用程序配置不兼容的情况。

翻译自: https://www.howtogeek.com/100836/how-to-correctly-install-applications-on-a-remote-desktop-server/

如何给远程服务器安装桌面

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值