Showing posts with label Tech. Show all posts
Showing posts with label Tech. Show all posts

Tuesday, July 31, 2007

ChiCon 07

Hey All,

A group of us Chicago Free and Open Source software enthusiasts are planning on setting up conference in Chicago to showcase Free and Open Source software. This conference is different from flourish as this is not to showcase it in business but instead on the desktop and for fellow enthusiast.

If this sound like fun to you or you have some great ideas that you would like to share with us, join us in #chicon on irc.freenode.net.

The first date thrown around is sometime in November.

UPDATE: Fixed my grammer, I really should wait 5 minutes before I proofread my post.

Thursday, May 17, 2007

Book Suggestions

Dear LazyWeb,

Currently at my job we have 3 Debian severs, 30 Windows clients and 4 iMac clients so I am look for good book suggestions for various topics pertaining to our lab. The reason for the books is that my replacements can have something to help them learn about the topics but also as a reference in case there is a problem. So ideally the books would be good for learning and reference. The topics are:

  • Debian Server Administration

  • Samba

  • Mac OSX

  • ipTables

  • Any other general Sys Admin book


Any suggestion can be left as comments to this post or email them to kharriss#chicagolug.org.

Thanks

Monday, April 16, 2007

Lights Camera Action

Videos of some previous presentations done at Chicago GLUG meetings have been posted here on our website. The current videos are for the following presentations: Dirvish by John Quigley, VSFTPD Virtual Users by myself and Objective-C by Yacin Nadji. Look for more videos of our presentations and events in the future.

[UPDATE]
The videos are licensed under the GFDL, so the videos are free to distribute in accordance with that license.

My Homepage Has Returned

It has been awhile since I had a homepage up, but now I have one back up. My homepage can be found here. I finally just decided to setup Apache on my current machine since my old server that 'died' has been robbed for parts to get my current machine back up and running. There will be updates to my homepage, once I get my blog software finished and move my blog away from blogger.

Saturday, April 14, 2007

TurboGears: Gearing Up the Web

Today (Saturday, April 14th), I will be giving a presentation on TurboGears to the Chicago GNU/Linux User Group. If you would like to come to the meeting and hear my excellent presentation, the meeting is at Centro (444 N. Wells Suite 601 Chicago IL, 60610) at 3:00 pm. The other presentations for this meeting are Brewing and ZipIt Wireless Messenger. Yes, brewing does not deal first hand with GNU/Linux but what goes better with GNU/Linux than beer, ala 'Free As In Beer'.

If you would like to check out the demo code that I will be using for my presentation you can check out the code from my SVN repo:

svn co http://guido.specialkevin.com/svn/TurboGallery/TurboGallery-Demo

If you don't have/like svn you can download it here. If you would like to download my presentation slides you get them here(pdf, odp).

Hope to see you there.

[Update]
Sorry I forgot to give Nadav Samet credit for the demo code. Here wrote TurboGallery demo to show off the power of TurboGears during a presentation that he did and I really liked his example. Thanks again Nadav.

Saturday, March 31, 2007

Chicago GLUG Groups and Services

This post is to inform everyone of the various services that the Chicago GLUG has to offer. If you notice that I am missing or we should add a certain a group or service please leave a comment with a link and a brief description.

Groups and Services

Last.fm Group

Last.fm is a service that keeps track of what music you listen to, and then produces a large number of features personalised to you. So what our group does is that it combines all the track info from our members and generates charts based on our music tracks. It also generates a last.fm radio station based upon our track info. If you already have a last.fm account please join our group and tell your friends, if you don't have an account what are you waiting for.

Flickr Group

Flickr is a service that allows user to upload and host images. Our group is used to share images taken by our members at our events, screenshots and other just nerdy pictures. For example we have photos in our group from Stallman's talk and some of our meetings thanks to Jordan. If you already have a flickr account please join our group and share your photos with us. Also on a related note, if anybody has a digital camera and would be willing to take pictures at our meetings and maybe even the after-meeting hang out it would be greatly appreciated.

Facebook Group

