HP Insight Control Server Provisioning 7.3 Update 1 Administrator Guide

5. Execute the command smbpasswd -a username and enter the new samba password. The
password cannot be (null), cannot contain leading or trailing space and no " (Double quotes).
6. Make sure Samba runs after reboot with this command:
chkconfig smb on
7. Make note of the share name, username and password as you will need these when setting
up your appliance Media Server settings.
Setup HTTP access using Apache Web Server for Linux and ESXi deployments
Setup HTTP access on SUSE Linux Media Server
To setup HTTP access on a SUSE Linux Media Server:
1. Edit /etc/apache2/default-server.conf and under the definition of the document
root, add the following:
Alias /Deploy "/usr/MediaServer/Media"
<Directory "/usr/MediaServer/Media">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
Where /Deploy in the first line is the Linux HTTP server path you will need to specify when
setting up the appliance. You can use any name you want here except for the following
reserved characters: < (less than) > (greater than) : (colon) " (double quote) / (forward slash)
\ (backslash) | (vertical bar or pipe) ? (question mark) * (asterisk) [ (open square bracket) ]
(close square bracket) ; (semicolon) = (equal sign) , (comma) + (plus) & (ampersand) ~ (tilde)
? (Question mark) (null) and No leading or trailing space.
2. Start the apache2 service.
service spache2 start
Use a browser to confirm the web server is properly configured. You should be able to browse
to:
http://<ip-of-media-server>/Deploy
and see any files you have in /usr/MediaServer/Media. Note that /Deploy must match
the name you specified above.
If that works, configure the apache server to run all of the time.
chkconfig apache2 on
Populate the Media folder with the distributions you wish to serve.
Setup HTTP Access on Red Hat Linux Media Server
To setup HTTP access on a Red Hat Linux Media Server:
1. Edit /etc/httpd/conf/httpd.conf and add the following lines below the definition of
the document root:
Alias /Deploy "/usr/MediaServer/Media"
<Directory "/usr/MediaServer/Media">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
Where /Deploy in the first line is the Linux HTTP server path you will need to specify when
setting up the appliance. You can use any name you want here except for the following
reserved characters: < (less than) > (greater than) : (colon) " (double quote) / (forward slash)
Manually creating a Linux-based Media Server 21