Download and install the Oracle JDK
rpm -ivh jdk-7u80-Linux-x64.rpm
Set the Java environment variables
vi /etc/profile.d/java.sh
Add the following lines to java.sh
#!/bin/bash
JAVA_HOME=/usr/java/jdk1.7.0_80/
PATH=$JAVA_HOME/bin:$PATH
export PATH JAVA_HOME
export CLASSPATH=.
Make java.sh executable
chmod +x /etc/profile.d/java.sh
Set the variables,
source /etc/profile.d/java.sh
Friday, November 6, 2015
Thursday, November 5, 2015
Copy / Move Outlook Profile to new computer
Copy or move your PST to the new location / computer.
Account Settings, POP servers, logins and all that info is stored in the registry. Open the registry and export this key,
HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook
Import the key into the new computer.
Account Settings, POP servers, logins and all that info is stored in the registry. Open the registry and export this key,
HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook
Import the key into the new computer.
Wednesday, November 4, 2015
Ubuntu, extend LVM
- add new disk to the VM and reboot
- fdisk -l , should see the new disk, make note of its device name, ex. /dev/sdb or /dev/sda
- create a partition on the new space,
cfdisk /dev/sdb
or
fdisk /dev/sdb
- create physical volume and reboot,
pvcreate /dev/sdb
reboot
- vgdisplay to get the name of your volume group
- extend the volume group onto the new physical volume
vgextend Ubuntu-vg /dev/sdb1
- lvdisplay to get the name of our main logical volume
- extend the logical volume
lvextend -L +XXG LogicalVolumeName , where XX is the number of gigs to add
lvextend -l +100%FREE LogicalVolumeName , extends using all free space
lvextend -l +100%FREE /dev/Ubuntu-vg/root
- extend the filesystem
resize2fs /dev/ubuntu-vg/root
- fdisk -l , should see the new disk, make note of its device name, ex. /dev/sdb or /dev/sda
- create a partition on the new space,
cfdisk /dev/sdb
or
fdisk /dev/sdb
- create physical volume and reboot,
pvcreate /dev/sdb
reboot
- vgdisplay to get the name of your volume group
- extend the volume group onto the new physical volume
vgextend Ubuntu-vg /dev/sdb1
- lvdisplay to get the name of our main logical volume
- extend the logical volume
lvextend -L +XXG LogicalVolumeName , where XX is the number of gigs to add
lvextend -l +100%FREE LogicalVolumeName , extends using all free space
lvextend -l +100%FREE /dev/Ubuntu-vg/root
- extend the filesystem
resize2fs /dev/ubuntu-vg/root
Subscribe to:
Comments (Atom)