[SOLVED] by copy dataset from pendrive to VM machine
I wanted to download a csv file from data.world Link: https://query.data.world/s/ivhtuhwlmurugide54rarbhjr6tyfq using Linux on my Virtual Machine. i run the following command but it does not work. Tried parameters like no check cert as well, still wont work.
wget https://query.data.world/s/ivhtuhwlmurugide54rarbhjr6tyfq
Error I get:
Unable to establish SSL connection
did you install wget on your server ?
try with this command-> sudo apt install wget
Related
This is part of school project I'm working on where I can only read files from a linux machine (I can't execute commands or anything else) and I need to find its public IP. Is there a way to do it?
Below command will give you the public ip of that machine.
wget -qO - icanhazip.com
if you are using Ubuntu Linux and you don't have wget command then run below code.
sudo apt-get install wget
I have a linux server (completely new, web hosting, nothing is installed into it), and want to use a "wget" command. Currently, it is not found. Kernel version 2.6.32-896.16.1.lve1.4.54.el6.x86_64
I am completely new to linux, tried to solve this issue by myself, but couldn't do it. I log in into this linux server via PuTTY via my Windows OS laptop.
wget https://www.python.org/ftp/python/3.6.6/Python-3.6.6.tgz
To get "wget" to work, I will need to install it. I guess I will need to install first "sudo" and/or "apt" and/or "apt-get". But couldn't do it. Please give me a short list of steps in which order to install them.
Given your kernel version, it looks like your Linux distribution is CentOS 6 or RHEL 6. Try installing wget with this command:
yum install wget
You must be root when you run this command.
Incase you using Debian version of Linux, use the following:
sudo apt-get install wget
From kernel version, it looks like you are using RHEL/Centos 6.
Please check -
https://centos.pkgs.org/6/centos-x86_64/wget-1.12-10.el6.x86_64.rpm.html
If the mentioned dependencies exist in your system, you can directly fire the rpm command
rpm command guide -
https://docs.fedoraproject.org/ro/Fedora_Draft_Documentation/0.1/html/RPM_Guide/ch02s03.html
If it doesn't work, you need to use yum command. (You need to configure yum command first, if not configured already)
yum install wget
To configure yum command in centos6 -
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/deployment_guide/sec-configuring_yum_and_yum_repositories
Note - you need to be root user for above activities.
When I want to launch matlab, this error appears:
/usr/local/MATLAB/R2010b/bin/glnxa64/MATLAB: error while loading shared libraries: libXp.so.6: cannot open shared object file: No such file or directory
I already tried to install libxp6 by using this command:
sudo apt-get install libxp6
and I already searched for this
apt-cache search libxp
but there is no package with this name.
My operating system is Ubuntu 16.10.
What should I do?
UPDATE:
It seems they removed the libxp6 package from the stable list. However, you are still able to obtain the oldstable on this page:
https://packages.debian.org/search?keywords=libxp6
The installation of this package is still the same as described below!
I also just had this problem.
Try this, this worked for me:
Long answer:
Download libxp6 on this page manually: https://packages.debian.org/stable/libs/libxp6
(At the bottom of the page you will see "Download libxp6")
Make sure to checkout what architecture you have on your Linux system by using this command:
uname -a
After you find it out, click the link with your architecture on the page (for example: architecture: amd64, and below you will see some location, where you can download from it, for example:
North America:
ftp.us.debian.org/debian
This is just a link to this real download link:
ftp.us.debian.org/debian/pool/main/libx/libxp/libxp6_1.0.2-2_amd64.deb
On your linux command line you just can run this:
wget ftp.us.debian.org/debian/pool/main/libx/libxp/libxp6_1.0.2-2_amd64.deb
After the download is finished, you can install it with this command:
sudo dpkg -i libxp6_1.0.2-2_amd64.deb
libxp6 has been successfully installed!
Short answer:
Run this command on your linux command line:
Where yy is, replace your location. Where xx is, replace your
architecture.
wget ftp.yy.debian.org/debian/pool/main/libx/libxp/libxp6_1.0.2-2_xx.deb
Example:
wget ftp.us.debian.org/debian/pool/main/libx/libxp/libxp6_1.0.2-2_amd64.deb
After the download, run this command:
sudo dpkg -i libxp6_1.0.2-2_xx.deb
Example:
sudo dpkg -i libxp6_1.0.2-2_amd64.deb
libxp6 has been successfully installed!
I hope this works for you!
I have an isolated box (no outside internet connection) that I need to install docker on. I downloaded the docker-engine-1.12.3-1.el7.centos.x86_64.rpm file from the Docker archives, and then copied it to the isolated box.
I then ran:
sudo yum localinstall --nogpgcheck docker-engine-1.12.3-1.el7.centos.x86_64.rpm
I get a failed install and this error multiple times:
https://yum.dockerproject.org/repo/main/centos/7/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to yum.dockerproject.org:443; Connection refused"
Yum gives me the suggestion to the disable the repo, and that does not work either.
How do I correctly install Docker engine on an isolated CentOS 7 box?
Might be worth running rpm -q -R -p docker-engine-1.12.3-1.el7.centos.x86_64.rpm to find out what else you need to download.
– Mark Plotnick
I ran that and I have quite a list of things to download. … That fixed it. – user1566200
I am using a virtual shared server and I would like to have on it some programms like Midnight Commander (mc) or Htop.
The host provider doesn't provide these programs and I don't have access to any package manager or compiler.
I have ssh access to the system and I was wondering if there is a way to just copy and execute these programs without installing or compiling them.
Are there some pre-compiled versions?
PS: If you have a better sugestion for the question/title, please let me know.
You said you can't run a package manager. So the only solution I think is:
1- Upload the program, like mc to your home directory.
2- Change the permission to 774. it make mc executable
3- Open an ssh to the server and try to run it.
Maybe, if there are all the files needed installed, MC run.
But another solution if using FTP link.
You can RUN MC in you PC and LINK to the server by FTP.
FTP Link
By default, MC will show you 2 column interfaces. Left and right. Those columns are not only for local directory. You can make one of them or both connected to remote computer using FTP link.
In this case, MC will act as a FTP Client. To connect it into FTP service, you need to press “F9” > FTP Link. MC will ask credential of the FTP.
http://www.tecmint.com/midnight-commander-a-console-based-file-manager-for-linux/
You may not have access to a package manager, but are you sure you don't have a compiler?
You can get the MC source in a tar file from here.
Save it in your "local" or "src" directory and unpack with:
tar -xvjf mc-4.8.17.tar.bz2
cd into the new directory "mc-4.8.17" and compile with:
./configure --prefix=PATH
where "PATH" is the full path to your "local" directory.
Then run:
make
make install
You can install them with your package manager.
On a redhat based distribution (using rpm) :
yum install htop mc
On a debian based distribution (using deb) :
apt-get install htop mc
On others, tell me your distribution (arch linux, gentoo, slackware...)
htop install in CentOS
yum -y install epel-release
yum update
yum install htop