Using installation script based off YUM on ubuntu 20.04 - cpanel

After countless hours of trying alternatives I've ran out of ideas..
I'm trying to install the Acronis Backup Plugin for CPanel & WHM on Ubuntu 20.04 from this https://applications.cpanel.net/listings/view/Acronis-Backup-plugin-for-WHM-cPanel
However, even after following their own documentation by running this code:
sh <(curl -L https://download.acronis.com/ci/cpanel/stable/install_acronis_cpanel.sh || wget -O -https://download.acronis.com/ci/cpanel/stable/install_acronis_cpanel.sh)
Problem is, the script uses yum install as ive read through the lines of the install_acronis_cpanel.sh
Now my question is, how can I get around this and install this package on ubuntu, because they say there is compatibility for 20.04 if I use RPM but even RPM throws an error of "package not found" when trying to install.
Thanks!

Related

How to download it without pip2

I tried to download the cuckoo on windows, While I got the error 'pip2 install -U cuckoo'.
The default version of pip on my windows system is for python3.
I tried to download python27, and went to the folder, try to pip install. I still failed
It is a little trick.
First, you do need to download the python27 and go to the python27 directory.
Then, you need to download pip2 (https://bootstrap.pypa.io/2.6/get-pip.py), use this command: curl https://bootstrap.pypa.io/2.6/get-pip.py -o get-pip.py
Then python.exe get-pip.py
Now, it still does not work if you just type pip2 install ..
You should use python.exe -m pip install -U cuckoo. (download package under the version of this directory).
After you download the WSL for ubuntu 16.04. You will meet an error the next time you reboot your PC. It is like registerDistribution error. You just need to uninstall all anti-virus software. For me, it is the McAfee. After you uninstall it, reboot your pc. You will find it works normally.
The reference is https://www.youtube.com/watch?v=nLGJHgv6uWA.

Not able to install mod_perl module on the server

In my site I am getting an error : an error occurred while processing this directive
It was working fine before moving to the new server. So when I checked I found that mod_perl module is missing. So I tried to install it by downloading the module to the server and then tried to run using Perl Makefile.pl but it was asking for apache src and I was not able to find it. I can see /usr/bin/apache/ folder but no source file inside the folder.
So I tried to install the module from Cpanel but I got the following error:
The C compiler is not functional and auto repair failed. Perl module installs require a working C compiler. Please repair the C compiler and try again.
Please let me know how to install it as I have tried most of the cases searching the net.
Thanks in advance
It's probably best to use your distro's packaging system to install mod_perl, especially, if apache is installed from a package too.
Yum based systems:
yum install mod_perl
Deb based systems
apt-get install mod_perl
you may need to enable the module using a2enmod
Mostly gcc is either corrupted or not present on your system. Please try to re/install gcc on your system
sudo apt-get update
sudo apt-get install build-essential
On Redhat:
yum update
yum install devtoolset-2-toolchain
It seems like a problem with your installation of gcc. You're using CloudLinux, so you should use yum to reinstall gcc.
$ sudo -i yum install gcc
But you don't need gcc if you install the pre-build packages.
$ sudo -i yum install mod_perl
Either way, you're going to need to get to grips with package installation for your system - and for that you're going to need root access.

Launching latest version of MonoDevelop on Ubuntu 14.04 LTS

I installed MonoDevelop using following commands:
sudo add-apt-repository ppa:ermshiperete/monodevelop
sudo apt-get update
sudo apt-get install monodevelop-current
because I wanted latest version.
sudo apt-get install monodevelop
results in installing 4.x version which I wasn't interested in.
Now I can launch application via terminal using:
/opt/monodevelop/bin/monodevelop-launcher.sh
but "monodevelop" command results in following information:
The program 'monodevelop' is currently not installed. You can install it by typing:
sudo apt-get install monodevelop
and creating monodevelop.desktop file doesn't result in having program icon in launcher. Any ideas what I should do to be able to run MonoDevelop using "monodevelop" command?
I installed MonoDevelop using following commands:
sudo add-apt-repository ppa:ermshiperete/monodevelop
Do you realize that when adding a repository, you're trusting this user (what he decides to package in his repository), and that the version you get is the one that he himself alone decided to package?
I recommend you to add the repository of the official developers/packagers instead. Follow the instructions here (but uninstall any old packages first).

How to check LAMP is installed or not?

I am newbie in vps. I installed centos 6.5 64bit. one hour ago and installed Apache, php, mysql successfully. now I have to install phpmyadmin. It requires something called LAMP. I don't know if LAMP is already installed by default with centos or I have to manually install it. What is the ssh command to check it if LAMP installed or just answer yes or no.
UPDATE:
[understood]
That blogger confused me by separating LAMP with comma.
If LAMP was correctly installed, i.e., PATH is already set for php,mysql and apache2, then run following commands from terminal:-
php -v // Return PHP version
apache2 -v // Returns apache version
mysql --version // Returns mysql version
if all of the above command returns their respective versions, then it means LAMP is installed.
BUT if it doesn't then there might be two cases:-
1) LAMP might be installed but is not added to path.
2) LAMP is not installed, Install it.
As for the first case, if it is installed but not runnable from terminal, then just run following commands to see where LAMP components are installed:-
1) Find file with name "apache2" in your pc. It will return list of path where a file name called "apache2" exists. You can then cross examine it further.
sudo find / -name apache2
2) Run the above same command to find file "mysql" and follow the same procedure further.
sudo find / -name mysql
3) For PHP:-
sudo find / -name php
LAMP stands for Linux, apache, Mysql, PHP, if you've installed apache, mysql and PHP correctly on a linux system you have LAMP already set up.
If you want to check whether the above mentioned dependecies are installed or not
To check whether php is installed or not
php5 -v
For Apchae
/usr/sbin/apache2 -V
If any of the mentioned dependencies are not install and you want to install the LAMP use the following command,
sudo apt-get install lamp-server^

Zorba Installation

How to install Zorba in Ubuntu 12.04? When adding repository {using this command: sudo add-apt-repository ppa:juan457/zorba} , getting error
"Err http://ppa.launchpad.net precise/main Sources 404 Not Found".
can u suggest me how to clear this issue.
The most recent Zorba release (2.2) came out before Ubuntu 12.04 Precise Pangolin, so we didn't build packages for that Ubuntu version.
The next Zorba release (2.5) will be out within the next couple of days, so we will be updating the PPA binaries, including for Ubuntu 12.04.
You may be able to use the Ubuntu 11.10 Oneiric Ocelot packages in Ubuntu 12.04 by adding the following line to /etc/apt/sources.list:
deb http://ppa.launchpad.net/juan457/zorba/ubuntu oneiric main
and then doing "sudo apt-get update; sudo apt-get install zorba". However I can't swear that will work; it's possible some dependent libraries will be different between the two Ubuntu releases.