Chrome java update problem

Enabling NPAPI in Chrome Version 42 and later

As of Chrome Version 42, an additional configuration step is required to continue using NPAPI plugins.

  1. In your URL bar, enter:
    chrome://flags/#enable-npapi
  2. Click the Enable link for the Enable NPAPI configuration option.
  3. Click the Relaunch button that now appears at the bottom of the configuration page.

Developers and System administrators looking for alternative ways to support users of Chrome should see this blog, in particular “Running Web Start applications outside of a browser” and “Additional Deployment Options” section.

Loading

Write Image File To Usb From Mac Osx Terminal

1. Download the .iso file. This also can be an .img file or a .dmg file

2. Rename the .iso file to .dmg.

3. Right-click on the .dmg file and select Get Info. Write down the full path name as mentioned in the dialog box. We will need that for step 9.

4. Start a Terminal window. The Terminal application is located in the folder /Applications/Utilities/ of your Macintosh HD volume.

5. In the Terminal window, type: diskutil list and press the Enter key. Now a list of your storage devices is displayed in the Terminal window, underneath what you typed earlier.

6. Put the USB stick in the USB port of your Mac.

7. In the Terminal window, type again:

Loading

Using the Set-ExecutionPolicy Cmdlet

Changing the Windows PowerShell Script Execution Policy
The Set-ExecutionPolicy cmdlet enables you to determine which Windows PowerShell scripts (if any) will be allowed to run on your computer. Windows PowerShell has four different execution policies:

  • Restricted – No scripts can be run. Windows PowerShell can be used only in interactive mode.
  • AllSigned – Only scripts signed by a trusted publisher can be run.
  • RemoteSigned – Downloaded scripts must be signed by a trusted publisher before they can be run.
  • Unrestricted – No restrictions; all Windows PowerShell scripts can be run.

To assign a particular policy simply call Set-ExecutionPolicy followed by the appropriate policy name. For example, this command sets the execution policy to RemoteSigned:

Get-ExecutionPolicy
Set-ExecutionPolicy RemoteSigned

Loading

Centos Sıkılaştırma

  • Proxy kullanılıyor ise tanımlanır:

export http_proxy=http://proxyserver:portnumber
export https_proxy=http://proxyserver:portnumber
export ftp_proxy=http://proxyserver:portnumber

  • Update yapılır:

yum update -y

  • ssh ayarları yapılır:

Loading

Change product key in windows server 2012

• Open an elevated command prompt and type the following commands:
• slmgr -upk
• slmgr -ipk abcde-abcde-abcde-abcde-abcde
This will add your key. Of course replace the abcde-abcde with your own real key.
• Activate Windows (you will probably have popups already during this process)

Loading

Change or setup default gateway with route command in linux

$ /sbin/route -n

Output:

Kernel IP routing table
Destination           Gateway              Genmask                 Flags       Metric        Ref       Use         Iface
191.255.255.0     0.0.0.0                  255.255.255.0       U             0                0           0            eth0
169.254.0.0         0.0.0.0                  255.255.0.0           U             0                0           0            eth0
0.0.0.0                 191.255.255.1     0.0.0.0                    UG           0                0           0            eth0

Please note that a destination entry 0.0.0.0 (or default) is the default gateway.
In above example 191.255.255.1 is a default gateway.

Loading

How to install .NET Framework 3.5 on Windows Server 2012

Apparently, there’s a bug in Windows Server 2012 when trying to add the .NET Framework 3.5 from Server Manager. In order to get it to work, I had to enable the feature via the Command Prompt.

This is the command that I had to type:

dism /online /enable-feature /featurename:NetFX3 /all /Source:d:\sources\sxs /LimitAccess

Note-1: Source should be the Windows installation disc. In my case, this was located on D:
Note-2: CMD or powershell must be administrator rights.

Loading

Virtualbox installation error on ubuntu “Kernel driver not installed (rc=-1908)”

Easy way to install virtualbox on Ubuntu

root:~# sudo dpkg-reconfigure virtualbox-dkms dpkg-query

dpkg-query: package ‘virtualbox-dkms’ is not installed and no information is available
Use dpkg –info (= dpkg-deb –info) to examine archive files,
and dpkg –contents (= dpkg-deb –contents) to list their contents.
/usr/sbin/dpkg-reconfigure: virtualbox-dkms is not installed

Loading