Red Hat Training: Day 3

Yum


# yum list (get the list of .rpm, which stands for RPM Package Manager)
# yum search kernel (kernel is the name of the package)
# yum install kernel
# yum update kernel
# yum remove kernel

Network


# ip addr show eth0 (eth0 is the name of the network)
# more /etc/sysconfig/network-scripts/ifcfg-eth0
# service network restart
# system-config-network
# ip route
# host visualgui.com
# dig visualgui.com

Users and Groups


# useradd donny
# passwd donny
# vipw (let’s one user edit at the same time)

Manage Files


# echo $PATH
# pwd (current path)
# ls /home/{dir1,dir2} (show more two directories)
# ln file1 file2 (link file 1 to file 2)
# ln -s file1 file2 (symbolic link)
# su – username (change user)
# cp -av /dir/to/copy /dir/destination

Permission


r (view content)
w (change the content)
x (requires r to execute the content)

rw-rw-rw-
rw-r–r–
umask 002

u+s (suid=4: file executes as the user that owns the file, not the user that ran the file
g+s (sgid=2: file executes as the group that owns the file
o+t (sticky=1: no effect)

Summary: The best day so far of the training. Picked up many useful information. Hope the next two days will be even better.

The Wedding MC

Last Saturday I came back to Lancaster to attend an old buddy’s wedding and to my surprise Phong Le was in the house. He sang, rapped and hosted the reception. He still needed tremendous improvement as a host, but he was quite entertaining as a singer/rapper.

After introducing the bride and the groom family, Phong Le along with the Jam (a local band in Philly) kicked off a dedication to the bride with his own spin on “Nail Nail Nail.” Apparently there were quite a bit of nail owners in the audience. Nail salon is still one of Vietnamese thriving businesses around Lancaster. The guys I used to hang out with are now in the nail industry. Although the song is meant to be positive, it has become some sort of a joke. One can tell the crowd was not too pleased.

Then Phong Le rapped one of his signature tunes “Ghe Map” (Fat Chicks). A quick glance around the room, there were a handful of fat girls in the audience and they weren’t impressed either. I was surprised that no Heineken bottle was flying his way. Lancaster girls were on their best behavior.

Although Phong Le’s rap has yet to impress me, what I really liked about him was that he gave his all. His presence had made my buddy’s wedding very special. I appreciate and thank him for that. I also respect him for the fact that he was not one of those singers who think they are too good to sing at wedding. Fuck them!

Red Hat Training: Day 2

Introduced to Bash

Commands entered at the shell prompt have three basic parts:


# chmod +x gedit demo.txt
[command] [options] [arguments]

Command lines:


# pwd (path you’re currently in)
# history
//Using the tab key (“tab” “tab”) for completion
# scp filename user@ip-address:/ (copy file from local folder to virtual server)

Introduced to managing physical storage using the graphical interface
Learned to manage logical volumes
Introduced to monitoring system resources

Summary: Even though the topics were interesting, they aren’t related to my job.

Graphic Design Reading List

From the very early days of my career, graphic design has always been my source of inspiration for my web design. I also decided from the beginning that I wanted to focus on the web rather than print, but I had learned how to take print design elements and transform them into the web. Whenever I get a chance, I would pick up graphic design books to fuel my creativities. Here are some recent books I found in George Mason library:

More Graphic Simplicity: This is not a book to be read, but to be inspired. I am in awed with the beauty of simplicity showcased in the book.

Typography Essentials: 100 Design Principles for Working with Type: A short, concise collection of user tips when dealing with typography, especially as types are increasingly popular for the web.

The Elements of Graphic Design (Second Edition): The layout of the book, which featured texts and examples around the main content, is a huge distraction. I have to mentally blocking out all of that noise in order just to focus on the primary texts. There are some great points on simplicity that I would like to jot down for future references:

Dynamic white space plus abstraction, the process of removing unnecessary details, are essential to sophisticated design (preface)

Visual simplicity eliminates unnecessary elements and structures those that remain in a logical, consistent system. Good design reduces the effort of reading as much as possible, thereby encouraging readership and uderstanding (page 3)

Again, the designer’s job is not to fill in all the space. It is to make information accessible and appealing. The best use of the page’s empty space is to help make information scannable, not to make the pages pretty. The point is to increase the page’s absorbability. (page 5)

The pauses between songs on a record show content the way white space does. Space attracts readers by making the page look accessible, unthreatening, and manageable. Leaving too little white space makes a page look crowded – good only if that’s the point you want to make. Leaving too much white space is almost impossible. I say “almost” because you will get groans of disapproval if you toss around chunks of unused white space, that is, emptiness purely for its own sake, rather than for the sake of the message. Readers are far less likely to notice or object to too much white space than to an unreadable, crowded page. (page 13)

Red Hat Training: Day 1

Covered:
Installing Red Hat 6, which took almost half a day.
Using GNOME graphical desktop.
Editing files with gedit.
Managing files with Nautilus.
Getting help with manuals (F1 for help)
Managing system clock.
Configuring printers.

Command Lines:


uname -r (find out what version of Red Hat)
$ su – (log in as substitute user)
# useradd visitor (add username “visitor”)
# passwd visitor (add password to “visitor”)
# ip addr show eth0 (show ip address)
# ls /usr/share/doc (documentations)
# man man (access manual)
# man -k print (-k is for keyword)

Summary: The first day is a very basic introduction to Linux. Installation process took half of a day.

Move

Listening to Miles Davis’s “Move” and it fits perfect with my state of mind at the moment at work. I have finally moved sites off the server that is hosting the Law School web site. Now it’s one dedicated server dedicated to just the Law site. Everything else such as student organizations, blogs and faculty sites are residing on another dedicated server.

I set up three different networks using WordPress multisite feature. One for the faculty. One for student organizations . One for the blogs. I moved the Library & Technology Blog yesterday using the export and import feature in WordPress and the process took me two seconds. WordPress rocks once again.

In the future, anyone from the school or library request a web site for a faculty, organization or, blog, I can just add a new WordPress site instantly. They can go with the default template or create their own.

I am so glad that I could make the move with the support of my supervisor. It’s definitely a peace of mind to have the main site on its own.

Strength

Strength is a motivational message written by Jennifer Karin. I discovered this hidden treasure when I redesigned her personal web site. The message was put together as an image, which I didn’t find it to be usable. Last night I whipped together an HTML page. I also wanted the message to be passed around through mobile devices as well. My main focus is on the message; therefore, I chose Calluna, courtesy of TypeKit and used colors for the emphasis. So read it, remember it, feel it, embrace it and share it.

ASM-Aetna Blog Nominated for Connecticut’s Top Blog of 2012

ASM-Aetna Blog, a project I had involved as a developer, has been nominated for Connecticut’s Top Blog of 2012 in the following categories: Best Overall Blog, Best Health Blog and Best Business Blog. Congratulations to the ASM-Aetna team.

More Eating Out

With last week’s three-day conference, I started eating out again. Check out the stack of Hoban’s Burger at James Hoban’s in Dupont Circle I had last week. The burger was pretty wicked.

On Monday I drove to Eden and had a plate of rice filled with roast duck, roast pig and BBQ pork at Cho Cu Sai Gon. Yesterday went back to Viet Royal for Sautéed Lobster in Shell with Salt & Pepper. I am now addicted to that dish. I think I can have it once week until I get tired of eating it.

Dana came over today to try out the burger at Wiinkys. We shared a double bacon burger and eight wings. Pretty good lunch, indeed. Now I need to get back to jogging as well, but that hasn’t happened. I had to take off my wedding ring because my finger is getting way too fat.

A friend’s wedding is coming up this weekend and then I’ll be heading to the Red Hat training all next week. It’s going to be more food and less jogging.

I Love Ngoc Lan Redesigned

My initial intention for I Love Ngoc Lan was to bring the markups and CSS up to date and to make the layout responsive, but then I ended up with a redesign. The new layout has only one column because I wanted to focus on readability. Once users get past the homepage, which features a large banner, everything else is just clean text. The navigation has moved to the bottom instead on the right column to put the emphasis on readability.

The new design is responsive with mobile-first approach. The markup is based on HTML5 Boilerplate and dashes of CSS3 fanciness. I Love Ngoc Lan had been powered by WordPress since 2003. At the time, I didn’t know how the site would turned out and I used WordPress simply because it was the easiest solution. Now the site has grown into a very nice community and I am so glad that I picked WordPress. It has proven to be the perfect choice.

Contact