Thursday, July 25, 2013

How to remove LVM Volume

How to remove LVM Volume

This first Boot from Linux Live CD ( I used Mint )and then check disk LVM Volume
with command

mint@mint ~ $ sudo  lvm vgscan
  Reading all physical volumes.  This may take a while...
  Found volume group "fedora" using metadata type lvm2
mint@mint ~ $ sudo lvm vgremove fedora
Do you really want to remove volume group "fedora" containing 1 logical volumes? [y/n]: y
Do you really want to remove active logical volume swap? [y/n]: y
  Logical volume "swap" successfully removed
  Volume group "fedora" successfully removed
mint@mint ~ $


  You can use manage disk by gParted tool on Next step
and more What's LVM? 

Tuesday, July 16, 2013

Install MySQL 5 and set root password

Install with yum

#Yum install mysql mysql-server 


Start Service Mysql

#service mysqld start
#chkconfig --level 235 mysqld on
#service mysqld restart


Set password root and remove anonymus user remove databases test  and reload Privilege

#mysql_secure_installation

Y only hahaha...



Fucking keyboard Lenovo Ideapad Y400

light on keyboard It's very nice first look. But OMG. after that 6 month

Shit

VirtualHost HTTP redirect to HTTPS

<VirtualHost *:80>     ServerName www.example.com     Redirect / https://www.example.com/ </VirtualHost> <VirtualHos...