LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Blogs > craigevil's random words of wisdom
User Name
Password

Notices



Ramblings about Debian GNU/Linux
  1. Old Comment

    Security and Privacy on the Internet

    How to use the Internet in Stealth Mode
    http://www.wariscrime.com/2012/02/16...-stealth-mode/

    The FBI's Cookie Caper and the VPN Imperative
    http://survivalblog.com/2012/03/impo...mperative.html

    Securing your data and online communications
    http://survivalblog.com/2012/03/secu...ns-by-afs.html

    Semi-anonymous Internet Access
    http://www.survivalblog.com/2010/03/...ous_inter.html
    Posted 12-08-2012 at 01:25 PM by craigevil craigevil is offline
  2. Old Comment

    Security and Privacy on the Internet

    Blocking Facebook Web Trackers At The Firewall For Extra Privacy | HowtoForge - Linux Howtos and Tutorials - http://www.howtoforge.com/blocking-f...-extra-privacy
    Posted 11-12-2012 at 02:06 PM by craigevil craigevil is offline
  3. Old Comment

    Howto install Oracle Java on Debian

    New update that fixes several security issues:

    Java(TM) Runtime Environment (JRE)
    Standard Edition, Version 1.7.0+update9
    Oracle Microsystems(TM), Inc.

    Install using the tar.gz file

    fakeroot make-jpkg /home/craig/Downloads/jre-7u9-linux-i586.tar.gz

    then use dpkg to install the newly created deb package.
    dpkg -i oracle-j2re1.7_1.7.0+update9_i386.deb

    $ java -version
    java version "1.7.0_09"
    Java(TM) SE Runtime Environment (build 1.7.0_09-b05)
    Java HotSpot(TM) Client VM (build 23.5-b02, mixed mode)
    Posted 10-19-2012 at 02:59 PM by craigevil craigevil is offline
    Updated 10-19-2012 at 03:02 PM by craigevil
  4. Old Comment

    Howto get newer package versions for Debian Stable

    Some info about versions in Stable, from a post over at forums.debian.net.

    You'll find the answer in: debian-faq/ch-choosing.en.html:
    Quote:
    ...you might find that stable contains old versions of packages. However, they have been tested in and out. One can confidently say that the packages do not have any known severe bugs, security holes etc., in them. The packages in stable integrate seamlessly with other stable packages.
    Getting the latest packages to work in the current stable release requires backporting, and this takes some time, skill and effort by unpaid volunteers. Sometimes it's easy to backport a package but other times it's not so easy.
    Quote:
    On the other hand, packages in testing or unstable can have hidden bugs, security holes etc., Moreover, some packages in testing and unstable might not be working as intended. Usually people working on a single desktop prefer having the latest and most modern set of packages. Unstable is the solution for this group of people.

    As you can see, stability and novelty are two opposing ends of the spectrum. If stability is required: install stable distribution. If you want to work with the latest packages, then install unstable.
    So if you want quick access to the newest package, run sid:
    But please see life_with_eternal_upgrades:
    Quote:
    It takes no more than simply setting the distribution string in the "/etc/apt/sources.list" to the suite name: "testing" or "unstable"; or the codename: "wheezy" or "sid". This makes you live the life of eternal upgrades.

    The use of testing or unstable is a lot of fun but comes with some risks. Even though the unstable suite of Debian system looks very stable for most of the times, there have been some package problems on the testing and unstable suite of Debian system and a few of them were not so trivial to resolve. It may be quite painful for you. Sometimes, you may have a broken package or missing functionality for a few weeks.
    So one solution proposed by the author of The Debian Reference is:
    Quote:
    Make the system dual bootable by installing the stable suite of Debian system to another partition
    Posted 10-15-2012 at 04:16 PM by craigevil craigevil is offline
  5. Old Comment

    Grokking Debian GNU/Linux

    Debian unlike other distros like Ubuntu does not come with sudo enabled by default. That said it is easy enough to set it up.

    How to setup sudo:

    1) Use visudo to edit your sudoers file
    2) Add your user to the sudo group
    Code:
    adduser foo sudo
    3) Or you can use gksu, or kdesu on KDE.

    Visudo Manual - http://www.gratisoft.us/sudo/visudo.man.html

    Add a User To Group - http://www.cyberciti.biz/faq/ubuntu-add-user-to-group/

    Proper way to open apps as root in X - http://forums.debian.net/viewtopic.php?f=16&t=53366

    sudo - Debian Wiki - http://wiki.debian.org/sudo

    HOWTO - get kdesu back to normal in KDE4 - http://forums.debian.net/viewtopic.php?f=16&t=40158

    This one is actually pretty easy. In a terminal here is what you do:
    Anywhere you see ## just after that is instructions you do NOT have to type the text directly AFTER the ## signs,
    what you have to type will either be BEFORE the ## on a line or the line will have NO ## signs.
    Code:
       ##first type in:
        su
    
        ##after you hit enter you will see
        Password:         ##<----------- type in your root password here.
    
        ##Now you will see your prompt change from a $ to a # sign
    
        ##Don't worry, almost done now...
    
        ##type:
    
        ln -s /usr/lib/kde4/libexec/kdesu /usr/bin/kdesu
    
        ##hit enter, then type:
        exit
    
        ##You are now back to your regular user in your terminal. Lets test that puppy out!
    
        kdesu dolphin
    
        ##The normal kdesu dialog should pop up asking for roots password with the explanation that the program 
        ##dolphin needs root permissions. You can just cancel the dialog box since it was only a test to see if the link
        ##worked.
    Posted 09-18-2012 at 04:19 PM by craigevil craigevil is offline
    Updated 09-18-2012 at 04:27 PM by craigevil
  6. Old Comment

    Howto install Oracle Java on Debian

    A few other ways:

    Installing Java 7 on Debian - http://alexander.holbreich.org/2011/...a-7-on-debian/

    How to install Oracle Java on Debian / Ubuntu | a Linux sysadmin blog - http://www.frederikkonietzny.de/2012...debian-ubuntu/

    How to Install Oracle Java on Ubuntu Linux: 18 steps - wikiHow - http://www.wikihow.com/Install-Oracl...n-Ubuntu-Linux

    Loving the Penguin: Installing Oracle Java in Wheezy - http://lovingthepenguin.blogspot.com...in-wheezy.html

    Install Oracle Java 8 In Ubuntu VIa PPA [JDK8] ~ Web Upd8: Ubuntu / Linux blog - http://www.webupd8.org/2012/09/insta...u-via-ppa.html
    Posted 09-15-2012 at 12:55 PM by craigevil craigevil is offline
  7. Old Comment

    Grokking Debian GNU/Linux

    How To Make Chromium Use Flash Player `Pepper` From Google Chrome ~ http://www.webupd8.org/2012/09/how-t...sh-player.html

    Very cool especially for those that do not want to use Google Chrome.
    Posted 09-07-2012 at 12:50 AM by craigevil craigevil is offline
  8. Old Comment

    Howto install Oracle Java on Debian

    I'm not sure whether the process I followed is correct or not, but I installed oracle java through a simpler mechanism on my squeeze. I just downloaded the latest Netbeans+JDK-7u5 package for Linux from http://www.oracle.com/technetwork/ja...ads/index.html.

    Then I simply ran the shell in a terminal to invoke the JDK installer:

    sh ./jdk-7u5-nb-7_1_2-linux-ml.sh

    The graphical installer then did the rest of the things including installing JDK and netbeans on the chosen path.
    Posted 07-17-2012 at 05:11 PM by prahladyeri prahladyeri is offline
  9. Old Comment

    Howto install Oracle Java on Debian

    How To Install Oracle Java 7 In Debian Via Repository ~ http://www.webupd8.org/2012/06/how-t...in-debian.html

    Code:
    su -
    echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu precise main" > /etc/apt/sources.list.d/webupd8team-java.list
    echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu precise main" >> /etc/apt/sources.list.d/webupd8team-java.list
    apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EEA14886
    apt-get update
    apt-get install oracle-java7-installer
    exit
    Posted 06-20-2012 at 12:46 AM by craigevil craigevil is offline
  10. Old Comment

    Security and Privacy on the Internet

    Tor info:

    TheTorProject - YouTube - https://www.youtube.com/thetorproject
    Tor legal info https://www.torproject.org/eff/tor-legal-faq.html.en

    Tor Project: Installation Instructions - https://www.torproject.org/docs/installguide.html.en
    if your ISP blocks Tor you may still be able to use it with the use of Tor bridges:
    Tor Project: Bridges - https://www.torproject.org/docs/bridges
    https://bridges.torproject.org/
    Legal FAQ for Tor Relay Operators - https://www.torproject.org/eff/tor-legal-faq.html.en
    Tor Project: Relay Configuration Instructions - https://www.torproject.org/docs/tor-doc-relay.html.en
    Electronic Frontier Foundation | Defending your rights in the digital world - https://www.eff.org/torchallenge/what-is-tor/
    List of Tor Relays https://www.eff.org/torchallenge/list/
    Advanced Tor network usage: relays, hidden services and more - Kimpl | Kimpl - http://www.kimpl.com/1165/tor-relays-hidden-services/
    How to Bypass Internet Censorship - http://en.flossmanuals.net/bypassing...p-a-tor-relay/
    Tor bridges in the Amazon Cloud - https://cloud.torproject.org/
    Posted 06-18-2012 at 09:17 PM by craigevil craigevil is offline
  11. Old Comment
    Posted 06-17-2012 at 01:56 PM by craigevil craigevil is offline
    Updated 06-18-2012 at 11:16 AM by craigevil
  12. Old Comment

    Grokking Debian GNU/Linux

    # Some helpful Debian links:
    # Debian -- The Universal Operating System : http://www.debian.org/
    # Debian GNU/Linux Installation Guide : http://www.debian.org/releases/stable/i386/
    # Debian HCL; Debian GNU/Linux device driver check & report - http://kmuto.jp/debian/hcl/
    # The Debian Administrator's Handbook - http://debian-handbook.info
    # Debian Social Contract - http://www.debian.org/social_contract
    # Debian -- Reasons to Choose Debian - http://www.debian.org/intro/why_debian
    # Official Debian -- Documentation : http://www.debian.org/doc/
    # Debian Wiki - http://wiki.debian.org
    # Official Debian mirrors http://www.debian.org/mirror/list
    # Also at http://ftp.debian.org/debian/README.mirrors.txt
    # Debian oldstable repo http://archive.debian.org/debian/README
    # mentors.debian.net Helps you get your packages into Debian http://mentors.debian.net
    # Debian Backports : http://backports-master.debian.org/
    # Basics of the Debian package management system - http://www.debian.org/doc/FAQ/ch-pkg_basics.html
    # Debian package management : http://www.debian.org/doc/manuals/de...e/ch02.en.html
    # Debian package management tools http://www.debian.org/doc/manuals/de...gtools.en.html
    # Newbiedoc : http://sourceforge.net/apps/mediawik..._documentation
    # Aptitude user's manual - http://algebraicthunk.net/~dburrows/...titude/doc/en/
    # Apt - Debian Wiki - http://wiki.debian.org/Apt
    # The APT, Dpkg Quick Reference http://www.cyberciti.biz/ref/apt-dpkg-ref.html
    # Secure APT - http://wiki.debian.org/SecureApt
    # Aptitude - Debian Wiki - http://wiki.debian.org/Aptitude
    # SourcesList - Debian Wiki - http://wiki.debian.org/SourcesList
    # AptPreferences - Debian Wiki : http://wiki.debian.org/AptPreferences
    # Apt-Pinning for Beginners : http://jaqque.sbih.org/kplug/apt-pinning.html
    # Search Debian -- Packages - http://www.debian.org/distrib/packages
    # Debian-Database.ORG - Unofficial Debian Repositories Collected - http://www.debian-database.org/?s=repos
    # UnofficialRepositories - Debian Wiki - http://wiki.debian.org/UnofficialRepositories
    # Debian infographic : https://claudiocomputing.files.wordp...n-en-v1-01.png
    # smxi - unofficial Debian maintenance script http://smxi.org/site/install.htm
    # inxi - A newer, better system information script for irc - https://code.google.com/p/inxi/
    # Mastering Debian and Ubuntu : http://raphaelhertzog.com/mastering-debian/
    # HOWTOs from The Linux Documentation Project (TLDP) at http://tldp.org/
    # Trouble shooting ALSA on Debian https://www.linuxquestions.org/quest...n-debian-3018/
    # Howto install Oracle Java on Debian https://www.linuxquestions.org/quest...-debian-34567/
    # Howto: Set up and Maintain a Mixed Testing/Unstable System : http://forums.debian.net/viewtopic.p...=15612&p=76067
    # HowTo Build a Package from Source the Smart Way : http://forums.debian.net/viewtopic.php?f=16&t=38976
    # Howto get newer package versions for Debian Stable - https://www.linuxquestions.org/quest...-stable-34611/
    # Grokking Debian GNU/Linux - : http://www.linuxquestions.org/questi...nu-linux-3073/
    # Craigevil's Giant sources.list - https://sites.google.com/site/mydebiansourceslist/Home
    Posted 06-14-2012 at 05:40 AM by craigevil craigevil is offline
    Updated 06-14-2012 at 05:52 AM by craigevil
  13. Old Comment

    Howto install Oracle Java on Debian

    Don't forget to download and install updated versions of Java.


    $ java -version
    java version "1.7.0_05"
    Java(TM) SE Runtime Environment (build 1.7.0_05-b05)
    Java HotSpot(TM) Client VM (build 23.1-b03, mixed mode)

    Took 5 minutes to download and a minute to build and install:
    The Debian package has been created in the current directory. You can
    install the package as root (e.g. dpkg -i oracle-j2re1.7_1.7.0+update5_i386.deb).
    Posted 06-12-2012 at 02:58 PM by craigevil craigevil is offline
  14. Old Comment

    Howto install Oracle Java on Debian

    Oracle to patch 14 critical Java SE holes on Tuesday

    Oracle to patch 14 critical Java SE holes on Tuesday - http://www.h-online.com/open/news/it...y-1614778.html
    Quote:
    Oracle to patch 14 critical Java SE holes on Tuesday

    Oracle says it will be patching fourteen vulnerabilities in Java SE (Standard Edition) this coming Tuesday, 12 June. All versions of Java, including the JDK and JRE version 7 update 4 and earlier, version 6 update 32 and earlier, version 5 update 35 and earlier, 1.4_2_37 and earlier, and JavaFX 2.1 and earlier are affected.
    The company says that it will be strongly recommending that all users apply the patch update "due to the threat posed by a successful attack". Oracle says the highest CVSS base score of the vulnerabilities is 10.0. Twelve of the vulnerabilities may be exploited remotely without any authentication. The problems all reside in the Java Runtime Environment (JRE).
    Posted 06-10-2012 at 01:51 AM by craigevil craigevil is offline
  15. Old Comment

    Security and Privacy on the Internet

    Google Screenwise: Get Paid for Sharing Your Internet Use in Chrome with Google - http://techdows.com/2012/02/google-s...th-google.html

    Only wish they gave you a Amazon giftcard rather than Barnes & Noble.

    But what the heck, go ahead and use Chrome for a 5 minutes a day, and get a $5 B&N gift card every 3 months. Be sure to visit a lot of pron sites
    Posted 06-05-2012 at 10:48 AM by craigevil craigevil is offline
  16. Old Comment

    Howto install Oracle Java on Debian

    Script (JRE only)

    Only supports Oracle (Sun) Java 7 JRE (which covers the needs of 99 % of all computer users). It pulls the packages from Oracle's website and installs them, comparable to the way Adobe Flash Player is being installed. Plus it adds a dedicated repository, from which you'll receive updates automatically.

    http://www.duinsoft.nl/packages.php?t=en
    Posted 06-04-2012 at 11:27 AM by craigevil craigevil is offline
  17. Old Comment

    Security and Privacy on the Internet

    Some interesting articles about using bittorrents.

    How to Boost Your BitTorrent Speed and Privacy - http://lifehacker.com/286607/interme...-to-bittorrent

    How to Completely Anonymize Your BitTorrent Traffic with BTGuard - http://lifehacker.com/5863380/how-to...c-with-btguard

    How to Pirate Software Without Getting Caught - http://gizmodo.com/5905534/how-to-pi...getting-caught

    How to Make Your VPN Even More Secure - http://lifehacker.com/5902397/how-to...en-more-secure

    How To Anonymize and Encrypt Your BitTorrent Traffic - How-To Geek - http://www.howtogeek.com/76801/how-t...rrent-traffic/

    How to Completely Mask & Anonymize Your BitTorrent Traffic Using Anomos http://null-byte.wonderhowto.com/blo...nomos-0131925/
    Posted 05-31-2012 at 08:26 PM by craigevil craigevil is offline
  18. Old Comment

    Howto get newer package versions for Debian Stable

    For a complete example of the steps backporting your own package See https://www.linuxquestions.org/quest...1/#post4692359
    Posted 05-31-2012 at 06:17 PM by craigevil craigevil is offline
  19. Old Comment

    Howto get newer package versions for Debian Stable

    To install sid packages in testing do:
    Code:
    echo 'APT::Default-Release "testing";' >> /etc/apt/apt.conf, edit sources.list, copy your non-security testing lines and change one set to sid, then apt-get update.  Use apt-get -t sid install foo; to install foo from sid rather than testing as usual.  WARNING to SYNAPTIC users: Synaptic ignores Default-Release: set Preferences->Distribution
    You can also use the aptosid or siduction repos.

    Or backport from sid following the steps in the main post.

    To upgrade a package that was installed from source do:
    Code:
    uupdate (in the <devscripts> package) upgrades a source code package from an upstream revision, or e.g. if the newest foo in debian is 1.2, and upstream is at 1.4: apt-get source foo; wget -nd http://foo.org/foo-1.4.tar.gz; cd foo-1.2; uupdate ../foo-1.4.tar.gz
    Posted 05-25-2012 at 10:06 PM by craigevil craigevil is offline
  20. Old Comment

    Grokking Debian GNU/Linux

    The Debian Administration Handbook

    You can order it in book form or download in various electronic form. You can find the news here:
    http://debian-handbook.info/2012/the...-is-available/

    The download is a bit hard to find at first glance. You can find it here:
    http://debian-handbook.info/get/now/

    Also available as a html webpage:
    http://static.debian-handbook.info/browse/stable/

    And at least on sid as a Debian package:
    $ apt-cache search debian-handbook
    debian-handbook - reference book for Debian users and system administrators

    Code:
    # apt-get install debian-handbook
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    The following NEW packages will be installed:
      debian-handbook
    0 upgraded, 1 newly installed, 0 to remove and 19 not upgraded.
    Need to get 22.0 MB of archives.
    After this operation, 23.9 MB of additional disk space will be used.
    Once installed it can be opened in a browser /usr/share/doc/debian-handbook/html/index.html
    Posted 05-11-2012 at 07:31 AM by craigevil craigevil is offline

  



All times are GMT -5. The time now is 06:44 AM.

Main Menu
Advertisement

Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration