Windows Admin

How to create a set of Recovery Discs for Sony VAIO Laptop

No GoodNeed ImprovementOKGoodExcellent (3 votes, average: 4.67 out of 5)
Loading ... Loading ...

There are no system recovery discs included with the computer. The recovery data required to return the computer to the original, factory-installed condition is included on a special partition of the hard drive. The following procedure can be used to create a set of recovery discs from that data, which can be used to restore the recovery partition and return the computer to the original, factory-installed condition in case this is ever necessary.

IMPORTANT:

  • Rewritable media can be used to create the recovery discs, but are not recommended.
  • Do not interrupt the power during the recovery process.
  • The number of discs needed to create the set varies by model.

NOTE:The recovery discs are not a backup utility. To save personal data and software installed after purchase or since the last system recovery, use the Backup and Restore Center provided with the Microsoft® Windows Vista™ operating system.

  1. Ensure all open programs are closed.
  2. Ensure all network connections are disconnected.
  3. Ensure all peripheral devices are disconnected.

    NOTE:If the computer uses an external CD/DVD drive, ensure the drive is plugged in according to the instructions in the VAIO User Guide.

  4. From within the VAIO Recovery Center application, under Choose a program, click Create Recovery Discs.

    NOTE:The VAIO Recovery Center can be accessed from within Windows Help and Support. Click Backup & Recovery, then click Launch VAIO Recovery Center.

  5. Next to Create Recovery Discs window, click the Start button.
  6. In the When recovery discs are needed window, click the Next button.
  7. In the Choose your media window, click the Next button.

    NOTE:Although an option is provided for creating Dual Layer (DL) discs, that option will not produce usable discs on this model. Ensure the Create recovery disc(s) using… DVD(s) option remains selected before clicking Next.

  8. Insert a blank, recordable DVD into the DVD drive.
  9. In the Insert a blank disc window, click the OK button.
  10. Insert a new disc when necessary as instructed.
  11. When all the disks have been created, click the Finish button.

    NOTE:After the recovery discs have been created the first time, any disc can be created again by selecting the disc from the list and clicking Next.

Popularity: 7%

Comments

How to install the latest version of Apache 2, OpenSSL, PHP 5 and MySQL 5 on Windows and set up virtualhost

No GoodNeed ImprovementOKGoodExcellent (No Ratings Yet)
Loading ... Loading ...

There are lot of good step-by-step guides for installing Apache (A), MySQL (M) and PHP (P) on Windows, there are also boundle products around (WAMP, XAMPP). But most of these articles were about installing older version of AMP on Windows, or the boundled products are not using the latest version of Apache, MySQL and PHP.

This short guide is for people with some experience on installing AMP on Linux or older version of AMP on Windows.

1, Download Microsoft Visual C++ 2005 Redistributable Package (x86) from Microsoft, and install it.

http://www.microsoft.com/downloads/details.aspx?familyid=32bc1bee-a3f9-4c13-9c99-220b62a191ee

