Browsed by
Author: utdream

scp “command not found” CentOS 6 / Ubuntu 12

scp “command not found” CentOS 6 / Ubuntu 12

I run Ubuntu 12.04 64-bit as my local Desktop OS. I’ve run the “SCP” command multiple times to multiple machines from my own PC when I’m moving files around, but for some reason when I tried to SCP, I got the following error: dream@dream-C32A-H9:~/Downloads$ scp myfile.zip root@myserver.viviotech.net:/root root@myserver.viviotech.net’s password: bash: scp: command not found lost connection Okay… so that doesn’t make any sense. I use SCP all the time. What is *really* going on here? To find out, I ran…

Read More Read More

yum “Couldn’t resolve host ‘mirrorlist.centos.org'” in CentOS

yum “Couldn’t resolve host ‘mirrorlist.centos.org'” in CentOS

I ran into an issue recently where I could ping URL’s just fine, but when I ran the “yum update” command yum could not resolve anything. I would get error messages like the following: [root@viviotech ~]# yum -y update Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os error was 14: PYCURL ERROR 6 – “Couldn’t resolve host ‘mirrorlist.centos.org'” Error: Cannot find a valid baseurl for repo: base After a bit of digging, and absolutely…

Read More Read More

How To Fix Windows Java Error 1723

How To Fix Windows Java Error 1723

Just recently I experienced a problem with both installing or uninstalling Java (the JRE) on a Windows 2003 system. I had to research this quite a bit and there were no clear answers anywhere, so I though I’d post here on how I was able to fix it. In my case, I was using Windows Server 2003 64-bit, but this should apply to other Windows versions as well. The error I was getting was as follows: “Error 1723. There is…

Read More Read More

BASH – Generate a Random String

BASH – Generate a Random String

In a recent project, I needed a function that would generate a random string for me. In my case, I was creating a random file name to store some data, but there are other uses as well, so I am posting the BASH code here in the hope that it will help others out ther eon the net writing BASH scripts and need a good random string function: #!/bin/bash function randomString { # if a param was passed, it’s the…

Read More Read More

Ubuntu/Debian Long Pause Before SSH Password Prompt

Ubuntu/Debian Long Pause Before SSH Password Prompt

I’ve experenced this problem many times on both Ubuntu and Linux Mint, and I’ve had to go research this problem several times each time I encountered it. (I can never remember where to find it.) So, I’m writing it down here in case I ever need it again, or perhaps someone else out on the Net is experiencing this same issue and hasn’t figured out how to fix it. The problem is that whenever I used SSH to get a…

Read More Read More

Making CFIDE Available to all Apache VirtualHosts

Making CFIDE Available to all Apache VirtualHosts

When working with ColdFusion on Linux, you may encounter a situation where you want to make the contents of the CFIDE folder available to all sites that are hosted on that server. The reason you might want to do this is for things like CFFORM to work properly on a host that doesn’t physically have the CFIDE directory located in that site. The solution for this is an Apache Alias. Add an alias to the Apache httpd.conf file similar to…

Read More Read More