Saturday, October 29, 2011

Removing the Shortcut Virus

To remove the virus that creates folder shortcuts:
1. Go to command prompt
2. Type the command: attrib -s -h -r /s /d h:*.* where h: is the drive with the virus
3. Delete the duplicate shortcut folders

Configuring a Web Server

Requirements for Configuring a Web Server

To set up your own web site you need a computer, an operating system, a web server, a domain name, a name server and an IP address.

The computer can be any system capable of running Linux. In terms of an operating system, we will assume you are using Fedora Linux. Fedora Linux supports the Apache web server which can easily be installed once Fedora is up and running. A domain name can be registered with any domain name registration service.

Once you have your domain name and your name server configured the next step is install and configure your web server.

Installing the Apache Web Server on Fedora Linux

The standard web server on Linux is Apache. The web server is the technology that receives requests from web browsers and servers up the requested web pages to those browsers.

The desktop version of Fedora Linux does not install the Apache web server by default. Unless you specifically requested the Apache web server during installation, therefore, the first step in setting up a web server may be to install the Apache server. To check whether the server is already installed, open a Terminal window (Applications->System Tools->Terminal) and run the following command:

rpm -q httpd 

If rpm generates output similar to the following, the apache server is already installed:

httpd-2.2.4-4.1.fc7 

Alternatively, if rpm generates a "package httpd is not installed" then the next step, obviously, is to install it. This can be performed either from the command-line or using the Add/Remove Software tool. To use this tool, open the System->Administration desktop menu and select Add/Remove Software. Enter your password if prompted to do so. Click in the Find text field and search for httpd. After the search completes the Apache HTTP Server should be listed in the search results. Click on the toggle next to the httpd server. Finally, click on Apply in the toolbar to begin the installation.

To install Apache from the command-line start a terminal window (Applications->System Tools->Terminal) and run the following command at the command prompt:

su - yum install httpd 
Starting the Fedora Linux Web Server

Once the Apache server is installed, the next step is to verify that the server is running and, if it is not yet running, to start it.

The status of the server can be verified from the command-line or via the GUI Service Configuration tool. To check the status of the Apache httpd service from the command-line, enter the following command in a Terminal window:

/sbin/service httpd status 

If the above command indicates that the httpd service is not running, it can be launched from the command-line as follows:

su - /sbin/service httpd start 

If you would like the Apache httpd service to start automatically when the system boots, this can be achieved by running the following command:

/sbin/chkconfig --level 3 httpd on 

To configure the Apache service using the Service Configuration tool, select the System->Administration->Services menu option and scroll down the list of services until you find httpd. Select the item in the list and click on the Start button. To ensure the services starts automatically on reboot, also click in the Enable toolbar button.

Testing the Web Server

Once the installation is complete the next step is to verify the web server is up and running. To do this fire up the web browser by clicking on the Firefox logo in the top desktop panel and enter 127.0.0.1 in the address bar (127.0.0.1 is the loop-back network address which tells the system to connect to the local machine). The browser should load the Fedora Test Page.

Congratulations, you have now installed the web server and served up what will hopefully be the first of many web pages.

Configuring the Apache Web Server for Your Domain

The next step in setting up your web server is to configure it for your domain name. This is performed in the /etc/httpd directory. To configure the web server open a terminal window and change directory to /etc/httpd. In this directory you will find a number of sub-directories. Change directory into conf sub-directory where you will find an 'httpd.conf' file which contains the configuration settings for the Apache server.

Edit the httpd.conf file using your favorite editor using the su command to ensure you have write permission to the file. Once loaded, there are a number of settings that need to be changed to match your environment:

The ServerAdmin directive defines an administrative email address for people wishing to contact the webmaster for your site. Change this to an appropriate email address where you can be contacted:

        ServerAdmin webmaster@myexample.com 

Next it the ServerName and ServerAlias directives need to be defined so that the web server knows which virtual host this configuration file refers to:

        ServerName myexample.com 

Next, we need to define where the web site files are going to be located using the DocumentRoot directive. The tradition is to use /var/www/domain-name:

        DocumentRoot /var/www/myexample.com 

Next, create the /var/www/myexample.com directory and place an index.html file in it. For example:

 Sample Web Page  Welcome to MyExample.com   

The last step is to restart the apache web server to make sure it picks up our new settings:

su -  /sbin/service httpd restart 
Web Server and Firewall Issues

If your Fedora Linux system is configured to use a firewall, you will need to ensure that HTTP traffic on port 80 is permitted in order for external systems to be able to access your web server.

If the Fedora Linux system hosting your web server sits on a network protected by a firewall (either another computer running a firewall, or a router or wireless base station containing built in firewall protection) you will need to configure the firewall to forward port 80 to your web server system. The mechanism for performing this differs between firewalls and devices so check your documentation to find out how to configure port forwarding.

Once everything is configured it should be possible to enter the domain name of your web site into a browser anywhere in the world and access your web server.

Configuring outlook with yahoomail

You can use Outlook with many Yahoo! Mail e-mail accounts. However, free Web browser-based Yahoo! Mail accounts based in China, Taiwan, or the United States can only be used in Outlook if you have a paid subscription Yahoo! Mail account that includes POP3 access and forwarding.

You can receive your Yahoo! Mail e-mail messages by using Outlook from most places with an Internet connection. Yahoo! Mail provides you access to an authenticated SMTP server — allowing you to send e-mail messages using Outlook from your Yahoo! Mail account when you use another Internet service, such as at your office or when traveling.

Description: HideAdd your Yahoo! Mail e-mail account

1. On the Tools menu, click E-mail Accounts.

2. Click Add a new e-mail account, and then click Next.

3. Click POP3, and then click Next.

4. Under User Information, do the following:

1. In the Your Name box, type your full name the way that you want it to appear to other people.

2. In the E-mail Address box, type your Member ID (or username), followed by the @ symbol and domain name.

5. Under Server Information, do the following:

1. In the Incoming mail server (POP3) box, type the server name from the chart below that corresponds to your e-mail address.

2. In the Outgoing mail server (SMTP) box, type the server name from the chart below that corresponds to your e-mail address.

6. Under Logon Information, do the following:

1. In the User Name box, type your Yahoo Member ID (or username). Do not include the @ symbol or domain name.

2. In the Password box, type your password.

3. Select the Remember password check box.

NOTE You have the option to have Outlook remember your password by typing it in the Password box and selecting the Remember password check box. Having Outlook remember your password means that you won't have to type your password each time you access the account; however, it also means that the account is vulnerable to anyone who has access to your computer. Use strong passwords that combine uppercase and lowercase letters, numbers, and symbols. Weak passwords don't mix these elements. Strong password: Y6dh!et5. Weak password: House27. Passwords should be 8 or more characters in length. A pass phrase that uses 14 or more characters is better. For more information, see Help protect your personal information with strong passwords.It is critical that you remember your password. If you forget your password, Microsoft cannot retrieve it. Store the passwords that you write down in a secure place away from the information that they help protect.

7. To verify that your account is working, click Test Account Settings. If there is missing or incorrect information, such as your password, you will be prompted to supply or correct it. Make sure your computer is connected to the Internet.

8. Click More Settings.

9. On the General tab, under Mail Account, type Yahoo! Mail.

10. Click the Outgoing Server tab, and then select the My outgoing server (SMTP) requires authentication check box.

11. Click Use same settings as my incoming mail server, and then clickOK.

12. Click Next, and then click Finish.

NOTES

· Do not select the Log on using Secure Password Authentication (SPA) check box.

· Unless specified by Yahoo! Mail, all server and address entries are typed in lowercase letters.

Description: ShowRemove your Yahoo! Mail e-mail account

Yahoo! Mail server information

E-MAIL ADDRESS

INCOMING MAIL SERVER (POP3)

OUTGOING MAIL SERVER (SMTP)

MemberID@yahoo.com

pop.mail.yahoo.com

smtp.mail.yahoo.com

MemberID@yahoo.com.ar

pop.mail.yahoo.com.ar

smtp.mail.yahoo.com.ar

MemberID@yahoo.com.au

pop.mail.yahoo.com.au

smtp.mail.yahoo.com.au

MemberID@yahoo.com.br

pop.mail.yahoo.com.br

smtp.mail.yahoo.com.br

MemberID@yahoo.ca

pop.mail.yahoo.ca

smtp.mail.yahoo.ca

MemberID@yahoo.com.cn

pop.mail.yahoo.com.cn

smtp.mail.yahoo.com.cn

MemberID@yahoo.es

pop.correo.yahoo.es

