Showing posts with label debian. Show all posts
Showing posts with label debian. Show all posts

Wednesday, October 3, 2012

debian NO_PUBKEY 1C4CBDCDCD2EFD2A

Error:
GPG error: Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 1C4CBDCDCD2EFD2A

Solution:
gpg -a --output /tmp/pub.asc --export 1C4CBDCDCD2EFD2A sudo apt-key add /tmp/pub.asc && rm /tmp/pub.asc

Wednesday, March 2, 2011

Boot debian directly to terminal mode

remove gui on startup

update-rc.d -f gdm remove

then you can start gui, gnome desktop with command


startx

reset, make gui on startup


update-rc.d -f gdm defaults


note, you need to use "gdm3" for debian squeeze

Tuesday, March 1, 2011

windows 7 partition is gone, after installing debian

try this first

sudo update-grub

how to install dual-boot with debian and windows 7

first thing you need to do is to free up some disk space, in windows 7, you can use the new "shrink volume" feature from windows 7 in disk management.

after that, use debian installation cd to boot, and you can use that free space you created from windows 7 to install debian

Monday, February 21, 2011

best debian dedicated server provider

what is the best debian dedicated server provider?

i am currently using serverbeach, but ever since peer1 bought this company, i find that they have stopped upgrading their hardware lineup for quite sometime. ie, they intel core i series never enter to their processor list.

can any one suggest any company that provides better service than serverbeach?

thanks everyone.


a debian fan (for whatever reason)

Saturday, February 19, 2011

debian disable services at startup

sudo update-rc.d -f exim4 remove

debian enable services in startup

sudo update-rc.d exim4 defaults

debian install bigmem kernel

The Bigmem Kernel

sudo apt-get install linux-image-2.6-686-bigmem


Configuring Grub


grep "Debian GNU" /boot/grub/menu.lst | nl -v0
0 title Debian GNU/Linux, kernel 2.6.18-5-k7
1 title Debian GNU/Linux, kernel 2.6.18-5-k7 (single-user mode)
2 title Debian GNU/Linux, kernel 2.6.18-5-686-bigmem
3 title Debian GNU/Linux, kernel 2.6.18-5-686-bigmem (single-user mode)
4 title Debian GNU/Linux, kernel 2.6.18-4-k7
5 title Debian GNU/Linux, kernel 2.6.18-4-k7 (single-user mode)


1. So what is the current default entry?

sudo grep ^default /boot/grub/menu.lst
default 0

2. sudo vim /boot/grub/menu.lst

debian show exim4 version number

aptitude show exim4

Friday, February 18, 2011

debian restore server configs

sudo rm /etc/apache2/sites-enabled/000-default
sudo cp apache2.conf /etc/apache2/apache2.conf
sudo cp hosts.conf /etc/apache2/sites-enabled
sudo cp my.cnf /etc/mysql/my.cnf
sudo cp php.ini /etc/php5/apache2/php.ini

debian backup server configs

cp /etc/apache2/apache2.conf ./apache2.conf
cp /etc/apache2/sites-enabled/hosts.conf
cp /etc/mysql/my.cnf ./my.cnf
cp /etc/php5/apache2/php.ini ./php.ini

Thursday, February 17, 2011

install magento on debian apt-get install way

sudo apt-get install apache2 mysql-server php5 php5-mysql php-soap php5-mcrypt php5-curl php5-gd

GPG error on update -- public key not available

error:

W: GPG error: http://deb.opera.com stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A2019EA84E7532C8


reason:

pubkey expired for opera


where to look for:

sudo apt-key list

solution:

sudo apt-key del 9D1A0061
wget -O - http://deb.opera.com/archive.key | sudo apt-key add -

W: GPG error apt-get update NO_PUBKEY AED4B06F473041FA

error message:

http://security.debian.org lenny/updates Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY AED4B06F473041FA

reason:

as it turns out this is because GPG key expired

This key rollover is a normal maintenance task and was started in August 2010. For security reasons Debian’s archive signing keys regularly expire after three years.

solution:
update the keys by

sudo aptitude install debian-archive-keyring