>

Ubuntu: Installing kompoZer on 13.10

Install the dependencies: sudo apt-get install libatk1.0-0 libc6 libcairo2 libfontconfig1 libfreetype6 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk2.0-0 libidl0 libnspr4 libnss3 libpango1.0-0 libpng12-0 libstdc++6 libx11-6 libxft2 libxinerama1 libxrender1 libxt6 zlib1g Download the packages: wget -c https://launchpad.net/ubuntu/+archive/primary/+files/kompozer-data_0.8~b3.dfsg.1-0.1ubuntu2_all.deb wget -c https://launchpad.net/ubuntu/+archive/primary/+files/kompozer-dev_0.8~b3.dfsg.1-0.1ubuntu2_all.deb wget -c https://launchpad.net/ubuntu/+archive/primary/+files/kompozer_0.8~b3.dfsg.1-0.1ubuntu2_amd64.deb...
read more

Thumb Drive Backups…

Bought a 6-pack of 4GB USB thumb drives for various backups. I installed them on liminf01, liminf03, and kfserver01. Used the following commands to format and mount them, since CentOS 5.10 did not automatically mount them. I originally went with the default FAT32 filesystems, but rsync filed to create symlinks, surprise! Step 1: Identify the proper device: $ ls -al /dev/sd* brw-r----- 1 root disk 8, 0 Apr 9 17:59 /dev/sda brw-r----- 1 root disk 8, 1 Apr 9 17:59 /dev/sda1 brw-r----- 1 root disk 8, 2 Apr 9 18:00 /dev/sda2 brw-r----- 1 root disk 8, 3 Apr 9 17:59 /dev/sda3 brw-r----- 1 root disk 8, 16 Apr...
read more

Git: Revert from Uncommitted Changes

# Revert changes to modified files. git reset --hard # Remove all untracked files and directories. git clean -fd If you want to revert the changes only in current working directory, use git checkout -- .
read more

Install Latest Git on CentOS

Setup RPMForge Repository $ wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm $ rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt $ rpm -K rpmforge-release-0.5.3-1.el6.rf.*.rpm $ sudo rpm -i rpmforge-release-0.5.3-1.el6.rf.*.rpm Disable CentOS Base Repository and Enable RPMForge Extras $ cd /etc/yum.repos.d/ $ sudo vi CentOS-Base.repo Add enabled = 0 [base] name=CentOS-$releasever - Base mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os #baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/ enabled = 0...
read more

Git: Upgrading osCommerce

Change to the working directory and checkout the dev branch. $ cd ~/source/web-store $ git checkout dev Download the appropriate update file from http://www.oscommerce.com/Products and unzip it. $ cd ~/Downloads/osCommerce $ unzip oscommerce-2.3.3.2-to-2.3.3.3.zip Rename admin to lim_admin and copy the files over to the working directory. $ cd oscommerce-2.3.3.2-to-2.3.3.3 $ catalog/ $ mv admin/ lim_admin $ cp -R * ~/source/web-store/ Change back to the working directory and update the git repo. $ cd ~/source/web-store $ git add -A $ git commit -m "Updating to version 2.3.3.3" Create branch...
read more