Linux is a UNIX-like open source operating system with hundreds of distinct distributions, including: Fedora, openSUSE, Ubuntu, Debian, Slackware, Gentoo, CentOS, and Arch Linux. Linux is generally associated with web and database servers, but has become popular in many niche industries and applications.

Share tech news, updates, or what's on your mind.

Sign up to Post

Hi Expert

 when i run the apache in the localhost:80 it show the following errors
" Not Found, HTTP Error 404. The requested resource is not found"

Please note i have installed the apache in the Centos 7 in the AWS instance.

For your information I did further test by using the following command in the Linux by using the telnet command
" telnet 80", show the following errors.

# telnet 80
Connected to
Escape character is '^]'.

I have test the outbound traffic http port 80 was open and inbound traffic port 80 open.

Appreciate your prompt response.
Become a CompTIA Certified Healthcare IT Tech
LVL 13
Become a CompTIA Certified Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

I'm trying to test weather Visual Studio Code - Code Editing. Redefined with the Excel Viewer - Visual Studio Marketplace plugin will work under fedora 12  stand alone (No Internet)

I have a fedora 17 running in a VM VirtualBox at home, I know it's the wrong version, but I figured it would be close enough for this test
having tried to install visualstudio code on the stand alone I know it has dependencies  See Here

unfortunately the Firefox  version wont load the above links, Nor, I keep getting connection reset errors other pages load like google and stackoverflow

The Guest additions won't install either so I can't access drives on the host machine, a USB drive nor shared clipboard etc
I get error
Guest additions: Kernel headers not found for target kernel 

Open in new window

Tried to run
yum update kernel

Error: Cannot retrieve metalink for repository fedora. 

Open in new window

Any Suggestions?

I am trying to search multiple patterns where I would the start and end of the first few characters. This works for a single pattern.

awk '/test_pattern/ { match($0, /test_pattern/); print substr($0, RSTART - 10, RLENGTH + 20);' file

How do I do it for multiple patterns? Thank you

I'm attempting to install Visualstudio Code for Linux  on a standalone (No internet connection) Fedora 12 PC
Version / file name code-1.33.0-1554390950.el7.x86_64.rpm
OS Fedora 12 (Constantine)
Kernel Linux

I'm getting dependency errors

Open in new window

Any ideas if this is the correct version & where to get these and any other dependencies?

I looked Here but couldn't tell which version I needed
Dear Experts,
I have installed Java 1.8 in a Red Hat OS Server at separate location(/data/inout/crm) from root folder. (Root folder is at an older version of Java 1.7 and is not very useful)
Now I need to import a TLS cert in the Java Keystore to this location (/data/inout/crm).
I know the command to be used is :
 keytool -importkeystore -deststorepass [password] -destkeystore [filename-new-keystore.jks] -srckeystore [filename-new-PKCS-12.p12] -srcstoretype PKCS12

Open in new window

How do I make sure that it is imported to Java 1.8 and not to Java 1.7  in the root

Thank You
How can I stop users Wireless connection from connecting to Wifi networks that have no password or unsecured. 

For example a user takes a laptop to a StarBucks or Hotel that has wireless that does not require a password, so the user with the laptop see's their network, clicks it and then connects to it.   - I want to stop this.

