Archive

Archive for August, 2009

Jolicloud linux looks very promising for netbook os alternative, windows api support too

August 18th, 2009 admin No comments

Just crossed over engadget and look at that pretty screenshots hit the more link:

Read more…

Categories: Desktop, Linux Tags: ,

Howto set default editor for mc in Debian 5.0 Lenny

August 18th, 2009 admin No comments

Run:

apt-get install vim-nox

and then:

update-alternatives --config editor
and select vim-nox:
evil:/tmp/# update-alternatives --config editor

There are 4 alternatives which provide `editor'.

  Selection    Alternative
-----------------------------------------------
          1    /bin/ed
*+        2    /bin/nano
          3    /usr/bin/vim.tiny
          4    /usr/bin/vim.nox

Press enter to keep the default[*], or type selection number: <-- 4
Using '/usr/bin/vim.nox' to provide 'editor'.
evil:/tmp/#

Choose the one you like most, voila.
Shoud work on ubuntu and other derivates too.

Categories: Desktop, Linux, Servers Tags: , , ,

Access denied for user ‘debian-sys-maint’@'localhost’

August 18th, 2009 admin No comments

Debian have their own way for doing things. Here is a quick fix up if mess with the mysql-maintain user.

If you end up having error like that one when restarting your mysql server:

armed:~# /etc/init.d/mysql restart
Stopping MySQL database server: mysqld failed!
Starting MySQL database server: mysqld already running.
/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'debian-sys-maint'@'localhost' (using password: YES)'

First you need to find out what is the password for your system:

armed:~# cat /etc/mysql/debian.cnf | grep pass
password = x4FStDr29DDshTFqsf

and than add the user:

GRANT ALL PRIVILEGES ON *.* TO 'debian-sys-maint'@'localhost' IDENTIFIED BY '' WITH GRANT OPTION;
Categories: Desktop, Linux, Servers Tags: , ,