Selected dyndns.com in the installation process and followed the prompts. Did not need to manually enter anything.
Enable Dynamic DNS for your domain
Login to your Namecheap control panel and enable dynamic DNS for your domain.
You’ll get a really long password string to use. Save that for now as you’ll need it later on.
$ sudo nano /etc/ddclient.conf
# namecheap.com example configuration
# the login is the domain name and password is the hash you saved in the prior step called ‘Dynamic DNS Password’.
# Configuration file for ddclient generated by debconf
use=web, web=dynamicdns.park-your-domain.com/getip, web-skip='IP Address'
When attempting to install a program thru apt-get the most frustrating moment is when the program cannot be found and what’s worst is not being able to add the package to install the program. In the past attempting to add packages by editing /etc/apt/sources.list has been unsuccessful but success has came from adding thru “apt-add-repository” command line command. Here are examples.
Where to find packages
To install cheese
# adding a line to your /etc/apt/sources.list like this:
deb http://cz.archive.ubuntu.com/ubuntu precise main universe
$ nano /etc/apt/sources.list
$ sudo apt-get update
$ sudo apt-get install cheese
I have a Dell Latitude D630 and I bought a new internal hard drive and installed windows Vista. However I could not get the computer to detect the wireless driver much less a internet connection. Here how I solved this issue.
I download software from this site ftp://ftp.dell.com/Pages/Drivers/latitude-d630.html
I’m developing an android application thru phonegap and I like to test my application in Chrome However jquery mobile was causing this error->
XMLHttpRequest cannot load file:///home/sock/Desktop/phonegap-2.7.0/lib/android/example/assets/www/js/jquery.js?_=1369249074564. Origin null is not allowed by Access-Control-Allow-Origin. jquery.js:8416
XMLHttpRequest cannot load file:///home/sock/Desktop/phonegap-2.7.0/lib/android/example/assets/www/js/jquery.mobile-1.2.0.js?_=1369249074596. Origin null is not allowed by Access-Control-Allow-Origin.
The way around this is to close all chrome browsers and run this is the command line (I’m using ubuntu)
Today I was trying to install a program using apt-get install however I kept getting this error
Do you want to continue [Y/n]? Y
Selecting previously unselected package libxmlrpc-core-c3.
(Reading database … 60%dpkg: unrecoverable fatal error, aborting:
reading files list for package ‘intltool-debian’: Input/output error
E: Sub-process /usr/bin/dpkg returned an error code (2)
after hours of research I found out that the reason for this error was the /var/lib/dpkg/status file was corrupted.
I had three options to fix this which were reinstall ubuntu operating system, edit the status files or find a backup status file. I didn’t want to reinstall my operating system so I tried the other two.
(warning: Before trying to edit any file make sure you make a back up of it)
I tried to edit the status file by looking for the package I was trying to install. However I couldn’t find it and I didn’t know what to delete. Luckly there’s dpkg status backupfiles in your system located at /var/backups. I found one that was created a month ago called dpkg.status.3.gz and extracted it and renamed the file status and put into /var/lib/dpkg directory.
Then I tried to install the program using apt-get install and it worked.