The laptop is a HP Probook   : mt21 Thin Client ThinPro 7. - This is linux
I have an unquoted CSV file that also has columns / cells with comas in
I need to fix it prior to ingesting into a database (This is it, it can't be generated properly)
I've wrote a short perl script isolate the rows with too many columns outputting the deliminator as a '|' pipe
I now need to edit the rest

Bringing the file into excel or open office calc can help to work out where the problems with each row is because you can see patterns in the data BUT totally messes up formatting like leading zeros and dates

Using a plane text editor keeps this formatting but is sole destroying looking at 100's lines of CSV data comparing with the spreadsheet  and error prone

Any one know of a CSV editor that can do both?

In 1 pane have an text /CSV editor  and as the deliminator  is removed or added dynamically updates a spreadsheet like interface so you can see instantly the column data lines up
Reallocating space on my MacBook's 500 GB drive to make room for Azure, Linux and Windows 10

I have a 500 GB drive that's almost filled, but I have allocated 100 GB to my Windows 7 / Parallels (10.4) partition. This "partition" is represented in the form of a file:

Windows 7 (1).pvm

I expect I would upgrade to Parallel's version 14. I NEED to replace Windows 7 with Windows 10. And MAY install Linux, if I need to, to fully use Azure and Containers.

So, how do I create a partition for Linux? Is that something I do also with Parallel's. How much space shall I leave for that?

Any suggestions would be appreciated.

I'm a little overwhelmed with all the security features to help secure an Azure environment and VMs.

Our developers are creating a web app that, currently, will live on a single VM and we may have a few VMs. In the future as the application grows we will separate the services.

So far I have enabled the security center and I was thinking of enabling JIT Access and I found a PS script that will create an RBAC role where I can put specific users in and then another PS script so that they can enable ports for a specific time,  but our developers use Linux and I don't know if that script will work even with powershell core installed on Ubuntu.

They have Rapid7 and Qualys end points for vulnerability scanning but I'm not sure if that is needed. I was trying to look for an IPS/IDS end point but I am not familiar with whats on Azure nor if it will be expensive.

I'm looking for practical solutions. I've read the Azure docs and they can get a little confusing.

Thank you,
I used before Visual Studio 2010. Now I updated to Visual Studio 2017 to use newest compilers. In some code I run into the problems with my code. My code is cross platform and works on Windows, Linux and MacOS. Everything went fine while using VS 2010 on windows.
With use VS 2017 I get message like:

1>c:\program files (x86)\microsoft visual studio\2017\professional\vc\tools\msvc\14.13.26128\include\cstdlib(25): error C2589: "(": Ungültiges Token auf der rechten Seite von "::"
1>c:\program files (x86)\microsoft visual studio\2017\professional\vc\tools\msvc\14.13.26128\include\cstdlib(25): error C2146: Syntaxfehler: Fehlendes ")" vor Bezeichner "fabs"
1>c:\program files (x86)\microsoft visual studio\2017\professional\vc\tools\msvc\14.13.26128\include\cstdlib(25): error C2066: Typumwandlung in Funktionstyp nicht zulässig
1>c:\program files (x86)\microsoft visual studio\2017\professional\vc\tools\msvc\14.13.26128\include\cstdlib(25): error C2059: Syntaxfehler: ")"
1>c:\program files (x86)\microsoft visual studio\2017\professional\vc\tools\msvc\14.13.26128\include\cstdlib(25): error C2440: "Typumwandlung": "double" kann nicht in "unknown-type (__cdecl *)(float)" konvertiert werden
1>c:\program files (x86)\microsoft visual studio\2017\professional\vc\tools\msvc\14.13.26128\include\cstdlib(25): note: Es gibt keinen Kontext, in dem diese Konvertierung möglich ist
1>c:\program files (x86)\microsoft visual studio\2017\professional\vc\tools\msvc\14.13.26128\include\cmath(25):

Open in new window

Ensure Business Longevity with As-A-Service
Ensure Business Longevity with As-A-Service

Using the as-a-service approach for your business model allows you to grow your revenue stream with new practice areas, without forcing you to part ways with existing clients just because they don’t fit the mold of your new service offerings.

How to move in linux a tar file to a directory
command I am using

sudo mv xxxxx.tar.gz  EBFs/EBF_xxxx

mv cannot stat 'xxxx.tar.gz' : No Such file or directory
I am continually getting this error from one of our VPS servers

Time:         Wed Apr  3 08:55:22 2019 +0100
Account:      accountname
Resource:     Virtual Memory Size
Exceeded:     561 > 512 (MB)
Executable:   /opt/cpanel/ea-php70/root/usr/bin/php-cgi
Command Line: /opt/cpanel/ea-php70/root/usr/bin/php-cgi
PID:          12755 (Parent PID:2746)
Killed:       No

Eventually the server hangs and I have to reset it to get it going again. This is obviously caused by something I have not set up correctly and I'm hoping that someone can help me set it right. Many thanks in anticipation.

We have the need to install an SSL certificate generated from our Internal PKI on a Linux server.   The Internal PKI we have is the Microsoft PKI. The certificate was created with Allow Export of Private Key=NO.  We have a Certificate Issuance workflow set up in ServiceNow through which users request certificates.  
This ServiceNow form:
   Accepts the CSR as an attachment
   Links the user to the Certificate Web Enrollment Service https://<servername>/certsrv to generate the Request ID
   The Operations group, then logs into the Issuing CA and issues the certificate
   The requestor then logs into the Web Enrollment site and downloads and installs the certificate on their server.

But the issue is that the server the CSR was created from was not a Windows server, it is Linux, so how does one download a certificate from the Web Enrollment Services site and install on a Linux server ?  

Thanks.  Mona.
How do I search for a time between these two files?
I need to use bash to find the time between the end of one backup, and the beginning of the next.
The time between the last backup file (of the previous backup) and the first backup file (of the most recent backup) will always be more than one hour.
So I need to subtract 30 minutes from the timestamp on the first backup file (of the most recent backup)

In this case the time I need to come up with would be would be 04:00
But there are no guarantees of when the backups will run, or finish. Backups can be ran 1 to 4 times each day, but there will always be at least one hour between the previous backup and the most recent backup.

Note: there are over 24,000 files in this directory

-rw-r----- 1 oracle dba  1.6G Mar 31 19:49 7mttrcla_1_1
-rw-r----- 1 oracle dba   37M Mar 31 19:49 c-3507591583-20190331-03
-rw-r----- 1 oracle dba   14M Apr  1 04:29 84ttsb5i_1_1
-rw-r----- 1 oracle dba   24G Apr  1 04:30 83ttsb5i_1_1
My Dell computer does not boot.   When I turned it on this morning, it got as far as the splash screen listing the hard drives and ctrl-I to enter configuration.   It froze at that point.   When I switched it off then on again it did not even get as far as the splash screen.   The LED on the front that normally flashes does not do so.   I tried a hard drive with Ubuntu on it, but it still did not boot.
Hi there,

I want to multiboot windows , ubuntu and android on my laptop hard disk

Can I multiboot android os alongside the other operating systems.

Also is it possible to boot to android os in multiboot mode.

Would I need to edit bcd to get android os to be added to mulitboot screen
I am trying to installing multiple instances of operating systems.

My installation sequence will be as follows

1) Windows 7 Home
2) Windows 7 Ultimate
3) Windows 10 Pro
5) Ubuntu Linux
6) Android Operating system (phone version) May os 6.0 or later

