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

Tuesday, May 03, 2011

4gb seg fixup on debian

linux02:~# apt-get install libc6-xen

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

Then reboot.. message gone! :)
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.

sh-2.05b# depmod depmod: QM_MODULES: Function not implemented 

Solution
apt-get install module-init-tools
done!
ref: http://forum.lxcenter.org/index.php?t=msg&goto=56813&

install apache on debian

http://techpatterns.com/forums/about390.html

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

And that's it, it will be running.

You may need to issue this command as root to get it started:
:: Code ::
apache2 -k restart

then visit:
:: Code ::
http://localhost/

switched to debian

since centos not able to support ipv6 correctly with ip6tables now i'm using debian. :)

first error:
apt-get update

Failed to fetch blabla.. file not found
Search accross and found:

The 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
Now updating my packages :)

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 :)
Related Posts Plugin for WordPress, Blogger...