blog.up-link.ro
24Mar/100

How To Reset MySQL Password

1. Stop MySQL server

# /usr/local/etc/rc.d/mysql-server stop

2. Start MySQL server  with skip grant table mode

# mysqld_safe –skip-grant-tables &
Output:
[1] 5187
# Starting mysqld daemon with databases from /var/db/mysql

3. Login as user root without password

# mysql -u root -p

Print This Post Print This Post
24Mar/100

How To Reset Keyring Password in Ubuntu

GNOME Keyring is a daemon application designed to take care of the user's security credentials, such as user names and passwords. The sensitive data is encrypted and stored in a keyring file in the users home folder. The default keyring uses the login password for encryption, so users don't need to remember yet another password.
In order to reset the password for Keyring, you will have to delete the keyring files and then start from scratch entering all your password
# rm ~/.gnome2/keyrings/*.keyring
You should be greeted by this prompt when you try

Print This Post Print This Post
24Mar/100

Google Wins European Trademark Victory

A European court ruled this week that allowing Google advertising customers to use the names of other companies as search keywords does not represent a trademark violation.

Google has not infringed on trademarks by allowing these keywords, and Google's AdWords program is protected by a European law governing Internet hosting services, according to a Tuesday decision from the European Court of Justice.

Read more directly from source.

Print This Post Print This Post
24Mar/100

Apache HTTP Server + PHP 5 + MySQL Installation in FreeBSD

1. Install Apache HTTP Server
Go to apache22 port:
# cd /usr/ports/www/apache22
and type:
# make config

Now you can choose the options from the menu.
# make install clean

To enable apache on boot, add the following line to /etc/rc.conf
apache22_enable="YES"

To start apache http server, type
# /usr/local/etc/rc.d/apache22 start

2. Install PHP 5
Go to php port:
# cd /usr/ports/lang/php5
and type:

Print This Post Print This Post