Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
ts_tier_2_012010.doc
Скачиваний:
0
Добавлен:
01.07.2025
Размер:
1.25 Mб
Скачать

2 ) Exceptions

It is important to note that there may be exceptions to rules on our servers, please use this manual as a guideline. These exceptions can often be found by doing a search in P.I.G.S. You are required to data mine for information at times.

3) Tier 2 Tools a) Solutions.24hourwebhostingsupport.Com

  • As a Tier 2 agent you will be visiting this site often!

  • Only Tier 2 categorized tools are listed, “Check Send” and other Tier 1 tools are found here also, but will not listed within this manual.

  • http://solutions.24hourwebhostingsupport.com/

Agents will be able to do the following:

  • Add Sendmail

  • DSN Deletion

  • Reset Permissions (Before Reset, search for open tickets regarding spam as it will disable domain’s cgi-bin where bad formail scripts were reported for spamming) – will remain queued for 10 minutes.

  • Perl Diver (Lists Server Program Paths)

B) SSH

  • As a Tier 2 agent you will often find yourself relying on nslookups/ssh type commands.

  • http://internalfaq.hostopia.com/index.php?action=show&cat=134

SSH Information

To access the SSH UNIX Manual you can login to tslookup.megavoipservers.com and type “man ssh,” and acquire the same information as the following:

  1. SSH general information (http://www.openbsd.org/cgi-bin/man.cgi?query=ssh&sektion=1)

  2. SSH Info (http://the.earth.li/~sgtatham/putty/0.58/htmldoc/ )

SSH Command

Description

man ssh

  • Purpose: retrieve SSH Manual

  • Syntax: man ssh

imaptest

  • Purpose: connect via IMAP to a user’s inbox on the mail server and display number of messages, or an error.

  • Syntax: imaptest mailserver username password

poptest

  • purpose: connect via the pop3 protocol to a user’s inbox on the mail server and display the number of messages and the size in bytes

  • Syntax: poptest mailserver username password

Imaplist

  • Purpose: to display a detailed list of all imap folders for a mail user

  • Syntax: imaplist mailserver mail_username password

Spamtest

  • Purpose: to display the number of messages in the inbox and SPAM.Incoming(junk) folder

  • Syntax: spamtest mailserver username password

Spamkill

  • Purpose: delete all the emails in the SPAM.Incoming folder

  • Syntax: spamkill mailserver username password

DNS

  • Purpose: display the zone file for a given domain from the indicated nameserver.

  • Syntax: dns nameserver domain

Ncftp FTP client

  • Purpose: connect to ftp

  • Syntax: ncftp -u username -p password domain.com

  • please type ‘help’ to display additional commands available

  • For more info see NcFTP: http://www.ncftp.com/nctp

MySQL Connection

  • Purpose: connect to MySQL databases

  • Syntax: mysql database -h sql_server -u username –ppassword

  • *Please note there is no space between “-p” and password itself

Secure Copy via SSH

1. You must have the following required information:

Source Information

  • source username: domain.tld

  • source hostname: shell1c1.megawebservers.com

  • source ssh password: source123

  • source directory (if there is one): public

  • source filename: filename.html

NOTE: when copying the files over you can keep the file name as the existing one, or rename it. i.e. renamed.html

Destination Information

  • destination username: domain2.tld

  • destination hostname: shell1c3.megawebservers.com

  • destination ssh password: destination123

  • destination directory (if there is one): public

  • destination filename: renamed.html

2. Secure Copy can only be accessed via Putty / WinSCP or SSH Client

Client must download one, if they do not already have a SSH Client. 3. In the SSH client type in source command scp source_username@sourcehostname:directoryname/filename.html filename.html

i.e. scp domain.tld@shell1c1.megawebservers.com:public/filename.html filename.html

4. Type in the source ssh password 5. Next type in destination source command scp filename.html destination_username@destination_hostname:directoryname/renamed.html

i.e. scp filename.html domain.tld2@shell1c3.megawebservers.com:public/renamed.html 6. Type in the destination ssh password.

tar Command for Backups

To backup a user’s web directories you must first enable SSH access for the domain and login to the shell with putty and use the tar command.

  1. To backup a specific directory, example cgi-bin, to a file called backup.tar  type: tar -cf backup.tar cgi-bin

  2. Checking if the .tar file has been created: ls -ls | grep backup.tar

  3. Listing content for newly created archive: tar -tf backup.tar

  4. Unpacking the archive:tar -xf backup.tar

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]