I can multiboot to windows oses,  
My question is

how to install  Ubuntu Linux and multiboot it with windows oses.?
how to install  Android operating system on the laptop and get it to multiboot along with windows and ubuntu.

Can you also please provide me a link to download android os phone version and ubuntu linux so I can install it on my laptop.

Thanks in advance
I have a small website that only will
get about 5 customer CHATS per day.
  ** running WordPress
  ** hosted on my own LINUX box at my home
  ** also running WooCommerce at some point

What "website chat software" do you recommend so I can have a
POPUP appear the minute a potential customer visits the homepage,
displaying "Away Now, Leave a Message" if I mark the system as OFF-LINE ?
  ** cost under $500/yr or $2,000 one-time
Im setting up Veeam backup and replication to backup my vm. the host is a server 2012, the vm is a linux [with the windows vm I have no issue] In the Guest Processing tab at the  Guest OS credentials, when I run a task it fails. Itreid with my user and pass and with the root none work.
Fundamentals of JavaScript
LVL 13
Fundamentals of JavaScript

Learn the fundamentals of the popular programming language JavaScript so that you can explore the realm of web development.

Trying various linux install on a RB Pi 3b to use as a thin client. All work OK keyboard, mouse and bar code scanner. My problem is with a signature pad (SignoTec USB pad) RDP from any windows I simply tick the "Ports" under "local resources" tab and it just appears magically on the other side usually as com3. Most of the linux version of RDP client do not have very many options. One called ThinLinx looks promising, but so far I do not have my signature pad working on it. Any help much appreciated.
I have a number of directories/files on my Linux Server that seem to be not needed.  

Can you tell me what these files are for and if they can be erased?

  100M: /opt/drweb/bases/bases.tar.gz
  100M: /old/opt/drweb/bases/bases.tar.gz
  100M: /old/old/opt/drweb/bases/bases.tar.gz
  100M: /old/old/old/opt/drweb/bases/bases.tar.gz
  100M: /old/old/old/old/opt/drweb/bases/bases.tar.gz
  102M: /old/old/old/usr/lib/locale/locale-archive
  102M: /old/old/old/old/usr/lib/locale/locale-archive
  102M: /old/usr/lib/locale/locale-archive
  102M: /old/old/usr/lib/locale/locale-archive

It seems to be that instead of replacing files in an "old" directory, it creates a new directory underneath the old one.  (e.g. /old/old/old).

Hi everyone,

I'm searching for a tool to manage and monitor hundreds of Unix servers.
90% are on Debian but from Debian 7 to Debian 9.

I tried Cockpit and I really liked it but it is limited to 20 servers.
Webmin is not good enough.
I tried to install a CentOS server with SpaceWalk on it but I can't take the control of Debian's servers.

So I would like to know if you have some advice for me.

Tank you all.
Hi guys

I want to do a course in Cybersecurity with someone who knows their stuff backwards and whom I could learn a lot from from their teaching.  I'm a member of Pluralsight, which is great too. But I have worked with some talented people and you can learn exponentially with an absolute 'don' who knows how and what to teach. Do you guys know of names of individuals, whether on here or in and around London who you would highly recommend learning from and whom offer their time to do so?

I'm about linux dns (bind9).

In the corresponding configuration file for bind I have configured dynamic DNS forwarder (namebench).

My question is: how can I find out which forwarder bind9 actually uses?

I need to delete all files from a directory except for one folder:

The directory with all of the files I want to delete:

The directory I want to keep:

/home/user has a bunch of files and folders in it that I want to blow away
/home/user/backup has a bunch of files and folders that would make me sad if I blew them away (i.e., I want to keep the backjup directory and all of the files in it).

I created a test directory structure and touched a few files in each and used "rm -rf /home/user/*" thinking it would balk because the child directory wasn't empty but it just wiped everything out.  

Any help would be greatly appreciated.







Linux is a UNIX-like open source operating system with hundreds of distinct distributions, including: Fedora, openSUSE, Ubuntu, Debian, Slackware, Gentoo, CentOS, and Arch Linux. Linux is generally associated with web and database servers, but has become popular in many niche industries and applications.