zoukankan      html  css  js  c++  java
  • webmin-1.810 安装

    Installing the tar.gz file

    Before downloading Webmin, you must already have Perl 5 installed on your system. Perl is usually installed as /usr/local/bin/perl or /usr/bin/perl, and comes as part of most recent versions of Linux. If you don't have Perl, you can download the source from http://www.perl.com/ and compile it for your system. Most operating systems come with Perl these days, so check your operating system CD or website for a package as well.

    To download the Webmin tar.gz package, either follow the link on the downloads page , or run commands like :[root@yourhost /]# cd /tmp
    [root@yourhost /tmp]# wget http://prdownloads.sourceforge.net/webadmin/webmin-1.810.tar.gz

    When unpacked, the distribution creates a subdirectory called webmin-1.810 under the current directory. Since recent versions of Webmin support installation into a directory of your choice, you can pick a destination directory such as/usr/local/webmin. Then run the following commands in the directory containing thewebmin-1.810.tar.gz file :[root@yourhost /tmp]# gunzip webmin-1.810.tar.gz
    [root@yourhost /tmp]# tar xf webmin-1.810.tar
    [root@yourhost /tmp]# cd webmin-1.810
    [root@yourhost /tmp/webmin-1.810]# ./setup.sh /usr/local/webmin

    When the setup.sh script is run, it will ask the following questions :

    • The Webmin configuration directory
      The directory in which all Webmin configuration information is stored. This is now separate from the Webmin install directory, so that configurations are saved when you upgrade. 
      If you have previously installed Webmin and use the same config directory, this will be the only question asked.
    • The Webmin log directory
      The location for pid and webserver log files.
    • The full path to perl on your system
      This is usually /usr/bin/perl or /usr/local/bin/perl
    • Your Operating system type
      In Webmin versions 0.990 and above, this question is only asked if your operating system cannot be automatically determined.
      The setup script will display a list of supported systems. If your OS is not on the list, you can try choosing the closest match. However this may not work properly, and may even cause serious problems!
    • Web server port
      The TCP port that the Webmin web server will listen on.
    • Web server login and password
      The login name and password used to acess the Webmin web server.
    • Web server hostname
      The hostname of the machine on which Webmin will run.
    • Use SSL
      This question will only be asked if your system has the Perl SSL libraries installed. See below for more..
    • Start Webmin at boot time
      If your OS is supported, Webmin will ask if you want to have it automatically started at boot time.

    Assuming you answer all the above questions correctly, the Webmin web server will be started and the setup script will give you the URL to go to. Enter this URL into your browser, and you will be prompted for the login and password that you choose in setup.sh. Once you have logged in your browser should show the main Webmin page, on which is an icon for each module you have installed.

    Typically you can connect to Webmin at http://localhost:10000/. Or if accessing it remotely, replace localhost with your system's IP address.

    If you installed Webmin by specifying an installation directory parameter to setup.shas the instructions above show, the original webmin-1.810 directory can now be safely deleted.

     

  • 相关阅读:
    JavaSE之流程控制结构
    JavaSE的基本语法
    排序算法
    Java实现归并排序
    Java中线程池的介绍
    Java锁的升降级及synchoronized优化
    ThreadLocal应用与原理
    spring bean 实例化bean前后进行相应的设置
    maven依赖配置和依赖范围
    springmvc校验
  • 原文地址:https://www.cnblogs.com/fklin/p/5877432.html
Copyright © 2011-2022 走看看