• Path to the tar file
  • Type of operation
  • Figure 7-40 Set All CGI to Execute
  • Smt 1 User’s Guide (Linux Version) Server Management Tool (smt) 1




    Download 6,37 Mb.
    bet21/42
    Sana29.09.2020
    Hajmi6,37 Mb.
    #11801
    1   ...   17   18   19   20   21   22   23   24   ...   42

    Figure 7-39
    Untar a File

    The ability to untar or decompress a file using the SMT/cpanel means that a user does not need to have or use telnet access. If a user wishes to put software or files that are in a tar format on the server, they can use this SMT feature to upload a small, compressed file, and expand the files on the server. This saves on upload time and also on data transfer.


    To untar a file, complete all 3 input sections. See Figure 7-38 below as an example.

    • Path to the tar file – This is the complete directory path, from the root of the virtual server to the file that has been uploaded via FTP.

    • Path to untar the file in - The directory you are untarring to will need to exist. You can create this via FTP.

    • Type of operation – Select Uncompress, Untar or Gunzip. These are the most commonly used compression algorithms. If a user is unsure of what operation to choose, the user can simply review the file extension of the compressed file and compare it to what is on the interface. The file extensions match the action to execute.

    NOTE: Files in the /www/logs directory will not be untarred by this page. You will need to contact AIT to do so. Also, files will not be able to untarred to /bin, /usr/bin, /lib, or /usr/lib. This is because files in these directories are unavailable to users.





    Figure 7-40

    Set All CGI to Execute

    This feature will set all programs in the /www/cgi-bin directory to 755, or executable. The file permissions of executable tell the browser or user if they can access and execute the file. CGI or perl programs need to be executable to be viewed. Typically, after uploading a CGI or perl script, a user will need to change mode or chmod the file to 755 permissions. The numerical value of the permissions can be understood by using the chart below. In FTP, or telnet, users can see the file permissions by doing a directory listing. Here is an example of what can be seen in FTP or telnet.


    -rwxr-xr-x 1 523 523 8953 Jul 2 17:01 fmail.pl
    Note the permissions column on the left hand side. The “r” means that the file is readable. The “w” means that the file is writable and the “x” means that the file is executable. These permissions are duplicated for 3 groups. They are the super user first, the user, then the group permissions. Here is a visual sample. Green is the super user, blue is the user, and red is the group.

    4 + 2 + 1 4 + 2 + 1 4 + 2 + 1 = 777


    r w x r w x r w x 

    The chmod or change mode to the correct permissions can be done one file at a time via FTP or Telnet, or the tool in the SMT can be used to conduct this chmod to 755. In Figure 7-39 below, you can see that the user can do all this with the simple click of a button.






    Download 6,37 Mb.
    1   ...   17   18   19   20   21   22   23   24   ...   42




    Download 6,37 Mb.

    Bosh sahifa
    Aloqalar

        Bosh sahifa



    Smt 1 User’s Guide (Linux Version) Server Management Tool (smt) 1

    Download 6,37 Mb.