2, Download the latest version of Apache with OpenSSL (e.g., http://www.apachelounge.com/download/binaries/httpd-2.2.4-win32-x86-ssl.zip) from Apache Lounge:

http://www.apachelounge.com/download/

3, Extract Apache-OpenSSL to c:\

4, Download the latest version of PHP, zip version (not installer version) from http://www.php.net/get/php-5.2.1-Win32.zip/from/a/mirror. Unzip it to c:\

5, Download the latest version of MySQL 5.0 Community Server from MySQL (http://dev.mysql.com/downloads/mysql), e.g.,

http://dev.mysql.com/get/Downloads/MySQL-5.0/mysql-noinstall-5.0.37-win32.zip/from/http://mirror.x10.com/mirror/mysql/

6, Install MySQL.

7, After installing all software, find httpd.conf file under C:\Apache2\conf, put the following lines:

PHPIniDir "C:\PHP\"
LoadModule php5_module “C:\PHP\php5apache2_2.dll”

ScriptAlias /php/ "c:/PHP/"
AddType application/x-httpd-php .php

8, Add virtualhost names to C:\WINDOWS\system32\drivers\etc\hosts, e.g.,

127.0.0.1 localhost
127.0.0.1 roller wordpress
127.0.0.1 mediawiki tikiwiki
127.0.0.1 oscommerce zencart

9, Add virtual hosts to httpd.conf

<VirtualHost 127.0.0.1:80>
ServerName zencart
ServerPath /
DocumentRoot C:\web\zencart
<Directory “C:\web\zencart”>
Options None
AllowOverride None
Order allow,deny
Allow from all
</Directory>
DirectoryIndex index.php index.html index.sh default.jsp
</VirtualHost>

<VirtualHost 127.0.0.1:80>
ServerName osc
ServerPath /
DocumentRoot C:\web\oscommerce
<Directory “C:\web\oscommerce”>
Options None
AllowOverride None
Order allow,deny
Allow from all
</Directory>
DirectoryIndex index.php index.html index.sh default.jsp
</VirtualHost>

10, Download OpenSSL for Windows from http://www.slproweb.com/products/Win32OpenSSL.html, install it. Then make a self-signed SSL certificate.

openssl genrsa -des3 -out server.key 1024
openssl req -new -key server.key -out server.csr
cp server.key server.key.org
openssl rsa -in server.key.org -out server.key
openssl x509 -req -days 3650 -in server.csr -signkey server.key -out server.crt

cp server.crt c:\apache2\ssl\ssl.crt
cp server.key c:\apache2\ssl\ssl.key

11, Configure virtualhost for https (httpd.conf )

Listen 443

<VirtualHost 127.0.0.1:443>
ServerName zencart

SSLEngine on
SSLCertificateFile c:\apache2\ssl\ssl.crt
SSLCertificateKeyFile c:\apache2\ssl\ssl.key
SetEnvIf User-Agent “.*MSIE.*” nokeepalive ssl-unclean-shutdown
CustomLog logs/ssl_request_log \
“%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \”%r\” %b”

CustomLog C:\Apache2\logs\zencart.log combined
ErrorLog C:\Apache2\logs\zencart-error.log

ServerPath /
DocumentRoot C:\web\zencart
<Directory “C:\web\zencart”>
DirectoryIndex index.php index.html index.shtml default.jsp
Options None
AllowOverride None
Order allow,deny
Allow from all
</Directory>
</VirtualHost>

uncomment the following line in httpd.conf

LoadModule ssl_module modules/mod_ssl.so

12, put the following line to php.ini file (in c:\PHP direcotry).

extension_dir=”C:\PHP\ext”

13, Uncomment MySQL modules in php.ini file:

extension=php_mysql.dll
extension=php_mysqli.dll

14, Start Apache, you can test your MySQL connection using the following PHP script:

<?php

/* Set your host and login parameters */

$user=”grantdb”;
$password=”xxx”;

$host=”localhost”;

?>
<html>
<head>
<title>MySQLinfo and PHPinfo</title>
</head>
<body>
<div align=”center”>
<?php
if(!extension_loaded(”mysql”)){
echo (”<br><font color=red><b>php MySQL extension not loaded !!</font>
<br><br>Check in php.ini if extension=php_mysql.dll is enabled, and that the extension_dir = is pointing to your php/ext folder.
<br><br>Copy libmySQL.dll from your Mysql/bin folder to c:/windows.</b><br><br><br>”);
phpinfo();
die;
}
$link = mysql_connect($host, $user, $password);
if (!$link) {
echo (’<br><font color=red><b>Could not connect to the Mysql server !!</font><br><br>’ . mysql_error() . ‘<br><br><b>Did you set the correct host and login parameters in mysqlinfo.php ? <br><br><br>’);
phpinfo();
die;
}
else
{
if( $user == ‘root’ ) {
if( $password == ”) {
echo “<font color=red><b>Your user and password are the install default (user:root and password is blank), change it !!</b></font><br><br>”;
}
}
?>

<a href=”#var”><b>MySQL Server variables and settings</b></a> &nbsp; &nbsp;
<a href=”#phpinf”><b>PHP info</b></a><br><br>
<?php
printf(”<font color=navy>User <b>$user</b> connected to the MySQL server at <b>$host</b><br><br></b>Mysql version:</b><b> %s\n”, mysql_get_server_info());
?>
</b></font>
</div>

<br><br><center><font color=green><b>MySQL Runtime Information</b></font><br>
<TABLE border=0 bgcolor=”#ffffff” border=”0″ cellspacing=”0″ cellpadding=”0″>
<TD VALIGN=TOP border=”0″ bgcolor=”#ffffff” border=”0″ cellspacing=”0″ cellpadding=”0″>
<br><br>
<?php
$result = mysql_query(’SHOW GLOBAL STATUS’, $link);
$p = 0;
while ($row = mysql_fetch_assoc($result)) {
$p ++;
if ($p==123){
echo ‘<br><br></td><TD VALIGN=TOP><br><br>’;
}
echo ‘ &nbsp; &nbsp; ‘ . $row['Variable_name'] . ‘ = ‘ . $row['Value'] . ” &nbsp; &nbsp; <br>”;
}
?>
</td></tr></table><br><a name=”var”><a href=”#top”><br><b>Back to top</b></a><br><br><br><font color=green><b>MySQL Server variables and settings</b></font><br>
<table border=0 bgcolor=”#ffffff” border=”0″ cellspacing=”0″ cellpadding=”0″>
<td valign=top>
<br><br>
<?php
$p = 0;
$result = mysql_query(’SHOW VARIABLES’, $link);
while ($row = mysql_fetch_assoc($result)) {
$p ++;
if ($p==111){
echo ‘<br><br></td><td valign=top><br><br>’;
}
echo ‘ &nbsp; &nbsp; ‘ . $row['Variable_name'] . ‘ = ‘ . $row['Value'] . ” &nbsp; &nbsp; <br>”;
}
}
echo ‘</td></tr></table><br><a name=”phpinf”><br><a href=”#top”><b>Back to top</b></a><br><br><font color=green><b>Php info()</b><br>’;
phpinfo();
?>
</font><a href=”#top”><b>Back to top</b></a>
</center>
</body>
</html>

15, if you don’t see MySQL connection, you can copy php.ini file from C:\php directory to c:\windows, and copy libmySQL.dll from C:\MySQL\bin to c:\windows.

Popularity: 4%

Comments

Web content filtering for your computer

No GoodNeed ImprovementOKGoodExcellent (No Ratings Yet)
Loading ... Loading ...

Which web content filtering method is right for you?

  • Internet Explorer has a “Content Advisor” feature that can be used as a cheap method, although this won’t protect someone from downloading other browsers and using them to get to restricted sites. To enable, go to Internet Explorer’s Tools->Internet Options->Content (tab)->Content Advisor “Enable” (button). A password protects these settings.
  • Zone Alarm provides a variety of security features, including Firewall, Antivirus, Anti-Spyware, Privacy Protection, IM Protection, and “Parental Control”. See: http://www.zonealarm.com/store/content/catalog/products/sku_list.jsp?dc=12bms&ctry=US&lang=en&lid=ho_zass
  • Content Protect works very well, is easy to setup and administer. It has an option for email or pager alerts. There is an annual subscription fee but it is not very much. Another recommendation was for “Net Nanny” which was recently acquired by Content Protect. See http://www.netnanny.com/
  • Some ISPs offer web filtering software as a part of their service, such as Comcast which provides McAfee products

Popularity: 4%