Spacewalk server is deployed and functional. 😎
Some general tips are add the hostname and Ip to the /etc/hosts file on your Virtualization host machine. I also wanted to access my Spacewalk GUI via web browser on my Windows Desktop; since installing a web browser on your server is counter intuitive. In order to accomplish this both machines have to be on the same network and you can edit your host file in Windows using notepad. Run as Admin and add your VM to c:\windows\system32\drivers\etc\hosts.
Spinning up the VM: I used 2 Vcpu cores and 3 GiB of RAM. I allocated 50 GiB of storage. I would say these are a minimum to deploy this server.
When installing the OS for your Spacewalk server, keep in mind it is essentially a database server. I used the following custom partitioning to accomplish a successful deployment because postgresql needs at least 15 GiB of space.
Follow the install process found on Github: https://github.com/spacewalkproject/spacewalk/wiki/HowToInstall
For the firewall section i used the following:
firewall-cmd --permanent --add-port=69/udp
firewall-cmd --add-service=http
firewall-cmd --add-service=https
firewall-cmd --runtime-to-perm
firewall-cmd --reload
Keep in mind you can also run LDAP and other services. Configure your firewall ports as needed. After a lengthy process I finally had a web login. I will now bask in my glory and continue future projects of adding repositories, creating channels, and trying to PXE boot an Nginx web server using Cobbler. Have a great weekend all!
Some general tips are add the hostname and Ip to the /etc/hosts file on your Virtualization host machine. I also wanted to access my Spacewalk GUI via web browser on my Windows Desktop; since installing a web browser on your server is counter intuitive. In order to accomplish this both machines have to be on the same network and you can edit your host file in Windows using notepad. Run as Admin and add your VM to c:\windows\system32\drivers\etc\hosts.
Spinning up the VM: I used 2 Vcpu cores and 3 GiB of RAM. I allocated 50 GiB of storage. I would say these are a minimum to deploy this server.
When installing the OS for your Spacewalk server, keep in mind it is essentially a database server. I used the following custom partitioning to accomplish a successful deployment because postgresql needs at least 15 GiB of space.
Follow the install process found on Github: https://github.com/spacewalkproject/spacewalk/wiki/HowToInstall
For the firewall section i used the following:
firewall-cmd --permanent --add-port=69/udp
firewall-cmd --add-service=http
firewall-cmd --add-service=https
firewall-cmd --runtime-to-perm
firewall-cmd --reload
Keep in mind you can also run LDAP and other services. Configure your firewall ports as needed. After a lengthy process I finally had a web login. I will now bask in my glory and continue future projects of adding repositories, creating channels, and trying to PXE boot an Nginx web server using Cobbler. Have a great weekend all!
Comments
Post a Comment