Facebook is an English-language social networking website. It was originally developed for college and university students but has since been made available to anyone to join with an email address that connects them to a participating network, such as their high school, place of employment or geographic region. If you have a facebook account please join our group we will send out party invites for our meetings through facebook just so we can notify as many people as possible of our meetings.

Mugshot Group

Mugshot is a community software system created by Red Hat. Unlike social networking websites, it also has a desktop client component. It is meant to facilitate real-world interactions with friends, and make one's normal computer use more social. Current features include 'Web Swarm' which lets users share web links and join in conversations about them, and 'Music Radar', which displays which songs a user is listening to, and allows conversations about the song. Many features are planned, including 'TV Party'. Mugshot is free software. Most of the client code is distributed under the terms of the GNU General Public License (GPL). Various parts of the server code are distributed under the GPL, the Open Software License 3.0, the Apache License, and the MIT License, all of which are free software licences. So if you already have a mugshot account please join our group. If you need an invitation just let me know and I can send you an invite.

Google Calendar

Here is the google calendar for our group. Currently there are not that many items added to the group but we hope to fix this very shortly. This calendar is not just for our events but any events that might be interesting to our members. For instance, Ubuntu Chicago meetings, ChiPy meetings, UIC LUG meetings, Conferences in the area and other such things.

IRC
#chiglug on irc.oftc.net
#chiglug-server on irc.oftc.net

Those are our two irc channels the first one is our general channel. This is where a majority of our members hang out. Please stop by and say Hi, we won't bite. The second channel is for discussion of work being done on getting everything back running on our server. If you are interested in helping out with working on our server than please join that channel.

Chump
Chump RSS Feed

Chump is an IRC bot that pulls urls that are posted in our IRC channel and generates a website and rss feed containing the links. If you are in our IRC channel and need help working with Chump just ask someone that is in the channel.

Planet ChiGLUG
Planet ChiGLUG Feed

Planet is a blog aggregator that pulls in from blogs of local GNU/Linux enthusiast. If you would like your blog added to the planet, just send me a link to your blog and I will add it.

Mailing Lists

We currently have 2 mailing list: Announce and Discuss. The Announce list is just used to send out notification of meetings. The Discuss list is a general discussion list. Please sign up for the Announce list at a minimum it is a very low traffic mailing list and that way you will keep up with any changes that might arise to a meeting at the last minute.

Chicago GLUG Groups and Services

This post is to inform everyone of the various services that the Chicago GLUG has to offer. If you notice that I am missing or we should add a certain a group or service please leave a comment with a link and a brief description.

Groups and Services

Last.fm Group

Last.fm is a service that keeps track of what music you listen to, and then produces a large number of features personalised to you. So what our group does is that it combines all the track info from our members and generates charts based on our music tracks. It also generates a last.fm radio station based upon our track info. If you already have a last.fm account please join our group and tell your friends, if you don't have an account what are you waiting for.

Flickr Group

Flickr is a service that allows user to upload and host images. Our group is used to share images taken by our members at our events, screenshots and other just nerdy pictures. For example we have photos in our group from Stallman's talk and some of our meetings thanks to Jordan. If you already have a flickr account please join our group and share your photos with us. Also on a related note, if anybody has a digital camera and would be willing to take pictures at our meetings and maybe even the after-meeting hang out it would be greatly appreciated.

Facebook Group

Facebook is an English-language social networking website. It was originally developed for college and university students but has since been made available to anyone to join with an email address that connects them to a participating network, such as their high school, place of employment or geographic region. If you have a facebook account please join our group we will send out party invites for our meetings through facebook just so we can notifiy as many people as possible of our meetings.

Mugshot Group

Mugshot is a community software system created by Red Hat. Unlike social networking websites, it also has a desktop client component. It is meant to facilitate real-world interactions with friends, and make one's normal computer use more social. Current features include 'Web Swarm' which lets users share web links and join in conversations about them, and 'Music Radar', which displays which songs a user is listening to, and allows conversations about the song. Many features are planned, including 'TV Party'. Mugshot is free software. Most of the client code is distributed under the terms of the GNU General Public License (GPL). Various parts of the server code are distributed under the GPL, the Open Software License 3.0, the Apache License, and the MIT License, all of which are free software licences. So if you already have a mugshot account please join our group. If you need an invitation just let me know and I can send you an invite.

