All posts by frank

Pipo’s Slow-Cooked Pork

Pipo’s Pork Ingredients:

  • 2 to 3 pounds of pork tenderloin or pork shoulder
  • 4 garlic clovers, pressed (or less is fine)
  • 3/4 teaspoon dried oregano, rubbed
  • 1/2 teaspoon ground cumin
  • 1 teaspoon Kosher salt
  • 10 ounces of sour orange juice – Naranja Agria / bitter orange (or substitute 2 parts fresh orange juice and 1 part lemon or lime juice)
  • 1/2 cup dry white cooking wine
  • 5 whole peppercorns (or more)

Directions:

Cut the garlic cloves in half or in thirds, removing skin.  Press the garlic cloves (smash them with the flat side of a knife on a wooden cutting board) and continue removing the skin. 

In a small bowl combine and whisk together the sour orange juice, white cooking wine, pressed garlic, oregano, cumin, and Kosher salt.

Place pork in slow cooker (crock pot), pour sour orange mixture over the pork, and add the peppercorns on top.

Cover and cook on low setting for 4 to 6 hours.

When the pork is sufficiently tender (almost falling apart), remove and place it on a cutting board, and use two forks to shred the pork (pull it apart). 

Either serve the pork using the reserved cooking liquid as au jus, or return the shredded (pulled) pork back into the slow cooker along with the cooking liquid for another 10 to 20 minutes cooking on low. 

Serve with black beans and raw dices onions over rice.  You can use white rice or find a good recipe for yellow rice.

 

Scalloped Potatoes Recipe

SCALLOPED POTATOES

White Sauce Ingredients:

  • 3  Tablespoons butter
  • 2  Tablespoons all-purpose flour
  • 2  Cups milk

Make a white sauce of the first 3 ingredients.  Melt the butter in a small pot on stovetop low heat.  Add milk and flour and raise heat to medium high.  Stir until white sauce begins to thicken.

Potatoes:

  • 6  Medium potatoes, pared and thinly sliced (6 cups)
  • 2  Tablespoons of diced onions
  • 1  Teaspoon of salt
  • 1/8 Teaspoon pepper

Use some butter to grease a 2-quart Corning-ware casserole dish/pot having a glass cover.  Place half of the sliced potatoes in the casserole dish/pot.  Add half of the white sauce to the potatoes in the casserole dish/pot, and sprinkle about half of the salt, pepper and diced onions over the potatoes.  Create a second layer with the other half of the potatoes in the casserole dish/pot, sprinkle the remaining salt, pepper and diced onions.

Bake:

Pre-heat your oven to 350 degrees F.  Cover the casserole pot/dish with the glass lid and place the casserole pot/dish on the 2nd to lowest oven rack.  Bake covered for 1 hour at 350 degrees.  Uncover and bake an additional 30 minutes at 350 degrees. 


Remove the Tab to Open Microsoft Edge in Internet Explorer of Windows 10

Starting with Windows 10 build 15002, a new tab called “Open Microsoft Edge” has been added to the tab bar of Internet Explorer.  This Edge Tab is situated next to the New Tab button on the Tab Bar.

This article will show you how to remove this Open Microsoft Edge Tab.

1. Click/tap on the Tools (Alt+X) button in Internet Explorer, and click/tap on Internet Options. (see screenshot below)

 

2. Click/tap on the Advanced tab in Internet Options, check (remove) or uncheck (default add) the Hide the button (next to the New Tab button) that open Microsoft Edge option under the Browsing section for what you want, and click/tap on OK. (see screenshot below).  Click Apply button, Click OK.

3. Close and reopen Internet Explorer to see that the change has been applied and that the unwanted Tab is gone.

Bye the way, Microsoft wants you to use the Edge browser because all of your searches and your browsing habits are stored to the BING CLOUD.  Microsoft can use your browsing habits to serve you targeted ads in Microsoft Edge.  So far, Microsoft has not chosen to do this when you use Internet Explorer.  I recommend disabling Edge to the maximum extent possible.  Don’t use the Windows 10 apps for “Contacts” or “Mail” or Calendar.  All the content of these Windows 10 Apps is sifted by Microsoft and the content is stored in the Bing Cloud.  Don’t use Cortana.  Same reasoning.  Disable it until it only serves as a file search box.  Finally, go into “Start,” “Settings,” and “Privacy,” and turn OFF as much information leaking functionality as possible, which would otherwise allow apps and Microsoft Windows 10 to store and use your personal information, and the personal information of your contacts, business associates, clients, etc.  Never Log into Windows 10 with your Windows Account ID.  Never authorize the use of your Windows Account ID as the default configuration.  As soon as you enable an APP from the Windows App store, you will be asked to make that default authorization.  You might skip right past it.  That is their intent. 

