Ubuntu module blacklist

Edit blacklist.conf sudo gedit /etc/modprobe.d/blacklist.conf Add below statement at the end of the blacklist.conf blacklist [module name] Update ramfs and reboot sudo update-initramfs -u sudo reboot

Install R on Ubuntu 16.04

  • Add R repository
  • sudo echo "deb http://cran.rstudio.com/bin/linux/ubuntu xenial/" | sudo tee -a /etc/apt/sources.list
  • Add R to Ubuntu Keyring
  • gpg --keyserver keyserver.ubuntu.com --recv-key E084DAB9 gpg -a --export E084DAB9 | sudo apt-key add -
  • Install R-base
  • sudo apt-get update sudo apt-get install r-base r-base-dev
  • Install GUI tool - Rstudio
  • sudo apt-get install gdebi-core wget https://download1.rstudio.org/rstudio-0.99.896-amd64.deb sudo gdebi -n rstudio-0.99.896-amd64.deb rm rstudio-0.99.896-amd64.deb

    [Ubutnu] analyze system boot time

    Simply execute the following command to see the detailed boot up time systemd-analyze blame

    [Ubutnu] Create bridged network for qemu

    Simple way to create bridged network between Ubuntu host and qemu client Install bridge-utils package first. sudo apt-get install bridge-utils Edit /etc/network/interfaces, and append the following configurations. Add a bridged network (br0) to your host network adapter (eth0)
    ------------------------
    auto br0
    iface br0 inet dhcp
     bridge_ports eth0
     bridge_stp off
     bridge_fd 0
     bridge_maxwait 0
    ------------------------
    Restart your network. sudo /etc/init.d/networking restart Edit your script to boot qemu client, here is an example (-net nic, -net bridge,br=br0) qemu -net nic, -net bridge,br=br0 you are now ready to boot your qemu client with bridged network

    [Ubutun] Repiar no sound problem on Ubuntu 16.04

      Uninstall pulseaudio package
    sudo apt-get purge pulseaudio
      Remove the following files/folders
    sudo rm -rf ~/.config/pulse /etc/pulse /usr/share/pulseaudio
      Reboot you system
      Reinstall pulseaudio package
    sudo apt-get install pulseaudio
      You might need to reinstall ubuntu-desktop if your 'Ubuntu System Settings' has disappeared
    sudo apt-get install ubuntu-desktop

    Orange - data analysis tool

    Installation pip install orange3 Run orange python -m Orange.canvas