- Type fdisk -l to display the list of HDD in your system.
- Type fdisk /dev/hdb to create a partition on your second drive (in this case hdb). Select P for primary partition, 1 for Partition number and Hex Code 83 (for Linux file system). At the end type W to write the partition.
- Type mkfs.ext3 -b 4096 /dev/hdb1 to create a filesystem to that partition. Follow prompts.
- Type sudo mkdir /mnt/DataDrive to create a mounting point call DataDrive (or any other label you see fit).
- Type mount /dev/sdb1 /mnt/DataDrive to mount the DataDrive.
- Type nano /etc/clearos/flexshare.conf to edit the configuration file that controls the flexshares.
- Find the line that shows FlexshareDirCustom and change it to FlexshareDirCustom==Disk1:/mnt/DataDrive/ to make permanent the change. Press Control+X to exit nano. It will ask you if you want to save. Say Yes.
Tuesday, September 18, 2012
Add a second HDD to ClearOS
Connect to the console on ClearOS.
Saturday, September 8, 2012
Oracle Java 7 removal and re-installation
I had some problems with an update on the Oracle Java the other day; it couldn't upgrade. To solve this problem I followed these steps:
sudo rm oracle-java7-installer*
To remove the installer
sudo apt-get purge oracle-java7-installer
To purge the installer from the system
sudo add-apt-repository ppa:webupd8team/java
To re-enter the repository into the list
sudo apt-get update
To update the list
sudo apt-get install oracle-java7-installer
To download and install the package
And that was it.
Wednesday, September 5, 2012
WSUS doesn't report client status
Some times WSUS server will not report the status of client computers into the management screen. If the reset authorisation and reportnow commands don't work try the following:
- Open a command prompt
- Type in:
- net stop wuauserv
- REG DELETE "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate" /v SusClientId /f
- net start wuauserv
- wuauclt /resetauthorization /detectnow
- wuauclt /reportnow
And that's it. Clients should start reporting back after a refresh in the WSUS.
Subscribe to:
Posts (Atom)