Allow Remote Desktop for Administration on Windows Server 2008 R2

https://technet.microsoft.com/en-us/library/cc742816(v=ws.11).aspx

Using Remote Desktop

Applies To: Windows Server 2008 R2

To allow remote connections for administrative purposes only, you do not have to install the RD Session Host role service. Instead, you enable Remote Desktop on the computer that you want to remotely administer.

noteNote
Remote Desktop supports only two concurrent remote connections to the computer. You do not need Remote Desktop Services client access licenses (RDS CALs) for these connections.

You can use the following procedure to enable Remote Desktop on a Windows Server 2008 R2 computer.

Membership in the local Administrators group, or equivalent, on the computer that you plan to configure, is the minimum required to complete this procedure.

To enable Remote Desktop

  1. Start the System tool. To start the System tool, click Start, click Run, type control system and then click OK.
  2. Under Tasks, click Remote settings.
  3. In the System Properties dialog box, on the Remote tab, click either of the following, depending on your environment:
    • Allow connections from computers running any version of Remote Desktop (less secure)
    • Allow connections only from computers running Remote Desktop with Network Level Authentication (more secure)

    For more information about the two options, click the Help me choose link on the Remote tab.

  4. Click Select Users to add the users and groups that need to connect to the computer by using Remote Desktop. The users and groups that you add are added to the Remote Desktop Users group.
    noteNote
    Members of the local Administrators group can connect even if they are not listed.

 

Install Apache, PHP and MySQL on Windows Server 2008 R2 SP1

 Apache doesn’t provide binaries for Windows, however Apache provides links to several third-party sites that do provide binaries, for example, Apache Lounge. From the Apache Lounge website, and depending on your Windows Server version (32bir-x86 or 64bit-x64 ) we can download either the 32-Bit version (win32) or the 64-Bit one (Win64)

Download the Prerequisites – Example: 64bit versions:

Go to Apache Lounge: Apache2.4.25-win64-VC14
The File Download: (httpd-2.4.25-win64-VC14.zip)

Go to windows.php.net/download:  PHP-7.1-VC14-x64-Thread-Safe
The File Download: (php-7.1.5-Win32-VC14-x64.zip)

Find this at Microsoft:
C++RedistributableVisualStudio2015 (vc_redist.x64.exe)

Installation Instructions for Apache:

First Install the C++ Redistributable Visual Studio 2015.  It will show up in your Programs and Features in the Control Panel.  Using the PHP-7.15 VC14 x64 thread safe and the Apache2.4.25-Win64=VC14, you should also use the C++ VS2015 x64 redistributable (rather than VS2017 version).  Make everything match or you will have errors when you try to start Apache after you

Unzip the Apache2.4.25 VC14 and then copy the extracted contents to a new folder c:/Apache24 (that is the ServerRoot in the config).
Default folder for your your web pages is DocumentRoot “c:/Apache24/htdocs”

Note: If  you unzip to a location other than C:\Apache24, you will need to change ServerRoot in the httpd.conf, and also change in httpd.conf the Documenroot, Directories, ScriptAlias, also when you use the extra folder config file(s) change to your location there.

We may need to set up a fully qualified domain name at this point.

Starting Apache in a DOS box as Administrator.  In other words, ppen a command prompt “As Administrator.”

Change the directory as follow:
cd\apache24\bin

C:\apache24\bin> httpd.exe

At this point, It may appear to you that the system is hanging, but it is NOT hanging.  In fact, it means there are no errors, at least those that are reported at the moment, and that Apache is probably started and running.  Test Apache by opening a web browser and typing localhost in the address bar. Hit enter.  “IT WORKS!”

To “Break” from the “Hang” in the DOS command prompt:
C:\apache24\bin> Ctrl+C

After you install PHP7, then come back here and
Install Apache as a service:

C:\apache24\bin> httpd.exe -k install

