Category: Uncategorized

Uncategorized

Installing Debian backports in Debian Wheezy

Login as root and run the following commands: cd /etc/apt echo “deb http://http.debian.net/debian wheezy-backports main” > /etc/apt/sources.list.d/backport.list apt-get update gpg –keyserver pgpkeys.mit.edu –recv-key 7638D0442B90D010 gpg -a –export 7638D0442B90D010 | apt-key add – (should get the ‘OK’ as answer) Installing a single package from backports: apt-get -t wheezy-backports install {package-name}

Uncategorized

Installing Java 8.x in Debian Wheezy or Ubuntu 14.04(Trusty)

Here are the commands to install Java 8.x into Debian Wheezy via the repository and PPA. cd /etc/apt/ echo “deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main” | tee /etc/apt/sources.list.d/webupd8team-java.list echo “deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main” | tee -a /etc/apt/sources.list.d/webupd8team-java.list apt-key adv –keyserver hkp://keyserver.ubuntu.com:80 –recv-keys EEA14886 apt-get update apt-get install oracle-java8-installer

Apache, Linux, Uncategorized

Changing the URL of WordPress

Lately after a friend had develloped a new web site under (eg.)new.mywebsite.com when it needed to go live to www.mywebsite.com although the admin settings were changed and the Apache configuration as well, many links still were pointing to new.mywebsite.com. Now what to do? I searched the Net and found this great beb site which explains …