Google Calendar

Here is the google calendar for our group. Currently there are not that many items added to the group but we hope to fix this very shortly. This calendar is not just for our events but any events that might be interesting to our members. For instance, Ubuntu Chicago meetings, ChiPy meetings, UIC LUG meetings, Conferences in the area and other such things.

IRC
#chiglug on irc.oftc.net
#chiglug-server on irc.oftc.net

Those are our two irc channels the first one is our general channel. This is where a majority of our members hang out. Please stop by and say Hi, we won't bite. The second channel is for discussion of work being done on getting everything back running on our server. If you are interested in helping out with working on our server than please join that channel.

Chump
Chump RSS Feed

Chump is an IRC bot that pulls urls that are posted in our IRC channel and generates a website and rss feed containing the links. If you are in our IRC channel and need help working with Chump just ask someone that is in the channel.

Planet ChiGLUG
Planet ChiGLUG Feed

Planet is a blog aggregator that pulls in from blogs of local GNU/Linux enthusiest. If you would like your blog added to the planet, just send me a link to your blog and I will add it.

Mailing Lists

We currently have 2 mailing list: Announce and Discuss. The Announce list is just used to send out notification of meetings. The Discuss list is a general discussion list. Please sign up for the Announce list at a minimum it is a very low traffic mailling list and that way you will keep up with any changes that might arise to a meeting at the last minute.

A month with Epiphany

I decided that since Foresight has decided to have epiphany be the default browser I figured that I would give it try for a month and see how I like it. Today is the first day of this experiment, I have tried epiphany out before but I always find myself going back to firefox whenever I run into a problem. This time I am going to try and fix any issues that I run into. After using epiphany for a couple of hours I have generated an initial list of issues if anybody has any suggestions about fixing them they will be well appreciated.

ISSUES

  • Session Saving: This is a big thing I miss from firefox. When epiphany opens it would be nice if it could open the tabs that were previously open.
  • Have Cursor in Address Bar When New Tab Open: I would like to have the cursor be in the address bar when I open a new tab. This can be accomplished if I have the default home page be blank, but I would like to do this with a webpage set as the default home page.


If you have any solutions to these issues please leave a comment with the solution. Also if you know of any must need epiphany extensions please leave a comment with them.

Tuesday, January 30, 2007

Cooking with Conary

Tonight I had some free time between school and work, so I gave some conary love to some programs. I first upgraded rTorrent to version 0.7.1 this was in much need as the previous version was 0.6.*. If you would like to install rTorrent and run a conary based system, i.e. Foresight 1.0 just run:

UPDATE
sudo conary update --install-label specialk.rpath.org@rpl:devel update rtorrent

I also gave some needed care to Tilda, this is upgraded to 0.9.4. Some new features of this release is a cleaned up preferences screen, desktop file so it gets added to the menu. Here is a screenshot of tilda in action. I am looking for someone running compiz to help test out tilda, if you are interested just let me know in #foresight on freenode or #tilda on oftc. Just look for specialKevin in either channel. As usual if you want to install tilda and you should, just run:

UPDATE
sudo conary update --install-label specialk.rpath.org@rpl:devel update tilda

UPDATE
Sorry for the confuse for anybody trying to install tilda or rtorrent, I fixed the command to install tilda or rtorrent. You need to use the --install-label flag so it uses my repo to grab the dependencies of the main program.

Tuesday, November 14, 2006

FTP User Individuality

Ok, so I fixed the next issue with my ftp, which is upload access. This is an easy issue if you just want to give everybody and their mother upload access. However, I don't want to do this so I had to setup per-user configuration in vsftpd. Since this is built-in it is a lot easier than it sounds.


  1. Add the following line to /etc/vsftpd/vsftpd.conf:

    user_config_dir=/etc/vsftpd/vsftpd_user_conf
    anon_world_readable_only=NO


  2. Create that directory:

    mkdir /etc/vsftpd/vsftpd_user_conf

  3. Next create the users configuration:

    echo "write_enable=YES" >> /etc/vsftpd/vsftpd_user_conf/fred
    echo "anon_upload_enable=YES" >> /etc/vsftpd/vsftpd_user_conf/fred
    echo "anon_mkdir_write_enable=YES" >> /etc/vsftpd/vsftpd_user_conf/fred