Installation Instructions for Installing PHP7.1.5:

Using Windows Explorer (file explorer), create a new folder named php at the Windows C: drive root:

c:\php

Now, extract all the folders and files from php-7.1.5-Win32-VC14-x64.zip.

Then copy those extracted folders and file contents to the new folder:
C:\php

Now, go get and install Notepad++ if you have not already installed it.  This text editor (or one like it) is a must to open and edit various text configuration files for php and apache, etc.

Here is the download page for Notepad++:  https://notepad-plus-plus.org/download/v7.4.1.html  Get the 64-bit or 32-bit version of Notepad++ that your system requires:

But, here is the installer file for the 64-bit version of Notepad++

Within the php root c:\php, open the php.ini.production file and save it as a file named php.ini in the root folder c:\php

Using Windows Explorer (file explorer) find the file called php.ini.production.  Open it using Notepad++ editor.  Now, on the Notpad++ menu, click File, select SAVE AS and change the name of the file to php.ini before saving it. 

APPEND the following items to the existing items within the “PATH” System Environment Variable. Note a Semicolon ; must separate each path item.  If you don’t know how to do this, you must learn.

;c:\php;c:\apache24;c:\apache24\bin

Go to a Dos command prompt and type in:

path (press enter)

You will see a display of what is in the current path. At this point, the above-appended path items are not yet included in the current path.

Log Off Windows, then Ctrl-Alt-Del and log into Windows again.

Now, open a command prompt and type:

path (press enter)

You will see the existing path containing the above-appended path items. 

Integrate / Connect Apache2 to your PHP7:

Using Windows Explorer, go to c:\apache24\conf

Open with Notepad++ the file called httpd.conf
Scroll down within the httpd.conf file and just below all the “LoadModule” lines, insert the following new lines:

LoadModule php7_module C:/PHP/php7apache2_4.dll

<IfModule php7_module>
DirectoryIndex index.html index.php
AddHandler application/x-httpd-php .php
PHPIniDir “C:/PHP”
</IfModule>

Save the changes to httpd.conf file and then close Notepad++

Log off Windows, and log into Windows again.

Test Apache now having php referenced from the httpd.conf of Apache.  How, just like we did above.

Start Apache in a DOS box as Administrator.  In other words, open a command prompt “As Administrator.”

Change the directory as follow:
cd\apache24\bin

and type httpd.exe at the prompt (and press enter).

C:\apache24\bin> httpd.exe

If it “hangs” without errors, you are good!  Open a browser and input localhost in the address bar.  IT WORK! 

In the command prompt window, enter Ctrl+C in order to break to the C:\> prompt.

In Windows, click Start, point at Administrative Tools, and select Services.  Then, in the Services list, find the Apache service near the beginning of the list, right-click the Apache service and left click /or select Properties. Find the correct TAB to STOP the Apache service.

Remember that I said above, after you install PHP7, then come back here and

Install Apache as a service:

C:\apache24\bin> httpd.exe -k install

Test localhost in your Web Browser.  IT WORKS!

Displaying PHP INFO:

Open Notepad++ text editor and create a new file (on the menu, click file, new).  Now, save the new with a filename of phpinfo.php

While you still have the new “phpinfo.php” file displayed within Notepad++, now insert the following contents on line 1 of the new file.

<?php phpinfo() ; ?>

Save the file named phpinfo.php with only this one line of content.  Copy or save this file to the root folder of the Apache http docs. In other words, save or copy the new phpinfo.php file into the following target sub-folder.

c:\apache24\htdocs\

Open a web browser, type into the address bar:

localhost/phpinfo.php

Voila!!!

Open TCP Port 80 In Windows Firewall

https://wiki.mcneel.com/zoo/window7firewall

Open TCP Port 443 in Windows Firewall the same way.

Configure httdd.conf using Notepad++

Find httpd.conf in C:\apache24\conf\
#ServerName www.example.com
#Insert next line & change svr (host header domain com or net)
ServerName svr.yourdomain.tld

Restart Apache service in the Services Module
Start, Administrative Tools, Services.

Set Up a DNS Entry — “A” (Address) record, pointing to your server’s fully qualified domain name and the IP address

You should now be able to connect from a remote 

 = = = = = = To be continued = = = =

ApacheMonitor:

Double click ApacheMonitor.exe, or put it in your Startup folder.