Showing posts with label apt-get. Show all posts
Showing posts with label apt-get. Show all posts

Saturday, 2 November 2013

Listen to internet radio without Flash on Mac and Linux CLI

NOTE: nice classical music option! https://github.com/klutometis/radio/blob/master/radio.sh
  1. OS type
    1. Mac
      1. brew install mplayer
        1. See this if you hit the bug: https://github.com/mxcl/homebrew/issues/23503
    1. Linux (Debian-based)
      1. apt-get install mplayer
  2. play on CLI
    1. mplayer <stream>
      1. e.g. mplayer http://www.antenne.de/webradio/channels/das-schlager-karussell.m3u 
Or/else:
  1. paste stream link into a browser directly
  2. use VLC to play stream

Sunday, 28 April 2013

Ubuntu: convert desktop to server fast

Below as root:
  1. apt-get remove ubuntu-desktop
  2. apt-get install linux-server linux-image-server
  3. apt-get purge lightdm
  4. /etc/default/grub, change matching lines to below
    1. #GRUB_HIDDEN_TIMEOUT [comment it out]
    2. GRUB_CMDLINE_LINUX_DEFAULT=""
    3. GRUB_TERMINAL=console
  5. update-grub
  6. reboot

Thursday, 25 April 2013

Quick CLI screenshots on Linux or Openbox / Fluxbox


  1. sudo apt-get -y install imagemagick eog
  2. import myscreenshot.jpg
    1. select portion of screen with the crosshairs
  3. eog myscreenshot.jpg

Thursday, 17 January 2013

Asterisk pre-reqs for compiling on Debian/Ubuntu

apt-get -y install make libncurses-dev libxml2-dev sqlite3 libsqlite3-dev libiksemel-dev libssl-dev  subversion

Interview questions: 2020-12

Terraform provider vs provisioner Load balancing Network Load Balancer vs Application Load Balancer  Networking Layer 1 vs Layer 4 haproxy u...