WOLFRAM

如何在 Linux 上安装 MathLM?

MathLM 管理 Wolfram 产品许可证。可从您的 Wolfram 帐户中下载安装程序。

用于 Linux 的 MathLM 安装程序是在终端中运行的 bash 脚本。如果您不熟悉终端,请参阅简要指南 how to use the terminal。设置过程是简单易懂的对话。请按照相应的说明,从下载的脚本进行安装。

从下载的脚本运行安装程序

  1. 退出计算机上运行的所有其他 Wolfram 产品。
  2. 从您的 Wolfram 账户中,选择 MathLM <product> 许可证管理器并下载 MathLM_<version>。
  3. 将文件解压缩到您选择的文件夹中(如 Downloads)。
  4. 打开终端,并将目录切换到安装程序所在的位置。例如,如果安装程序位于 Downloads 文件夹中,请运行:
     cd ~/Downloads/MathLM_<version>

    这将使当前目录切换到 Downloads 文件夹中含有已解压安装文件的目录。如果您想确认安装程序文件是否位于 Downloads 文件夹中,请使用 ls 命令。

  5. 在默认位置安装 MathLM 通常需要管理员权限。使用命令 sudo 来运行安装脚本。例如,如果安装程序名为 M-UNIX-LM.sh,请运行:
    sudo bash M-UNIX-LM.sh

    sudo 要求您在计算机上输入密码。输入密码后,安装程序将开始运行。

    如果是安装到您有写入权限的位置,可以省略 sudo

  6. 提供管理者密码后,安装程序将启动。

    请记下计算机名称和 MathID,因为稍后将需要使用。

    MathLM <version> for UNIX Installer Archive
    
    Verifying archive integrity. 
    Extracting installer. ...................
    -------------------------------------------------------------------------
                           MathLM <version> Installer
    -------------------------------------------------------------------------
    
    You can use this installer to install MathLM for the first
    time, or to install a new version when you already have a
    previous version installed. To complete the installation, you
    will need a MathLM password. You have received an activation key
    with this copy of MathLM; to receive your password log in to 
    user.wolfram.com. Create an account if necessary. Once logged in
    associate the activation key with your login and receive your
    password.
    
    You can also find activation instructions at
    https://reference.wolfram.com/network.
    
    To activate and get a password you will need to supply the
    following information:
    
      Machine name:  your machine name
      MathID:        XXXX-XXXXX-XXXXX
    
    Enter 'c' to continue or 'e' to exit the installer [c]: 
    
  7. 输入 “c” 继续安装。输入您在 Wolfram 账户中的激活密钥
    Enter your activation key located on your electronic or printed
    License Certificate. Your activation key is of the form
    XXXX-XXXX-XXXXXX, where the X are digits or letters.
    
    
    Enter your activation key : 1234-5678-123ABC		
    
  8. 要为 MathLM 生成密码,请到 Wolfram 账户中的 Password Generator form 输入上述步骤中获得的激活密钥和 MathID。单击“生成”按钮以生成新密码。

    在 MathLM 安装程序中,输入您的 MathLM 密码,然后按 Enter 继续:

    Enter your MathLM password: 2222-222-222:100,100,800,800:800009:20310101:CB
  9. 如果您将 MathLM 与单个 Wolfram 产品一起使用(如 Mathematica),输入 “n” 并按 Enter 继续。
    Enter additional activation key? (y/n)[y]: 

    如果您将 MathLM 用于多个 Wolfram 产品(如 Mathematica 和 System Modeler),重复步骤 7 和 8,输入另一款产品的激活密钥和密码。

  10. 安装程序会提示您输入安装目录。按 Enter 键将 MathLM 安装到默认目录。
    The installer will copy relevant files from the distribution into your MathLM directory. If you specify a directory that already contains MathLM, the installer will update components to the latest available version. To install MathLM from scratch, specify a directory that does not already exist.
    
    Enter the MathLM directory [/usr/local/Wolfram/MathLM]: 
    		

    或者,键入所要安装目录的完整目录路径,然后按 Enter。

  11. 如果该目录不存在,安装程序将为您创建该目录。输入 “y”,然后按 Enter 继续。
    "/usr/local/Wolfram/MathLM" does not exist. Create? (y/n)[y]: 
  12. 按 Enter 键选择默认的链接目录。
    The installer will copy relevant files from the distribution into a linking directory. If you specify a directory that already contains files from an older installation of MathLM, the installer will update components to the latest available version. To install MathLM from scratch, specify a directory that does not already exist.
    
    Enter the linking directory [/usr/local/sbin]: 
    		

    或者,键入完整目录路径,然后按 Enter。

  13. 现在安装完成。
    /usr/local/Wolfram/MathLM
    Installing the mathpass file to "/usr/local/Wolfram/MathLM".
    Installing manpages to "/usr/local/Wolfram/MathLM".
    
    The complete documentation on MathLM is available at
    https://reference.wolfram.com/network.
    For troubleshooting information or further assistance,
    please contact Wolfram Research Technical Support at
    https://www.wolfram.com/support.
    		
  14. 从终端启动 MathLM 服务器。
    cd /usr/local/Wolfram/MathLM
    ./mathlm

    注意:该命令假定您将 MathLM 安装到默认位置。如果将其安装在其他位置,请用安装目录路径替换 “/usr/local/Wolfram/MathLM”。

  15. 可尝试完成 activating Mathematica via this network licensing server,验证您的 MathLM 服务器正在运行。
    请将第 6 步中记录的 <machine name> 作为服务器名称。

[English]

该文档是否有帮助?

任何建议?

非常感谢您的反馈!

提交

联系支持团队

从账单到产品激活,以及任何技术相关内容,无论您遇到任何问题,我们都在此为您提供帮助。

1-800-WOLFRAM (+1-217-398-0700 美国境外用户)

客服支持

周一至周五
8am–5pm 美国中部时区

  • 产品注册或激活
  • 预售信息和订单
  • 安装帮助和首次启动

高级技术支持 (面向特定用户)

周一至周四
8am–7pm 美国中部时区

周五
8:30–10am & 11am–5pm 美国中部时区

  • 优先技术支持
  • Wolfram 专家助理专员
  • Wolfram 语言编程帮助
  • 高级安装支持