smtp.correo.yahoo.es

MemberID@yahoo.de

pop.mail.yahoo.de

smtp.mail.yahoo.de

MemberID@yahoo.dk

pop.mail.yahoo.com

smtp.mail.yahoo.com

MemberID@yahoo.fr

pop.mail.yahoo.fr

smtp.mail.yahoo.fr

MemberID@yahoo.com.hk

pop.mail.yahoo.com.hk

smtp.mail.yahoo.com.hk

MemberID@yahoo.co.id

pop.mail.yahoo.co.id

smtp.mail.yahoo.co.id

MemberID@yahoo.ie

pop.mail.yahoo.co.uk

smtp.mail.yahoo.co.uk

MemberID@yahoo.co.in

pop.mail.yahoo.co.in

smtp.mail.yahoo.co.in

MemberID@yahoo.it

pop.mail.yahoo.it

smtp.mail.yahoo.it

MemberID@yahoo.co.kr

pop.mail.yahoo.com

smtp.mail.yahoo.com

MemberID@yahoo.com.mx

pop.mail.yahoo.com

smtp.mail.yahoo.com

MemberID@yahoo.com.my

pop.mail.yahoo.com.my

smtp.mail.yahoo.com.my

MemberID@yahoo.no

pop.mail.yahoo.com

smtp.mail.yahoo.com

MemberID@yahoo.co.nz

pop.mail.yahoo.com.au

smtp.mail.yahoo.com.au

MemberID@yahoo.com.ph

pop.mail.yahoo.com.ph

smtp.mail.yahoo.com.ph

MemberID@yahoo.pl

pop.mail.yahoo.com

smtp.mail.yahoo.com

MemberID@yahoo.se

pop.mail.yahoo.com

smtp.mail.yahoo.com

MemberID@yahoo.com.sg

pop.mail.yahoo.com.sg

smtp.mail.yahoo.com.sg

MemberID@yahoo.co.th

pop.mail.yahoo.co.th

smtp.mail.yahoo.co.th

MemberID@yahoo.com.tw

pop.mail.yahoo.com.tw

smtp.mail.yahoo.com.tw

MemberID@yahoo.co.uk

pop.mail.yahoo.co.uk

smtp.mail.yahoo.co.uk

MemberID@yahoo.com.vn

pop.mail.yahoo.com.vn

smtp.mail.yahoo.com.vn

YAHOO PARTNER ISPS IN THE UNITED STATES

E-MAIL ADDRESS

INCOMING MAIL SERVER(POP3)

OUTGOING MAIL SERVER(SMTP)

MemberID@ameritech.net

pop.ameritech.yahoo.com

smtp.ameritech.yahoo.com

MemberID@flash.net

pop.flash.yahoo.com

smtp.flash.yahoo.com

MemberID@nvbell.net

pop.nvbell.yahoo.com

smtp.nvbell.yahoo.com

MemberID@pacbell.net

pop.pacbell.yahoo.com

smtp.pacbell.yahoo.com

MemberID@prodigy.net

pop.prodigy.yahoo.com

smtp.prodigy.yahoo.com

MemberID@sbcglobal.net

pop.sbcglobal.yahoo.com

smtp.sbcglobal.yahoo.com

MemberID@snet.net

pop.snet.yahoo.com

smtp.snet.yahoo.com

MemberID@swbell.net

pop.swbell.yahoo.com

smtp.swbell.yahoo.com

MemberID@verizon.net

incoming.yahoo.verizon.net

outgoing.yahoo.verizon.net

MemberID@wans.net

pop.wans.yahoo.com

smtp.wans.yahoo.com

YAHOO PARTNER ISPS IN THE UNITED KINGDOM

E-MAIL ADDRESS

INCOMING MAIL SERVER (POP3)

OUTGOING MAIL SERVER (SMTP)

MemberID@btinternet.com

mail.btinternet.com

mail.btinternet.com

MemberID@btopenworld.com

mail.btinternet.com

mail.btinternet.com

YAHOO PARTNER ISPS IN CANADA

E-MAIL ADDRESS

INCOMING MAIL SERVER (POP3)

OUTGOING MAIL SERVER (SMTP)

MemberID@rogers.com

pop.broadband.rogers.com

smtp.broadband.rogers.com

MemberID@nl.rogers.com

pop.broadband.rogers.com

smtp.broadband.rogers.com