I created a couple simple bash scripts that can be used add users and add upload access to users. Both scripts must be ran as root.

Script to add users to your ftp.

#!/bin/bash
# Name: addFtpUser.sh
# Description: Adds users to /etc/vsftpd/logins.txt and resets the database
# MUST BE RAN AS ROOT
# Arguments: $1=Username $2=Password
# Author: Kevin Harriss
# special.kevin@gmail.com
# Version: 0.01
if [ $# -ne 2 ]
then
echo "Username and Password needed!!!"
else
echo $1 >> /etc/vsftpd/logins.txt
echo $2 >> /etc/vsftpd/logins.txt
db_load -T -t hash -f /etc/vsftpd/logins.txt /etc/vsftpd/vsftpd_login.db
fi

Here is the bash script to add upload access to a user.

#!/bin/bash
# Name: grantFtpUpload.sh
# Description: Gives user upload access to ftp.
# MUST BE RAN AS ROOT
# Arguments: $1=Username
# Author: Kevin Harriss
# special.kevin@gmail.com
# Version: 0.01
if [ $# -ne 1 ]
then
echo "Username needed!!!"
exit
else
echo "write_enable=YES" >> /etc/vsftpd/vsftpd_user_conf/$1
echo "anon_upload_enable=YES" >> /etc/vsftpd/vsftpd_user_conf/$1
echo "anon_mkdir_write_enable=YES" >> /etc/vsftpd/vsftpd_user_conf/$1
fi

Sharing is Caring

I am so excited right now, I finally got my ftp back up and running. I run vsftpd with virtual users and this will be a guide to setting it up.


  1. Install vsftpd. On foresight just run:

    sudo conary update vsftpd

  2. Create the file with username and password (/etc/vsftpd/logins.txt). The file is an alternating list of username and passwords:

    tom
    foo

  3. Add the database file (This requires Berkeley DB program installed):

    db_load -T -t hash -f /etc/vsftpd/logins.txt /etc/vsftpd/vsftpd_login.db

  4. Fix database permissions:

    chmod 600 /etc/vsftpd/vsftpd_login.db

  5. Setup pam, Change /etc/pam.d/ftp to only contain the following lines:

    auth required /lib/security/pam_userdb.so db=/etc/vsftpd/vsftpd_login crypt=hash

    account required /lib/security/pam_userdb.so db=/etc/vsftpd/vsftpd_login crypt=hash


  6. Create virtual user:

    useradd -d /home/ftp virtual

  7. Create /etc/vsftpd/vsftpd.conf containing the following lines:

    anonymous_enable=NO
    local_enable=YES
    write_enable=NO
    anon_upload_enable=NO
    anon_mkdir_write_enable=NO
    anon_other_write_enable=NO
    chroot_local_user=YES
    guest_enable=YES
    guest_username=virtual
    listen=YES
    listen_port=21

  8. Restart vsftpd:

    sudo /etc/init.d/vsftpd restart

Anytime you add a user to /etc/vsftpd/logins.txt you have to add the database again by running:
db_load -T -t hash -f /etc/vsftpd/logins.txt /etc/vsftpd/vsftpd_login.db

If you would like an account just let me know.

Sunday, November 12, 2006

Banshee Issues No More

This past week I ran into more problems with banshee then ever before, but thanks to the great community behind banshee I got them all fixed. The first issue was that I was missing the plugins directory in ~/.gnome2/banshee I fixed that by reinstalling the base-plugin package. The next issue was that I couldn't search for a word in banshee that contained a shortcut key. For example, a search for "rancid" would search for "racid" but start playing the next song. This issue was fixed by this patch. I added the patch to banshee recipe for foresight so that is fixed. The latest issues was due to a mono upgrade. The mono runtime is not running correctly with banshee. This problem is that if banshee is compiled with mono 1.2, banshee can't import songs if its using mono 1.2 as the runtime; but if mono is mono 1.1.18 at runtime it will work fine. Also if banshee is compiled against mono 1.1.18 then it will work fine with mono 1.2 or mono 1.1.18. A fix for this problem is being worked on, in the mean time issuing this command will fix the problem:

gconftool-2 --set /apps/Banshee/IOBackend --type string systemio

Wednesday, November 08, 2006

Welcome back tilda

Well since I reinstalled foresight on my laptop and desktop I lost tilda. For those of you who don't know what tilda is go check it out. It is a drop down terminal that is raised and lowered by a key or combinations of keys, so it's like having a terminal always at your fingertips. So I decided that I would fix this problem by repackaging them, but that did not turn out as easy as I thought. Tilda would not pick up the libconfuse dependency. Thanks to mkj in #conary on freenode for helping me get this issue resolved. To fix that problem I had to add a r.Requires('confuse:devel','/usr/bin') to the recipe. Now if you run rPath Linux, foresight or the like you can install tilda with the following command:

conary update tilda=specialk.rpath.org@rpl:devel

Saturday, November 04, 2006

The rPath to Software Appliances

So today I gave my presentation on rPath/Conary to the Chicago GNU/Linux User Group. My presentation covered appliance creation, conary based system maintenance, and introduction to conary packaging. I feel my presentation went over very well, I even talked 2 people into trying out rPath Linux. Even more people were talking about using the rPath tools to create a 'free' distro, along the lines of gNewSense and Ututo. I hope I can continue to convince more to people to try out rPath Linux or better yet Foresight Linux and even help the community.

Friday, November 03, 2006

Planet Got Its Groove Back

Planet Chicago GLUG has got a brand new skin. This new skin is based on the skin from Planet Gnome. You may ask "How can I get in on this kick ass planet?" Well, here are your options:

If you have a blog: Email me with your blog feed, name, nick and hackergotchi(if you have one).

If you need a hackergotchi: Email me with your photo, and I will try to make you a hackergotchi.

If you have a hackergotchi: Email me with your hackergotchi.

Even though the new planet looks sexy there is still some work to be done:

* Change updated time from UTC to CST
* Clean up the default hackergotchi
* Change feed links to images
* Add icons to add feed to google reader and bloglines
* Create .ico
* Sign up for feedburner???

Wednesday, November 01, 2006

Feeling the Burn

I decided to try out feedburner, mainly for that fact that I wanted a way to see the statistics of my blog and blogger had no way of showing that. So with feedburner I have a new feed, so if someone could update my feed on Planet Foresight it would be greatly appreciated. Along with a new feed I have a new hackergotchi thanks to Michael, aka l0wrd. I also fixed to auto-discovery feed from blogger to point to my new feed.

Here are the steps on how to fix this:

1. Delete old auto-discovery - To do this find in the HTML of your template:
< b:include data="blog" name="all-head-content"> and change it to this
<!-- < b:include data="'blog'" name="'all-head-content'/"> -->

2. Add your auto-discovery - To do this add this to the head section of your template.

<link href="FEEDBURNER-FEED" rel="alternate" title="FEED-TITLE" type="application/rss+xml">

Next, change the FEEDBURNER-FEED and FEED-TITLE to the feed and title from feedburner.

UPDATE: Thanks to blogger, my first post didnt display the old auto-discovery correct. It should be fixed now.

Thursday, October 26, 2006

Ricer No More

First off I would like to apologize for the posting of previous post, I decided to try out the blogger beta. So, when I transferred my blog it reposted all of my previous posts.

This post may sound all to familiar to followers of the planet, since I am now the third person to drop Gentoo. Both Tristan and Jordan have posted their reasons for leaving. I am leaving Gentoo and going to Foresight Linux. I am not moving to a distro that is more "free" like Tristan and Jordan; instead I am moving to a distro that has all of the software and functionality I want out of the box. Another plus is not spending days to get my desktop setup just how I want with gnome and all the other programs that I use. The main reason I stayed with Gentoo for so long was that I wanted a distro that I could keep on the "bleeding edge" with gnome and the such. Since, Foresight's claim to fame is its bleeding edge gnome following, so this is the perfect distro for me. If you are interested in learning more about Foresight come to the next Chicago GLUG meeting on November 4th. I will be giving a presentation on rPath and Foresight.

Later all