I am behind proxy and I am trying to install mono by executing the following command on Ubuntu server 14.04 LTS for dotnet development. I am getting into error "gpg: keyserver receive failed: keyserver error". I searched and tried several suggestions but it's not helping.
Is there a way to download this outside proxy and install this offline on my server?
ellismg#linux:~$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
ellismg#linux:~$ echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
ellismg#linux:~$ sudo apt-get update
ellismg#linux:~$ sudo apt-get install mono-devel
Looks like it fails getting the gpg key.
Instead of the first command you can just open https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF in a browser and copy the key into a file. Then run "sudo apt-key add file.gpg"
sudo <command> didn't work but it worked when I logged in as root.
This is still not the complete solution as root login is not available to all.
Related
I am currently required to setup the new server running php7.2 and the server will have many background process for sending emails to customer. the recommendation I got was to use Gearman Job Server.
I have been searching but seems to have only post about gearman-job-server with php5 and below.
The process of installing Gearman Job Server with php7 will be covered in like 4 steps
Install and update the Gearman PPA
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:gearman-developers/ppa
sudo apt-get update
Install Gearman Job Server and some other required components and tools
sudo apt-get install gearman-job-server libgearman-dev php7.0-dev php-pear wget unzip re2c
sudo apt-get upgrade
Download, compile the gearman pecl module and add to php.ini
cd /tmp/
sudo wget https://github.com/wcgallego/pecl-gearman/archive/master.zip
unzip master.zip
cd pecl-gearman-master
sudo phpize
./configure
sudo make
sudo make install
echo "extension=gearman.so" | sudo tee /etc/php/7.0/mods-available/gearman.ini
sudo phpenmod -v ALL -s ALL gearman
Restart webserver or PHP FPM
sudo service php7.0-fpm restart
sudo service apache2 restart
If you are running a different version of PHP make sure you make the appropriate changes to the commands or directories mentioned above. ie “/etc/php/7.0/” to “/etc/php/7.1/” etc.
Thanks to techearl.com for their tutorial which can be found
Here
The answer by Ruberandinda Patience is correct and will work but since the gearman pecl module is packaged for Ubuntu there is a much simpler way to achieve the same thing:
apt install gearman-job-server php-gearman
Just installed the latest version of Rider EAP (163.12057) and tried to create a new solution.
In my Solution Explorer its shows my Solution and (load failed).
In the Event Log window I get the error message:
Solution 'FirstSolution' load failed: MsBuild not found on this machine
Any ideas on how I can solve this loading problem?
Thanks in advance!
I managed to solve the loading error.
I was missing Mono and found out through this thread here that Rider currently needs Mono 4.6.2.
I followed this guide to install Mono.
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
sudo apt-get update
sudo apt-get install mono-devel
sudo apt-get install mono-complete
I hope this will help someone else.
UPDATE: Asp.Net Core
if you'll be using Asp.Net Core, and encounter error about missing xsp.exe you might need to install mono-xsp4 with this command
sudo apt-get install mono-xsp4
Accepted answer led me to the official guide: Mono-project download
This can help with various other systems (different than Debian). It helped me to get through the process and resolved problem on Ubuntu 18.04.
For Ubuntu 18.04 it is, first Add the Mono repository to your system:
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb https://download.mono-project.com/repo/ubuntu stable-bionic main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
sudo apt update
then,
sudo apt install mono-devel
sudo apt install mono-complete
For Arch Linux and derivatives you'll need:
sudo pacman -S mono mono-tools msbuild
Invalidate caches & Restart on Jetbrains to apply
I Downloaded mono-complete 3.10 by adding following repository and signing key in synaptic. After Downloading mono-complete-3.10, I installed this package in another fresh machine, but in fresh machine it gives lot of errors. Please suggest me how to install this downloaded package on another machine (offline).
Repo:
echo "deb http://download.mono-project.com/repo/debian wheezy/snapshots/3.10.0 main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
Signing Key:
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
I see different versions of ubuntu in your tags.On what version of ubuntu you are installing your mono? Did you fully read this article?
Why don't you just use smth like apt-get install mono-complete monodevelop e.g.?
Dropbox is not working on my laptop ubuntu 13.10, it is keep saying connecting and the Dropbox icon on the menu bar is grey.
I tried to install Dropbox with the following ways and all failed.
1) sudo apt-get install nautilus-dropbox
2) install from Ubuntu Software Center
3) downloads dropbox .deb file from dropbox offical website
Finally, I re-install my laptop with Ubuntu 12.04 LTS, and tried with 1) I mentioned above, and it works.
Is there anyone know why it is not working?
Add Dropbox’s repository key
sudo apt-key adv --keyserver pgp.mit.edu --recv-keys 5044912E
Add Dropbox’s repository
sudo add-apt-repository "deb http://linux.dropbox.com/ubuntu saucy main"
update and install Dropbox
sudo apt-get update && sudo apt-get install nautilus-dropbox
When prompted with the screen, click Next.
Click Start Dropbox to continue.
You can see that Saucy is available at http://linux.dropbox.com/ubuntu/dists/ so it should be working.
These two lines will fix your problem:
sudo rm -rf /var/lib/dropbox/.dropbox-dist
dropbox start -i
I want to use Apache 2.4.4 with SVN on Ubuntu server 12.04 (Precise Pangolin). But when I use
apt-get install libapache2-svn
I get the following dependencies error
The following packages have unmet dependencies:
libapache2-svn : Depends: apache2.2-common but it is not going to be installed
Googling around I got some suggestion about compiling from source by hand. I don't know how to do that. How can I do it?
I have two solutions:
Follow the instructions in this Server Fault Q&A.
*Note: Create another user if you're using a root account on the server.
I've asked Ondřej Surý on Launchpad to add Subversion to his Apache PPA. You can add Ondřej Surý's PPA to perform a normal update/upgrade.
You did ask Ondrej to include Subversion in his PPA launchpad. But I couldn't install the libapache2-svn package after adding Ondrej's PPA.
Somehow the instructions provided for compiling didn't work for me so here's an alternative way to get it working.
Reference:
(https://askubuntu.com/questions/312568/where-can-i-find-a-subversion-1-8-binary)
WANDisco has Subversion 1.8 for Ubuntu then:
sudo sh -c 'echo "# WANdisco Open Source Repo" >> /etc/apt/sources.list.d/WANdisco.list'
sudo sh -c 'echo "deb http://opensource.wandisco.com/ubuntu precise svn18" >> /etc/apt/sources.list.d/WANdisco.list'
wget -q http://opensource.wandisco.com/wandisco-debian.gpg -O- | sudo apt-key add -
sudo apt-get update
After that:
apt-cache show subversion | grep '^Version:'
And then you should be good to install normally:
sudo apt-get install subversion libapache2-svn