Skip to content
This repository has been archived by the owner on Jan 20, 2023. It is now read-only.

Install

wfu8 edited this page May 15, 2017 · 7 revisions

Prepare a photon VM

  1. Full install from Photon 1.0 GA iso Published publicly on Binary at https://bintray.com/artifact/download/vmware/photon/photon-1.0-13c08b6.iso

    • If you need to disable the firewall "iptables -P INPUT ACCEPT"
  2. Enable SSH for root

    • vim /etc/ssh/sshd_config
    • add or uncomment the line “PermitRootLogin yes” to allow ssh logins
    • systemctl restart sshd
  3. Make sure your Photon machine - whether for the client role or the server role - has a valid hostname

    • "hostname" should return the short name (e.g. dc01
    • "hostname -f" should return FQDN (e.g. dc01.yourdomain.com).
  4. You can set the hostname via

    • hostnamectl set-hostname dc01
    • hostnamectl set-hostname --static dc01
    • Add a line similar to: "203.0.113.1 dc01.yourdomain.com dc01" to /etc/hosts (replace with your machine's actual IP and desired hostname) The hosts file must not have any lines for "127.0.0.1" besides "127.0.0.1 localhost"
    • This is the most common reason for setup failures and is part of the Photon VM configuration. The steps below assume you've correctly configured your VM for your particular network scenario. See http://www.linuxfromscratch.org/lfs/view/systemd/chapter07/network.html

TDNF Install

This is the simplest way to install the dependencies, but will only work for released versions. Please ensure your Photon machine's network state is good (the machines can ping each others hostname and can also access outside addresses like bintray.com).

  1. First make sure your package cache is up to date.

    • tdnf makecache
  2. Server Install the server binaries.

    • tdnf install -y vmware-lightwave-server
  3. Client Install the server binaries.

    • tdnf install -y vmware-lightwave-clients

Install RPM and dependencies

If you need to manually install an sandbox or beta build that came in the form of *.rpm files, follow these steps.

  • tdnf install -y likewise-open
  • tdnf install -y apache-tomcat
  • tdnf install -y commons-daemon (Tomcat and Apache Commons are needed for server role's Java SSO components)

Download the Lightwave RPMs to current directory.

  • rpm -i *.rpm (the above will install all rpms for the client, server or developer role - see below for individual RPM install instructions)

For server:

  • rpm -i vmware-directory-client-*.rpm
  • rpm -i vmware-directory-6*.rpm
  • rpm -i vmware-dns-client-*.rpm
  • rpm -i vmware-dns-6*.rpm
  • rpm -i vmware-afd-client-*.rpm
  • rpm -i vmware-afd-6*.rpm
  • rpm -i vmware-ca-client-*.rpm
  • rpm -i vmware-ca-6*.rpm
  • rpm -i vmware-sts-client-*.rpm
  • rpm -i vmware-sts-6*.rpm
  • rpm -i vmware-ic-config-*.rpm

For client only:

  • rpm -i vmware-directory-client-*.rpm
  • rpm -i vmware-dns-client-*.rpm
  • rpm -i vmware-afd-client-*.rpm
  • rpm -i vmware-afd-6*.rpm
  • rpm -i vmware-ca-client-*.rpm
  • rpm -i vmware-sts-client-*.rpm
  • rpm -i vmware-ic-config-*.rpm
Clone this wiki locally