Zentyal Server is a small business server based on Ubuntu’s LTS server version 10.04 and the ebox platform. It also has the LXDE desktop installed with Firefox web browser and PCMAN File manager. There are some things that cannot be easily manipulated with Zentyal. Certain configuration files such as the samba configuration file and others cannot be directly edited, as they are overwritten at boot by a master configuration file. These files can be modified at boot by placing scripts in designated files, but that is beyond my comprehension at this point.
This setup was done on a Virtualbox machine with one disk for the operating system and three attached virtual hard drives.
Install Zentyal Server
Input full User Name. For this I am using a test user.
Accept or input a username for the account. I have used testuser as the user account name.
Choose a password for the user account.
After a reboot, Zentyal will start with the web interface ready for login.
Login to the web interface in order to finish the configuration. Scroll down until the Office Icon shows. I am only installing the Office portion which includes the file sharing portion of the server.
Click on the Office Icon in order to select it. The ring around the Icon will turn green when selected. Click the Install button.
The installation will begin and you should see the screen below
Next, the installation will prompt you to set up the network interfaces.
I have selected standalone server, as my home router handles all DHCP assignments and I only have one server.
Next, save changes.
There were components installed during the Office setup that I won’t need, so I removed them. Click on Software management and then Zentyal Components. Click the Delete Tab
I selected the following for removal:
– VPN Service
– Zentyal Cloud Client
– Groupware (Zarafa)
– Web Server
– Mail Service
After these modules were removed, I performed a system update. Click on Software Management and then System Updates. Scroll to the bottom and check the Update all Packages box. Then click the Upgrade Button.
The upgrade will begin.
If you are wanting to test your configuration in VirtualBox prior to putting it into production, it is a good idea to install the Virtual Box Guest additions. This will allow the screen to stretch inside the Virtualbox window. Without this, it will be difficult to configure Flexraid because part of the web interface will be cut off and inaccessible. To install the guest additions, follow these steps:
1. Install dkms: From the user console type – sudo apt-get install dkms
2. Attach Vbox Guest additions to the Virtual CD Drive
3. From the PCMan File manager, Open the Guest additions as root
4. Right click and execute runasroot.sh I think or autorun.sh
I tend to like graphical interfaces for performing certain tasks. For this reason I installed synaptic and from synaptic, installed gparted.
To install synaptic package manager, type: sudo apt-get install synaptic
I then installed gparted partition manager using synaptic.
Open the Administrator Console from the Desktop
In console Type:
sudo fdisk –l
This will give a list of Disks attached to the system.
sda contains the system and swap partitions
sdb is the first disk which will be used as a dru
sdc is the second disk that will be used as a dru
sdd is the third disk which will be used for parity
Open gparted and create a primary partition on each of the disks sdb, sdc,sdd. I created these with an ext4 file system. It is not necessary at this point to provide a volume label or mount point, as this will be done in the following steps.
Next, Open the PCMan File Manager
At the bottom left, click on the folder icon. This will provide a directory tree. Navigate to media and click once on this folder in the directory tree. In the top menu, click on tools, and then open this folder as root. This will allow you to create folders and change permissions for those folders. The second screen shows the media folder opened in superuser mode.
Right click in the empty space to bring up the context menu and create folders in /media for the three disks. I used Disk1, Disk2 and Parity.
I edited the permissions for these folders and changed the username to my username, changed the group to fuse, and gave full permissions to all. This may not be necessary, but i didn’t want any problems writing to the folders from flexraid. Right Click on each folder, select properties and then the permissions tab.
Close the media folder superuser window. Navigate in the directory tree to etc and open this folder as root. Scroll down and find the file called fstab. Right click on the file and select open with leafpad.
This is the original fstab
Add the following lines to the end of fstab
/dev/sdb /media/Disk1 ext4 defaults 0 2
/dev/sdc /media/Disk2 ext4 defaults 0 2
/dev/sdd /media/Parity ext4 defaults 0 2
Save the fstab file and exit leafpad.
While the folder etc is still in superuser mode, find the file fuse.conf and open it with leafpad.
Edit the last line to remove the # symbol.
Next add the user to the fuse group.
Open the user terminal and type: sudo adduser testuser fuse
Everything up to this point was to prepare for the flexraid installation. REBOOT before continuing. This should insure that the disks are mounted in the /media folder.
Open firefox web browser, navigate to the openegg site and download the latest FlexRAID version. In this case I am using Version 2.0 release 12 revision 2. The file should be saved to /home/testuser/Downloads.
Open a user console.
Change to the download directory: cd /home/testuser/Downloads
To list the files type: ls
Make the file executable:
Type: sudo chmod +x FlexRAID-2.0-Preview12r2-Setup.bin
Run the setup file: ./FlexRAID-2.0-Preview12r2-Setup.bin
Accept the EULA
Enter path for installation folder. I used /home/testuser/.flexraid. Putting the period in front of the flexraid folder will make it hidden.
FlexRaid will then install. The prompt at the end indicates success.
Open the PCman file manager. Create some test folders and files under /media/Disk1 and /media/Disk2. These are required in order to create a snapshot raid.
Open the user console and start flexraid by typing:
The resulting screen
Give FlexRAID a minute to make sure it is started and then navigate to the installation folder in PCman file manager. Navigate to /home/testuser. In the menu, select view and then select show hidden files. The flexraid installation folder should then show up as .flexraid under the testuser folder. Open the .flexraid folder and right click on FlexRAID.html and select open with firefox web browser.
This will open the web interface as http://localhost:8080. The web interface could be accessed from another machine on the network by typing in http://ipaddress:8080 as well. Finally you should see the FlexRAID web interface.
- September 3, 2011 @ 10:05:36 [Current Revision] by xliv
- October 19, 2011 @ 02:10:55 [Autosave] by admin
- September 3, 2011 @ 10:05:16 by xliv
- September 3, 2011 @ 10:02:46 by xliv
- September 3, 2011 @ 10:02:20 by xliv
- September 3, 2011 @ 10:01:14 by xliv
- September 3, 2011 @ 09:57:02 by xliv
- September 3, 2011 @ 09:55:53 by xliv
- September 3, 2011 @ 09:54:53 by xliv
- September 3, 2011 @ 09:51:11 by xliv
- September 3, 2011 @ 09:47:10 by xliv
- September 3, 2011 @ 09:45:53 by xliv
- September 3, 2011 @ 09:43:33 by xliv
- September 3, 2011 @ 09:40:47 by xliv
- September 3, 2011 @ 09:39:42 by xliv
- September 3, 2011 @ 09:35:51 by xliv
- September 3, 2011 @ 09:35:17 by xliv