Select Page

How to install Adobe flashplayer on Ubuntu

For many years adobe has abandoned its project for Linux platform , some time it gave me frustration to find a new flash player like adobe flash, eg pepper flash etc.

First you should enable Canonical Partner Repository,The Canonical Partner repository offers few proprietary apps that are free to use but not open-source.

  • open "Software & updates"
  • open "Other Software" tab
  • Check the "Canonical Parter repository"
  • Refresh your software sources when prompted , this may take some time depends on your Internet connection !

now open your terminal and type following command line to install adobe flashplayer , or you can use "ubuntu software" and just search for "adobe flash" and install it ,

sudo apt install adobe-flashplugin

Now restart your browser so that it detects your flash,

open ubuntu unity launcher and type adobe , now you can find adobe preferences. installation done  , enjoy

X64 Exception type 0D in HP DL180 Gen9 (Fix)

I faced this error after changing the motherboard

so i googled as per the HPE advisory says its the issue is with the HBA card firmware so you need to use SPP to upgrade firmware, BTW the server is equiped with HBA240 please check the below given url for more reference to fix this issue you can use SPP as per HPE

but above step didnt fix my issue

So as suggested by HPE Tech team i have perform the steps given below

 

BIOS backup and Restore on replaced system board and check the status. Please find the process

1:  Format a USB with FAT 32. and add a folder with a specific name so that you can confirm you have mounted to correct directory

2:  Connect it directly with the Gen9 server.

3:  Reboot the server.

4:  While Posting Tap F9 while it prompts to enter into the UEFI  BIOS.

5:  Once in UEFI BIOS select " Embedded Application ".

6:  Further Select "  Embedded UEFI Shell ".

7:  Once you are in  " Shell > "  prompt.

8:  Type : map -r

9:  It will list the connected USB as FS0: . this may vary. in my case i have seen BOTH "FS0: & FS1:" so you shoud check its your usb or other devices as i said earlier you should mount the device and check for the folder which we have created. type cd " FS0: " or " FS1 " OR " FSnth " number of devices and check .type  " ls "  this will show created folder, if your folder is missing change ID from FS0: TO FSnth: if folder is present we can continue to next step

 n th = number of FS devices

10: Then type *FS0:  ( Tap Enter )

11: It will  change the directory  into FS0 (ie: USB connected externally)

12: Then type " sysconfig   -export  filename.conf "  from the FS0:\> prompt (This will export the BIOS configuration  into a file named  (filename .conf)

13: To edit the BIOS  configuration file :

14: Type  edit  filename.conf  from FS0:\>  prompt

15: Once editing is done then tap Ctrl  + Q at the same time  to exit from the editing screen. If you want to save the changes then Tap " y " else " n ".

16: To import the changed file  from the USB into the server type :   sysconfig   -import filename.conf from FS0:\> prompt

17: It will import the file and change the configuration  in the server BIOS automatically.

18: To verify the changes reboot the server and check.

 

Good Luck !

How to install Intel Dual Band Wireless-AC 3168 driver in Linux

To install driver you need these things

  • Driver
  • Updated kernel above 4.6 in my case i have already updated to 4.10
  • basic linux skills
  • internet to download

 

download driver from above link, then open terminal login as admin by typing sudo su

 

extract driver to that folder

 

navigate to that driver folder by typing

cd iwlwifi-3168-ucode-22.361476.0

To install firmware:

  1. Copy the files into the distribution-specific firmware directory, /lib/firmware.
  2. If the directory does not work, consult your distribution documentation.
  3. If you configure the kernel yourself, make sure firmware loading is enabled.

 

type following command in the terminal

mv * /lib/firmware/

reboot your system , your wifi will be working by now

How to manually install Nvidia Driver and cuda in ubuntu linux

Go to nvidia website and download driver, for this tutorial i am using .run file copy the file to your desktop , after that simply right click and select properties > select permissions > tick Execute : allow executing file as program ,

click this link to learn how to make file executable using terminal

after that you need to black list nouveau for that type following command in the terminal

 

sudo nano /etc/modprobe.d/blacklist-nouveau.conf

then copy following text in the nano editor in terminal then save it

blacklist nouveau
blacklist lbm-nouveau
options nouveau modeset=0
alias nouveau off
alias lbm-nouveau off

then type following command in the terminal

sudo update-initramfs -u

reboot your system after this procedure , now you can find your system resolution is changed from recommended to minimal,once login screen appear press Ctrl + Alt +F1 this will switch your interface from GUI to CLI then login by typing your username and password after that you should stop your Desktop Manager, by default ubuntu using lightdm you type following command in the terminal to stop lightdm

sudo service lightdm stop

this will stop gui service running in background then you should navigate to your nvidia driver location by typing cd /Destkop

 

if you type ls you can find driver which you have copied earlier

 

after that you need to execute driver installation file for that type following command in the terminal

sudo ./NVIDIA-Linux-x86_64-375.66.run

Please note the driver version which you are using may vary

then follow the instructions !

after installation reboot your system

in my system i have two cards one is Nvidia quadro K2200 & Tesla k40c

so i am going to install cuda to install cuda type follwing command line in the terminal , offline installation is also available i will include that tutorial in the future blog post if you want to download offline cuda package you can download it from https://developer.nvidia.com/cuda-downloads

sudo apt-get install nvidia-cuda-toolkit

this package is around 750 mb , installation speed is depend on your internet connecton, after installation reboot your system, to confirm whether both graphics card is detected in your system you can use inxi utility for that install inxi package in your system by typing

sudo apt-get install inxi

after the installation , open terminal and type

 

inxi -G

congratulations you have successfully install both nvidia driver and cuda

How to make file executable using terminal

To give permission to execute a file you should navigate to file copied location in terminal

by default when you open-up the terminal your terminal location will look some thing like this

george@Area51-HP-Pro-3330-MT ~ $

if you type "pwd"

you can see current directory in the terminal

george@Area51-HP-Pro-3330-MT ~ $ pwd

/home/george                                         <----  currently i have mounted to /home/user

for this tutorial i have copied file in a folder in the desktop so i have to navigate to that directory for eg: my folder name is called "Dashboard"

to navigate that folder i have to type in cd /Desktop/Dashboard

after that type ls so that you can list all files in the terminal

they type following command in the terminal , in my case i am using NVIDIA-Linux-x86_64-375.66.run file as executable this may vary with yours

sudo chmod +x ./NVIDIA-Linux-x86_64-375.66.run

* Note

sudo = root "super user " permission

 

chmod = The command name chmod stands for "change mode", and it is used to define the way a file can be accessed.

 

+x = this will execute a file

 

./ = if you are using a script .sh or .run you should use this following by the file name

 

if you use -x instead of +x this will remove file permission

 

sudo chmod -x ./NVIDIA-Linux-x86_64-375.66.run

This is will remove permissions

Pin It on Pinterest