New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Redhat installation instructions #448
Comments
A good start to learn generals about RPM can be found by reading through the Fedora wiki. Recommended good packaging of Perl modules and applications is described in the guidelines. In particular, CPAN or perl dependencies in general are possible to be handled magically by rpm command with Requires: perl($module) |
It seems some dependencies are not available in Fedora 27:
Backend is not generated. |
@rapgro thank you for looking at this issue. We really appreciate if someone gave us a hand. Those packages can be installed from source if they are not available in RPM format. Then install all the missing dependencies:
|
So, following the call for help by @rapgro on IRC, I've worked on this last night. All the missing Perl The Ravada package itself is packaged as well albeit it would need an expert eye, I followed the install script for Debian as a starting base but I'd like someone to beta test it as I don't know anythinq about virtualisation myself. The SPEC can be reviewed here: https://github.com/eclipseo/packaging/blob/master/ravada.spec For the testing itself, @rapgro if you could help this would be great: I have set up a COPR with the packages here: https://copr.fedorainfracloud.org/coprs/eclipseo/ravada/ I just need to know if the program is working as intended. Especially I am not sure of the runtime dependencies, like do I need to depend om mysql, libvirt, qemu-kvm or should I assume the user need to install the virtualisation tools themself. |
@eclipseo thank you very much for your work. I am going to install a Fedora today to check it out.
The Debian (Ubuntu) package has de dependencies for libvirt, qemu-kvm and all the other packages. So an inexperienced user can have Ravada running easily on a fresh Ubuntu server install. |
I just tried to install Ravada inside a virtual Fedora 25 but failed. Redhat is not my cup of coffe so I may have missed something. This is what I tried:
I then searched for the failed to synchronize error, and I set a proxy for dnf but it did the same. I checked in the proxy it was trying to connect outside. |
I did not build the package for F25, only F26→Rawhide. |
Try again, it should be available to F25 now. |
It is great to get help on this topic way ahead our plan. So I am trying my best, but my RPM skills are a little rusty. On Fedora 25 I found a couple of missing packages, that I installed. It looks the rpms built by @eclipseo are there but somehow weren't download automatically. These were:
I also had to install perl-DBD-MySQL. Then I installed MySQL, created the database. I noticed the rvd_back.pl and rvd_front.pl scripts are swapped. I mean: the rvd_back.pl file in the source is called rvd_front.pl here. Anyway I launched them in reverse order and it worked. I am not sure where this rpm comes from, but the correct daemons are:
I also had problems running the front ( back ), it returned this, but it worked on retrying.
Then I had to link the kvm binary to qemu-kvm. This may be fixed in more recent fedoras. The Ravada release it is a little old ravada, so the virtual machine failed to start because the machine definition was forced to ubuntu, but I fixed it manually and it started. Anyway this is a great starting point. I was a little disapointed some time ago when I first tried to convert the debian package with alien because there are a lot of missing perl packages in RedHat. But @eclipseo built them all. I think with some extra work we can have a RPM package and a manual soon. |
Fedora 25 will be EOL shortly (at around the coming turn of the year), the recommendation is therefore to not invest that much time in legacy but better do more testing with Fedora 26 and newer, although some packages as well for EPEL7 (additional repository for RHEL7 and CentOS7) can be an option. Originally, I promised to do some testing and look into the requested package reviews for the missing dependencies while the weekend. Now it turns out that I'll travel a lot, so can't promise anything.
This can be fixed in the templates, as we discussed in IRC, maybe with a Fedora specific patch included in the package.
Please forget about alien for official packages. I'm happy to see the great work of @eclipseo , too. |
Status update: The package has been approved and I've just finished building on F26 to F28: https://koji.fedoraproject.org/koji/packageinfo?packageID=26311 @rapgro also requested it to be built for EPEL7, sadly a few dependencies are missing, I filed bugs to request EPEL7 builds for them: perl(Locale::Maketext::Lexicon) https://bugzilla.redhat.com/show_bug.cgi?id=1542721 I also need to build my own Perl packages on EPEL7, hopefully there won't be any missing dependencier for them. |
Ravada is finally available in Fedora 26 and 27! For EPEL, I'm still waiting on dependencies to be built by their busy maintainers, but I'm fairly optimistic that it will be available too. |
There is also a tweet from fedorausers. @eclipseo I'd love to thank you in a tweet if you let me know your twitter name. |
Sorry, I don't use any social media. |
@eclipseo Is there a way to install all at once or I must install it one by one? |
Are you sure you don't already have those deps installed? For example on my system, it doesn't install libvirt, qemu or mariadb because I already have those:
What deps are you expecting that aren't installed exactly? |
@eclipseo I'm trying this on a fresh fedora 27 system. |
@elodin1 Sorry for the lack of response, I did not get notified of your comment. This should have been fixed in Release 0.2.13 back early March. I got help from a user to fix errors in packaging. Anyway, the good news today is that I managed to get all dependencies and built Ravada on EPEL7. It should be in testing for the next two weeks before it hits stable. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-8109ac4a9b |
@eclipseo Great job for EPEL7! Thanks a lot for all your work. |
@eclipseo @frankiejol I've tryed again now and no problem at all. Thank you. |
well, I'm waiting for my new M.2 disk, after arrived I could install CentOS7 and test more deeply. Please standby. |
Ravada could work with qt5-virt-viewer in Fedora client. I'm still investigating, mostly keyboard support needs improvement. There should be a note in the help page for remote viewer about qt5-virt-viewer from qt-virt-manager project. |
Add a new doc for install Ravada on Redhat and similar distributions:
The text was updated successfully, but these errors were encountered: