Recover root password Linux Ubuntu

Some Linux distribution, such as Ubuntu for instance, offer a specific boot menu entry where it is stated “Recovery Mode” or “Single-User Mode“. If this is your case, selecting this menu entry will boot your machine into single user mode, you can carry on with the next part. If not, you might want to read this part.

Using GRUB, you can manually edit the proposed menu entry at boot time. To do so, when GRUB is presenting the menu list (you might need to press ESC first), follow those instructions:

  • use the arrows to select the boot entry you want to modify.
  • press e to edit the entry
  • use the arrows to go to kernel line
  • press e to edit this entry
  • at the end of the line add the word single
  • press ESC to go back to the parent menu
  • press b to boot this kernel
6 May 2010 at 13:46 - Comments

Recover MySQL root Password

Step # 1 : Stop mysql service

#/etc/init.d/mysql stop
Output:

Stopping MySQL database server: mysqld.

Step # 2: Start to MySQL server w/o password:

#mysqld_safe --skip-grant-tables &
Output:

[1] 5988
Starting mysqld daemon with databases from /var/lib/mysql
mysqld_safe[6025]: started

Step # 3: Connect to mysql server using mysql client:

#mysql -u root
Output:

Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 1 to server version: 4.1.15-Debian_1-log

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql>

Step # 4: Setup new MySQL root user password

mysql> use mysql;
mysql> update user set password=PASSWORD("NEW-ROOT-PASSWORD") where User='root';
mysql> flush privileges;
mysql> quit

6 May 2010 at 13:38 - Comments

Boot Grub Ubuntu LTS 10.04 Lucid Lynx

Berikut lokasi Boot Grub pada Ubuntu LTS 10.04 Lucid Lynx

/boot/grub/grub.cfg

4 May 2010 at 14:37 - Comments
tiyo
mas caranya hapus kernel lama 10.04,udah tak remove tetep gak mau?kalo pake manual edit gmana
12 May 10 at 12:14

Nokia E-Series Secret Codes

Check software version and the release number of your device:
*#0000#

See WLAN MAC address:
*#62209526#

See Bluetooth MAC address:
*#2820#

To hard reset and restore to factory settings:
*#7370# (default lock code is 12345)

See IMEI (International Mobile Equipment Identity) number:
*#06#

Check number where calls are diverted:
*#61#

10 March 2010 at 23:33 - Comments

Setting Squid Proxy di Ubuntu

Secara sederhana untuk setting squid proxy di ubuntu sebagai berikut:

Asumsi
LAN:  eth1 dengan ip : 192.168.1.0/24
WAN: eth0 dengan ip: dari ISP

  1. Login sebagai root/sudoers
    root@proxy:#
    atau jika user sudah diset sbg sudoers
    adnan@proxy:$ sudo -s
    password: [passwd user adnan]
  2. Install squid
    #apt-get install squid
  3. Buat direktori cache1 dan cache2 untuk menyimpan cache squid
    langkah ini bisa ditiadakan jika anda menggunakan folder default dari squid
    /var/spool/squid

(more..)

22 February 2010 at 07:21 - Comments
nico
ini topologinya gimana?
28 May 10 at 16:36
walah kirain halaman pesbuk... btw makasih mas... salam persahabatan
27 July 10 at 20:05