Se afișează postările cu eticheta Linux/Unix/Open Source. Afișați toate postările
Se afișează postările cu eticheta Linux/Unix/Open Source. Afișați toate postările

miercuri, 13 octombrie 2010

How to install grub in raid 1 patitions on Linux.

Now will show you how to install grub in raid 1 partions, for booting from each hard disk.

First we run next command:
[root@~]# grub-install

Waiting for finish first commnad, now next step:
[root@~]# grub
grub>device (hd0) /dev/sda
grub>root (hd0,0)
grub>setup (hd0)
grub>device (hd1) /dev/sdb
grub>root (hd1,0)
grub>setup (hd1)
grub>quit
[root@~]#

Now have to create conf file for grub.

[root@~]# cp /boot/grub/menu.lst.example /boot/grub/menu.lst

Now edit file:

[root@~]# vi /boot/grub/menu.lst

timeout 10
color 4
#splashimage (hd0,4)/grub/mdv-grub_splash.xpm.gz
default 0
#viewport 3 2 77 22
#shade 1
fallback 1

title linux1
kernel (hd0,0)/vmlinuz-2.6.31.5-desktop-1mnb root=/dev/md2 vga=792 resume=/dev/md1
initrd (hd0,0)/initrd-2.6.31.5-desktop-1mnb.img

title linux2
kernel (hd1,0)/vmlinuz-2.6.31.5-desktop-1mnb root=/dev/md2 vga=792 resume=/dev/md1
initrd (hd1,0)/initrd-2.6.31.5-desktop-1mnb.img

Now you have to be sure about your kernel, vmlinuz and initrd. You can find this informations in /boot

Now save file, and you can reboot you Linux sistem, and see the grub bootloader.

Enjoy.

miercuri, 26 mai 2010

How to install phpmyadmin in Centos Linux Server 5

In next how to i will show you install phpmyadmin in Centos Linux Server.

First be sure you are install dag repo or dimi.


# yum install phpmyadmin

Now have to edit /usr/share/phpmyadmin/config.inc.php

$cfg['Servers'][$i]['auth_type'] = ‘http‘; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */

Next file you have to edit is /etc/http/conf.d/phpmyadmin.conf, and change the line:

# Allow from 127.0.0.1
Allow from 192.168.1.0/24

Now change the rights for apache

# chown -R root:apache /usr/share/phpmyadmin


Restart apache:

/etc/init.d/httpd restart


And now phpmyadmin is ready to use.

http://your.domain.com/phpmyadmin

You should be find pop up for insert your user name and password.

luni, 5 noiembrie 2007

Free Open Source Software si platformele electorale

La altii se poate!
Multumita membrului fondator al Free Geek Vancouver, Partidul Verzilor din Canada (The Green Party) a devenit in mod tacit primul mare partid din Canada care a introdus sustinerea FOSS in platforma sa electorala. La fel ca si oficialii din the Green Party of England and Wales, liderul deputatilor Adriane Carr vede o compatibilitate intre miscarea FOSS si ideile "verzi".
In acelasi timp, partidul militeaza in platforma sa pentru neutralitatea internetului, cu toate ca declaratiile politice oficiale nu au mentionat aceasta in mod special.

Sursa