Could not edit entry four…. how strange.
Today I've loaded Ubuntu on my Droid incredible 2. On the android market there is a well detailed tutorial that links the dependancies and system images. What you're ultimately doing is partitioning your sdcard and a script boots Ubuntu. Setup your credentials and you're done! To access the session you use a VNC program and point it to localhost.
Today our task was to clear an area of the lair so we may setup our own machines to administrate. Whilst rummaging through potential systems for my own use I come across a lonely looking PowerMac G4 Cube… This machines specifications are less then ideal, however I believe that hacking away the unnecessary portions of OS X will permit an acceptable experience. It has been a small time dream of mine to play with one of these bad boys and here's my chance!
Optimizing legacy hardware for modern operation isn't just fun, it's economically sustainable.
I've decided to try using my favorite web applications in a CLI. So far I'm using Alpine for my Gmail, Pianobar for pandora, Lynx for light web browsing, TTYtter for twitter and I'm looking for more! I run all of these applications off of my PogoPlug server and tunnel in to access them. This provides me with a simple, lightweight and content centric user experience that's accessible from anywhere!
Today I stumbled upon this program called Cathode. It's an alternative terminal emulator for mac os. Cathode provides the user experience older physical video terminals such as the vt100. Cathode mimics visual effects that naturally occur in older CRT monitors. I've gone ahead and decided it will be my default choice for all terminal sessions.
This is a sample format for a dated entry. Please substitute the actual date for “Month Day, Year”, and duplicate the level 4 heading to make additional entries.
As an aid, feel free to use the following questions to help you generate content for your entries:
Remember that 4 is just the minimum number of entries. Feel free to have more.
Experienced administrators realize the importance of ensuring a systems longevity. Legacy systems are often useful a decade or more after initial deployment. The key to this longevity is being smart about the software you use.
In the OS X environment users are given a lot of gloss: the dashboard, three demential/reflective docks, a transparent menu bar, and various other visual enhancements. If you find that these features aren't imperative to your work and you would like some free system memory you may want to consider disabling them. (I will be describing these procedures further in my first project)
If Mac OS isn't your thing and Linux is you may want to consider compiling a customized version of the openSUSE linux distribution. The openSUSE project offers a simple web tool that enables the user to customize the components of their operating system before installation. The openSUSE build project can be found here: “https://build.opensuse.org/”
Octave is mathematical analysis/computation HPC tool. Scientists and Engineers use programs like Octave to solve complex mathematical situations. High performance computing systems permit less latency and therefore, faster results.
Scientists and Engineers can input complex equations and weigh the processing over HPC nodes within a cluster. This kind of balanced processing is widely popular and practical for HPC applications. Octave gives the user a command line interface for processing requests, shown below:
server@Dimension-4600:~$ octave GNU Octave, version 3.2.4 Copyright (C) 2009 John W. Eaton and others. This is free software; see the source code for copying conditions. There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For details, type `warranty'. Octave was configured for "i686-pc-linux-gnu". Additional information about Octave is available at http://www.octave.org. Please contribute if you find this software useful. For more information, visit http://www.octave.org/help-wanted.html Report bugs to <bug@octave.org> (but first, please read http://www.octave.org/bugs.html to learn how to write a helpful report). For information about changes from previous versions, type `news'. octave:1> help For help with individual commands and functions type help NAME (replace NAME with the name of the command or function you would like to learn more about). For a more detailed introduction to GNU Octave, please consult the manual. To read the manual from the prompt type doc GNU Octave is supported and developed by its user community. For more information visit http://www.octave.org. octave:2>
Xen offers virtualization software with a focus on technical specification. Xen supports various architectures, is widely popular and is very robust; xen virtualization is trusted by larger internet groups such as Amazon.
In lab46 we've worked with Xen in a CLI but there is a GUI version as well. Xen offers an array of administrative tools accessible via the command line:
vmserver03:~# xm Usage: xm <subcommand> [args] Control, list, and manipulate Xen guest instances. Common 'xm' commands: console Attach to <Domain>'s console. create Create a domain based on <ConfigFile>. new Adds a domain to Xend domain management delete Remove a domain from Xend domain management. destroy Terminate a domain immediately. dump-core Dump core for a specific domain. help Display this message. list List information about all/some domains. mem-set Set the current memory usage for a domain. migrate Migrate a domain to another machine. pause Pause execution of a domain. reboot Reboot a domain. restore Restore a domain from a saved state. resume Resume a Xend managed domain save Save a domain state to restore later. shell Launch an interactive shell. shutdown Shutdown a domain. start Start a Xend managed domain suspend Suspend a Xend managed domain top Monitor a host and the domains in real time. unpause Unpause a paused domain. uptime Print uptime for all/some domains. vcpu-set Set the number of active VCPUs for allowed for the domain. <Domain> can either be the Domain Name or Id. For more help on 'xm' see the xm(1) man page. For more help on 'xm create' see the xmdomain.cfg(5) man page. For a complete list of subcommands run 'xm help'. vmserver03:~#
Xen allows powerful critiquing of its settings.
I desided to swap my 80Gb IDE USB drive on my PogoLab server for a faster, 120Gb 5400RPM SATA drive. After a few Google queries I stumbled upon a tutorial that called for the DD tool.
DD is a tool for cloning disks.
'if=' - The drive you're going to copy. 'of=' - The drive being copied to.
andrew@Lab:/media$ sudo dd if=/dev/sdh of=/dev/sdg [sudo] password for andrew: 156301488+0 records in 80026361856 bytes (80 GB) copied, 7342.41 s, 10.9 MB/s andrew@Lab:/media$
As an administrator you'll often need to install packages from external repositories.
In Debian you source file for repositories is located in “/etc/apt/sources.list” There you can add or modify sources.
In Debian we rely on a program called aptitude to install external packages
To update aptitude, use the aptitude update command shown below:
vmserver03:~# aptitude update Writing extended state information... Done Get:1 http://dl.google.com stable Release.gpg [189B] Get:2 http://security.debian.org lenny/updates Release.gpg [836B] Ign http://security.debian.org lenny/updates/main Translation-en_US Ign http://security.debian.org lenny/updates/contrib Translation-en_US Ign http://dl.google.com stable/non-free Translation-en_US Ign http://dl.google.com stable/main Translation-en_US Get:3 http://dl.google.com testing Release.gpg [189B] Ign http://dl.google.com testing/non-free Translation-en_US Get:4 http://security.debian.org lenny/updates Release [92.4kB] Get:5 http://packages.enlightenment.org lenny Release.gpg [197B] Get:6 http://dl.google.com stable Release [2544B] Get:7 http://packages.dotdeb.org oldstable Release.gpg [836B] Ign http://packages.dotdeb.org oldstable/all Translation-en_US Get:8 http://dl.google.com testing Release [2513B] Ign http://dl.google.com stable Release Ign http://dl.google.com testing Release Ign http://dl.google.com stable/non-free Packages/DiffIndex Ign http://dl.google.com stable/main Packages/DiffIndex Ign http://packages.enlightenment.org lenny/main Translation-en_US Hit http://packages.dotdeb.org oldstable Release Err http://packages.dotdeb.org oldstable Release Ign http://dl.google.com testing/non-free Packages/DiffIndex Get:9 http://dl.google.com stable/non-free Packages [1010B] Ign http://security.debian.org lenny/updates/main Packages/DiffIndex Get:10 http://packages.dotdeb.org oldstable Release [2177B] Get:11 http://dl.google.com stable/main Packages [1082B] Ign http://packages.dotdeb.org oldstable Release Ign http://packages.enlightenment.org lenny/extras Translation-en_US Ign http://security.debian.org lenny/updates/contrib Packages/DiffIndex Ign http://security.debian.org lenny/updates/main Sources/DiffIndex Ign http://security.debian.org lenny/updates/contrib Sources/DiffIndex Get:12 http://dl.google.com testing/non-free Packages [793B] Get:13 http://security.debian.org lenny/updates/main Packages [346kB] Ign http://packages.dotdeb.org oldstable/all Packages/DiffIndex Hit http://packages.enlightenment.org lenny Release Err http://packages.enlightenment.org lenny Release Ign http://packages.dotdeb.org oldstable/all Sources/DiffIndex Hit http://packages.dotdeb.org oldstable/all Packages Get:14 http://packages.enlightenment.org lenny Release [910B] Ign http://packages.enlightenment.org lenny Release Hit http://packages.dotdeb.org oldstable/all Sources Ign http://packages.enlightenment.org lenny/main Packages/DiffIndex Get:15 http://security.debian.org lenny/updates/contrib Packages [766B] Get:16 http://security.debian.org lenny/updates/main Sources [121kB] Ign http://packages.enlightenment.org lenny/extras Packages/DiffIndex Get:17 http://security.debian.org lenny/updates/contrib Sources [811B] Ign http://packages.enlightenment.org lenny/main Packages Hit http://ftp.us.debian.org lenny Release.gpg Ign http://packages.enlightenment.org lenny/extras Packages Ign http://ftp.us.debian.org lenny/main Translation-en_US Ign http://ftp.us.debian.org lenny/contrib Translation-en_US Hit http://ftp.us.debian.org lenny Release Hit http://packages.enlightenment.org lenny/main Packages Ign http://ftp.us.debian.org lenny/main Packages/DiffIndex Get:18 http://www.bimoid.com stable Release.gpg [490B] Ign http://ftp.us.debian.org lenny/contrib Packages/DiffIndex Ign http://ftp.us.debian.org lenny/main Sources/DiffIndex Ign http://ftp.us.debian.org lenny/contrib Sources/DiffIndex Hit http://ftp.us.debian.org lenny/main Packages Ign http://www.bimoid.com stable/non-free Translation-en_US Hit http://packages.enlightenment.org lenny/extras Packages Hit http://ftp.us.debian.org lenny/contrib Packages Hit http://ftp.us.debian.org lenny/main Sources Hit http://www.bimoid.com stable Release Err http://www.bimoid.com stable Release Hit http://ftp.us.debian.org lenny/contrib Sources Get:19 ftp://ftp.debian.org lenny-proposed-updates Release.gpg [836B] Get:20 http://www.bimoid.com stable Release [1681B] Ign http://www.bimoid.com stable Release Ign http://www.bimoid.com stable/non-free Packages/DiffIndex Ign http://www.bimoid.com stable/non-free Packages Hit http://www.bimoid.com stable/non-free Packages Get:21 ftp://ftp.debian.org lenny-proposed-updates/main Translation-en_US Ign ftp://ftp.debian.org lenny-proposed-updates/main Translation-en_US Get:22 ftp://ftp.debian.org lenny-proposed-updates Release [142kB] Get:23 ftp://ftp.debian.org lenny-proposed-updates/main Packages/DiffIndex [2023B] Get:24 ftp://ftp.debian.org lenny-proposed-updates/main 2012-03-02-2013.04.pdiff [2688B] Get:25 ftp://ftp.debian.org lenny-proposed-updates/main 2012-03-02-2013.04.pdiff [2688B] Get:26 ftp://ftp.debian.org lenny-proposed-updates/main 2012-03-02-2013.04.pdiff [2688B] Fetched 724kB in 17s (42.1kB/s) Reading package lists... Done W: GPG error: http://dl.google.com stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A040830F7FAC5991 W: GPG error: http://dl.google.com testing Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A040830F7FAC5991 W: GPG error: http://packages.dotdeb.org oldstable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E9C74FEEA2098A6E W: GPG error: http://packages.enlightenment.org lenny Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6B2226D9969C86CA W: GPG error: http://www.bimoid.com stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY AD17586265F2FB00 W: You may want to run apt-get update to correct these problems vmserver03:~#
Then grabbing a new package:
use aptitude install “…”
Displayed below:
vmserver03:~# aptitude install calcurse Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Reading task descriptions... Done The following NEW packages will be installed: calcurse 0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 231kB of archives. After unpacking 872kB will be used. Writing extended state information... Done Get:1 http://ftp.us.debian.org lenny/main calcurse 2.1-1 [231kB] Fetched 231kB in 1s (150kB/s) Selecting previously deselected package calcurse. (Reading database ... 46642 files and directories currently installed.) Unpacking calcurse (from .../calcurse_2.1-1_i386.deb) ... Processing triggers for man-db ... Setting up calcurse (2.1-1) ... Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Writing extended state information... Done Reading task descriptions... Done vmserver03:~#
A popular use for a Virtual Machineis a LAMP server (Linux, Apache, Mysql, PHP) server
A virtualized operating system is ideal for handling a simple webserver like this. it has the potential for always on applications and the files are segregated from the rest of the system. It also adds another level of security for your web server, this is because it is VM is hidden from the rest of the system and requires a second authentication for access.
Make time go backwards…because you'll need to fuddle with your config file and reinitiate your VM. Luckily Haas is a master of time and can deal with such impasses.
Further understand the necessary components of a proper web server
If i hope to get into this line of work I want my focus to be web technologies. I need to know as much as I possibly can.
Lab46 resources, real world experience, contemplation of concepts based on work in the lair.
Jacob and I have started http://www.adaptivelogicdesign.com to open our services to new clients and learn new skills while doing so.
Will my virtual machine return from its epic travle through time?
Lab46 Wiki
Commenting out this line: “extra = 'clocksource=jiffies'” and reinitiating my VM will solve my time travle woes.
I remove the previous VM with an: “xm destroy newvm” and reinstitute another vm with: “xm create -c /xen/conf/vm07.cfg”
The script then runs and I'm able to console into the new VM!
So I assume the the kernal is a time freak and needs this external source to reference time… Awesome.
can I get new packages after updating my sources.list file without an aptitude update?
Lab46
I believe that if I add a new sources.list file I'll be able to install a new package without an aptitude update.
vmserver03:~# cd /etc/apt vmserver03:/etc/apt# ls apt.conf.d secring.gpg sources.list sources.list.d trustdb.gpg trusted.gpg trusted.gpg~ vmserver03:/etc/apt# rm sources.list vmserver03:/etc/apt# touch sources.list vmserver03:/etc/apt# nano sources.list GNU nano 2.0.7 File: sources.list ############################################################# ################### OFFICIAL DEBIAN REPOS ################### ############################################################# ###### Debian Main Repos deb http://ftp.us.debian.org/debian/ lenny main contrib deb-src http://ftp.us.debian.org/debian/ lenny main contrib ###### Debian Update Repos deb http://security.debian.org/ lenny/updates main contrib deb http://ftp.us.debian.org/debian/ lenny-proposed-updates main contrib deb-src http://security.debian.org/ lenny/updates main contrib deb-src http://ftp.us.debian.org/debian/ lenny-proposed-updates main contrib ############################################################## ##################### UNOFFICIAL REPOS ###################### ############################################################## ###### 3rd Party Binary Repos #### Bimoid - http://bimoid.com/ ## Run this command: wget -O - http://www.bimoid.com/debian/apt.key | apt-key add - deb http://www.bimoid.com/debian/ stable non-free #### Dotdeb - http://www.dotdeb.org ## Run this command: wget -q -O - http://www.dotdeb.org/dotdeb.gpg | apt-key add - deb http://packages.dotdeb.org oldstable all #### Enlightenment - http://enlightenment.org ## Run this command: wget -q http://packages.enlightenment.org/repo.key -O- | apt-key add - deb http://packages.enlightenment.org/debian lenny main extras #### Esmska - http://code.google.com/p/esmska/ ## Run this command: wget -q -O - http://repo.palatinus.cz/repo.key | apt-key add - deb http://repo.palatinus.cz/stable / #### Google Linux Software Repositories - http://www.google.com ## Run this command: wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - deb http://dl.google.com/linux/deb/ stable non-free main #### Google Linux Software Repositories (Testing) - http://www.google.com ## Run this command: wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - [ Read 64 lines ] ^G Get Help ^O WriteOut ^R Read File ^Y Prev Page ^K Cut Text ^C Cur Pos ^X Exit ^J Justify ^W Where Is ^V Next Page ^U UnCut Text ^T To Spell vmserver03:/etc/apt# aptitude install emacs Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Reading task descriptions... Done The following NEW packages will be installed: emacs emacs22{a} emacs22-bin-common{a} emacs22-common{a} emacsen-common{a} libgif4{a} libxmu6{a} libxpm4{a} libxt6{a} xaw3dg{a} 0 packages upgraded, 10 newly installed, 0 to remove and 0 not upgraded. Need to get 17.9MB of archives. After unpacking 62.6MB will be used. Do you want to continue? [Y/n/?] y Writing extended state information... Done Get:1 http://ftp.us.debian.org lenny/main libxt6 1:1.0.5-3 [166kB] 0% [1 libxt6 0/166kB 0%] Get:2 http://ftp.us.debian.org lenny/main emacsen-common 1.4.17 [17.6kB] Get:3 http://ftp.us.debian.org lenny/main emacs22-common 22.2+2-5 [14.6MB] Get:4 http://ftp.us.debian.org lenny/main emacs22-bin-common 22.2+2-5 [165kB] Get:5 http://ftp.us.debian.org lenny/main libgif4 4.1.6-6 [39.4kB] Get:6 http://ftp.us.debian.org lenny/main libxmu6 2:1.0.4-1 [51.1kB] Get:7 http://ftp.us.debian.org lenny/main libxpm4 1:3.5.7-1 [40.3kB] Get:8 http://ftp.us.debian.org lenny/main xaw3dg 1.5+E-17 [161kB] Get:9 http://ftp.us.debian.org lenny/main emacs22 22.2+2-5 [2607kB] Get:10 http://ftp.us.debian.org lenny/main emacs 22.2+2-5 [20.0kB] Fetched 17.9MB in 49s (361kB/s) Selecting previously deselected package libxt6. (Reading database ... 46667 files and directories currently installed.) Unpacking libxt6 (from .../libxt6_1%3a1.0.5-3_i386.deb) ... Selecting previously deselected package emacsen-common. Unpacking emacsen-common (from .../emacsen-common_1.4.17_all.deb) ... Selecting previously deselected package emacs22-common. Unpacking emacs22-common (from .../emacs22-common_22.2+2-5_all.deb) ... Selecting previously deselected package emacs22-bin-common. Unpacking emacs22-bin-common (from .../emacs22-bin-common_22.2+2-5_i386.deb) ... Selecting previously deselected package libgif4. Unpacking libgif4 (from .../libgif4_4.1.6-6_i386.deb) ... Selecting previously deselected package libxmu6. Unpacking libxmu6 (from .../libxmu6_2%3a1.0.4-1_i386.deb) ... Selecting previously deselected package libxpm4. Unpacking libxpm4 (from .../libxpm4_1%3a3.5.7-1_i386.deb) ... Selecting previously deselected package xaw3dg. Unpacking xaw3dg (from .../xaw3dg_1.5+E-17_i386.deb) ... Selecting previously deselected package emacs22. Unpacking emacs22 (from .../emacs22_22.2+2-5_i386.deb) ... Selecting previously deselected package emacs. Unpacking emacs (from .../emacs_22.2+2-5_all.deb) ... Processing triggers for man-db ... Setting up libxt6 (1:1.0.5-3) ... Setting up emacsen-common (1.4.17) ... emacsen-common: Handling install of emacsen flavor emacs Setting up emacs22-common (22.2+2-5) ... Setting up emacs22-bin-common (22.2+2-5) ... Setting up libgif4 (4.1.6-6) ... Setting up libxmu6 (2:1.0.4-1) ... Setting up libxpm4 (1:3.5.7-1) ... Setting up xaw3dg (1.5+E-17) ... Setting up emacs22 (22.2+2-5) ... emacs-install emacs22 install/cmake: Byte-compiling for emacs22 Wrote /usr/share/emacs22/site-lisp/cmake/cmake-mode.elc install/dictionaries-common: Byte-compiling for emacsen flavour emacs22 Wrote /usr/share/emacs22/site-lisp/dictionaries-common/debian-ispell.elc Wrote /usr/share/emacs22/site-lisp/dictionaries-common/ispell.elc Wrote /usr/share/emacs22/site-lisp/dictionaries-common/flyspell.elc emacsen-common: Handling install of emacsen flavor emacs22 emacsen-common: byte-compiling for emacs22 Loading /etc/emacs22/site-start.d/00debian-vars.el (source)... Loading /etc/emacs/site-start.d/50cmake.el (source)... Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)... Loading debian-ispell... Loading /var/cache/dictionaries-common/emacsen-ispell-default.el (source)... Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el (source)... Wrote /etc/emacs22/site-start.d/00debian-vars.elc Wrote /usr/share/emacs22/site-lisp/debian-startup.elc Setting up emacs (22.2+2-5) ... Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Writing extended state information... Done Reading task descriptions... Done vmserver03:/etc/apt#
vmserver03:/etc/apt# emacs File Edit Options Buffers Tools Help Welcome to GNU Emacs, one component of the GNU/Linux operating system. Get help C-h (Hold down CTRL and press h) Emacs manual C-h r Browse manuals C-h i Emacs tutorial C-h t Undo changes C-x u Buy manuals C-h C-m Exit Emacs C-x C-c Activate menubar F10 or ESC ` or M-` (`C-' means use the CTRL key. `M-' means use the Meta (or Alt) key. If you have no Meta key, you may instead type ESC followed by the character.) Useful tasks: Visit New File Open Home Directory Customize Startup Open *scratch* buffer GNU Emacs 22.2.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2008-11-09 on raven, modified by Debian Copyright (C) 2008 Free Software Foundation, Inc. GNU Emacs comes with ABSOLUTELY NO WARRANTY; type C-h C-w for full details. Emacs is Free Software--Free as in Freedom--so you can redistribute copies of Emacs and modify it; type C-h C-c to see the conditions. Type C-h C-d for information on getting the latest version. -uuu:%%-F1 *GNU Emacs* All L1 (Fundamental)------------------------------------------------------------------------------------------- For information about GNU Emacs and the GNU system, type C-h C-a.
Based on the data collected:
Though some of the mirrors were the same, some were added. Regardless, installation was still possible without an aptitude update.
What is the question you'd like to pose for experimentation? State it here.
Collect information and resources (such as URLs of web resources), and comment on knowledge obtained that you think will provide useful background information to aid in performing the experiment.
Based on what you've read with respect to your original posed question, what do you think will be the result of your experiment (ie an educated guess based on the facts known). This is done before actually performing the experiment.
State your rationale.
How are you going to test your hypothesis? What is the structure of your experiment?
Perform your experiment, and collect/document the results here.
Based on the data collected:
What can you ascertain based on the experiment performed and data collected? Document your findings here; make a statement as to any discoveries you've made.