This repository has been archived by the owner on Jan 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 99
Install
Sriram Nambakam edited this page Dec 11, 2017
·
7 revisions
-
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"
-
Enable SSH for root
- vim /etc/ssh/sshd_config
- add or uncomment the line “PermitRootLogin yes” to allow ssh logins
- systemctl restart sshd
-
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).
-
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
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).
-
First make sure your package cache is up to date.
- tdnf makecache
-
Server Install the server binaries.
- tdnf install -y lightwave
-
Client Install the client binaries.
- tdnf install -y lightwave-client