posted for future reference.
Showing posts with label debian. Show all posts
Showing posts with label debian. Show all posts
Thursday, May 05, 2011
updating from 5.0 lenny to 6.0 squeeze
http://www.howtoforge.com/how-to-upgrade-debian-lenny-debian-5.0-to-squeeze-debian-6.0-on-xen-vps
apt-get failed (debian)
http://serverfault.com/questions/163891/apt-get-update-fails-on-debian-etch
updating debian source.list
add another entries:
deb http://archive.debian.org/debian/ etch main contrib
now updating & waiting to see update status. :)
Tuesday, May 03, 2011
4gb seg fixup on debian
linux02:~# apt-get install libc6-xen
Then reboot.. message gone! :)
trying this on debian.
Updates:
after install libc6-xen successfully, you need to fire:
echo 'hwcap 0 nosegneg' > /etc/ld.so.conf.d/libc6-xen.conf && ldconfig
another debian problems solved.
iptables problem with debian on xen
module-init-tools
the error
stats:/etc/snmp# iptables -L -v
Note: /etc/modules.conf is more recent than /lib/modules/2.6.18-8.1.15.el5xen/modules.dep
modprobe: QM_MODULES: Function not implemented
modprobe: QM_MODULES: Function not implemented
modprobe: Can't locate module ip_tables
iptables v1.3.6: can't initialize iptables table `filter': iptables who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
Note: /etc/modules.conf is more recent than /lib/modules/2.6.18-8.1.15.el5xen/modules.dep
modprobe: QM_MODULES: Function not implemented
modprobe: QM_MODULES: Function not implemented
modprobe: Can't locate module ip_tables
iptables v1.3.6: can't initialize iptables table `filter': iptables who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
sh-2.05b# depmod depmod: QM_MODULES: Function not implemented
Solution
install apache on debian
http://techpatterns.com/forums/about390.html
And that's it, it will be running.
You may need to issue this command as root to get it started:
then visit:
apt-get update
# install mysql first so it's running so apache sees it.
apt-get install mysql-server-5.0
# for basic installs, unless you know why you do otherwise, use this apache
apt-get install apache2-mpm-prefork
# add php5-pgsql if you're going to run postgre
apt-get install libapache2-mod-php5 php5-mysql
# install mysql first so it's running so apache sees it.
apt-get install mysql-server-5.0
# for basic installs, unless you know why you do otherwise, use this apache
apt-get install apache2-mpm-prefork
# add php5-pgsql if you're going to run postgre
apt-get install libapache2-mod-php5 php5-mysql
And that's it, it will be running.
You may need to issue this command as root to get it started:
:: Code ::
apache2 -k restartthen visit:
:: Code ::
http://localhost/switched to debian
since centos not able to support ipv6 correctly with ip6tables now i'm using debian. :)
Search accross and found:
Now updating my packages :)
first error:
apt-get update
Failed to fetch blabla.. file not foundThe file you are looking for is /etc/apt/sources.list.
Chances are your host is using one of the older XEN templates which had bad repo URLs.
Try my list: (Credits to John T)
deb http://security.debian.org/ lenny/updates main contrib non-free deb http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free deb http://ftp.us.debian.org/debian/ lenny main deb-src http://ftp.us.debian.org/debian/ lenny main deb-src http://security.debian.org/ lenny/updates main deb-src http://volatile.debian.org/debian-volatile lenny/volatile main
Sunday, May 09, 2010
Ubuntu - Run gedit using root
to run gedit in root mode, press Alt+F2 and type gksudo gedit
to browse file in root, also press Alt+F2 and type gksudo nautilus
Thursday, April 29, 2010
Installing git on Ubuntu
after several days wondering how to upgrade git on ubuntu (to test Chromium OS) this is my solution.
$ sudo apt-get build-dep git-core git-doc
$ wget http://kernel.org/pub/software/scm/git/git-1.7.0.6.tar.bz2
$ tar -xvjf git-1.7.0.6.tar.bz2
$ cd git-1.7.0.6/
$ make prefix=/usr/local all doc
$ sudo make prefix=/usr/local install install-doc
$ which git
/usr/local/bin/git
$ git --version
git version 1.7.0.6
doc is optional.
now i proceed to chromium install :)
Subscribe to:
Posts (Atom)