pear to use a proxy with PEAR, you should use $ pear config-set http_proxy http://proxypc.localdomain yum For yum to work you have to add these settings to /etc/yum.conf export http_proxy= http://192.168.65.253:8080 export ftp_proxy= http://192.168.65.253:8080 wget For wget to work add this to ~./bash_profile export http_proxy= http://192.168.65.253:8080 export ftp_proxy= http://192.168.65.253:8080 then run command source ~./bash_profile
LVM Quick Notes First: Formatting the new Disk Suppose the Disk is /dev/sdb, the second scsi disk, fdisk /dev/sdb create as many partitions as you need using command n Label them with command t as 8e for making it Linux LVM Write and Exit with the command w. Format the partitions you require using mkfs command mkfs -t ext3 -c /dev/sdb1 LVM commands pvcreate /dev/sdb1 vgextend VolGroup00 /dev/sdb1 lvextend -L 15G /dev/VolGroup00/LogVol01 ;for extending LogVol to 15GB lvextend -L+1G /dev/VolGroup00/LogVol01 ;for adding one more GB to Logical Volume LogVol01 ext2online /dev/VolGroup00/LogVol01 ;for resizing the Logical Volumes Thats it finished Extra Instructions Creating Physical Volumes for LVM Since LVM requires entire Physical Volumes to be assigned to Volume Groups, you must have a few empty partitions ready to be used by LVM. Install the OS on a few partitions and leave a bit of empty space. Use fdisk under Linux to create
MediaWiki Migration Old Server: mysqldump -u root -p wikidb > wikidb.sql tar -cvf wiki.tar wiki ;this is the wiki folder on document root New Server: create database wikidb; this is inside mysql, Note that both mysql versions should be same. grant create, select, insert, update, delete, lock tables on wikidb.* to wiki@localhost identified by 'YourPassword' ; MediaWiki Upgrade copy all the new files to wiki folder and then run php update.php from maintenance folder after updating AdminSettings.php
Comments