Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium







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

I was given the responsibilities to patch some Unix (centos, Linux etc) appliances along with windows server. These are third party software vendor's appliances as well as our centos servers.
Could someone give me some help on the Linux appliances?
Veeam and MySQL: How to Perform Backup & Recovery
Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

I need to  copy data from a failing / corrupt hard drive to a new drive from a windows system.

Seems the only way to read this drive is to mount it in Linux with the -r or -ro flag (read only).

I really don't know much about linux / learning by trial an error.  I used a live rescue CD USB stick and could mount the 2 drives.

And now doing that in a Ubuntu live USB.

Now to get beyond compare installed.  I go to


and download the .deb and then the .rpm packages.  Double click on them in download folder and I get a text document most times.  On ubuntu, for the deb install, a page opens with install button!!! I click on it and all I get is an icon in the bar saying waiting to install.  

I go to the install in linux help page


and follow steps but get errors. most recently, following the terminal install commands for ubuntu,

I get:
Reading package lists... Done
Building dependency tree        
Reading state information... Done
Reading state information... Done
This package is uninstallable
Dependency is not satisfiable: libqtwebkit4

then it dawns on me - as a live install (running from thumb drive) should I be able to install apps / beyond compare?  Is there a way to enable installing on a live USB?
My large 'C' language code is in Linux Server.

Which Linux Editor should I use to edit and navigate my source code?

I need to use powerful editor that has powerful source code navigation.  For example, from function call, one keystroke will navigate to function definition.  From 'C' source file, one keystroke will open the include file.

There should be comprehensive information to  learn the editor from book or other sources.

From windows computer, I telnet to Linux Server.  

The folder structure that contains my source code is in my home directory.

I would like to use grep and and sed to replace string to something else .

Eg :

When i use grep, there are 97 result :

root@svr51 [/home/xxx/public_html/akaunting]# grep -lir "ini_set" ./* | wc -l

I would like to replace "ini_set" found in those file to "//ini_set" , to comment/disabled that line.

Anybody can help to construct full grep and sed command ?

Please let me know also the location where i should run that command to avoid it to replace file in wrong location.

Thank you.
Hi, I need some help installing OpenSSH-7.6.p1 in my Linux Server. My current configuration is Red Hat Enterprise Linux Server 6.9 (Santiago)‬ with Plesk Onyx Version 17.5.3.

Up until a few days ago, I was running OpenSSH-7.5.p1 for the entire last year, and then I tried to upgrade to the latest version.  I realized I had OpenSSL 1.0.1 and the installation required OpenSSL-1.1.0g, so I went ahead and tried to install it, but when I ran "make test" after the installation as indicated here: http://www.linuxfromscratch.org/blfs/view/svn/postlfs/openssl.html  I ran into some errors and I ran "yum update" and that reversed my OpenSSH-7.5.p1 back to version 5.3.

I have been trying to get back to a new installation but when I install OpenSSL-1.1.0g and run the "make test" command, I guest the following output (attached). I know I need to correct this first before I can even proceed to install OpenSSH. Please help.


We have a hard drive that was working but now we get d:/ is not accessible.  Access is denied

It has been a while since we've used a service and I remember it wasn't a good experience although the details escape me and I won't bias people's answers with who the company was.

Could people offer their recommendations on companies that could potentially get data off a 3.5" WD drive from 2009. It is SATA. There's no encryption on it.  And it has been a while since we've used a service. What is the going rate these days along with lead time for the less expensive service?

And am I missing anything while I tried connecting to my computer, it shows a drive letter, disk management says it's NTFS and healthy. But when you click on the drive letter in file explorer it says D:/ is not accessible Access is denied.

I had hopes it was an NTFS permissions issue. I booted RescueCD, a linux product and googled how to mount external hard drives from the command line - I would have thought there's a way from the GUI?

I got the following message:

The disk contains an unclean file system (0,1)
Metadata kept in windows cache, refused to mount
Failed to mount '/dev/sdd1': Operation not permitted
The NTFS partition is in an unsafe state. Please resume and shutdown windows fully......
or mount the volume read only with the ro mount option.

We aren't up on Linux. Is there another product we should be using?

i need to search on say "xyz" on 123.gz file.

i need t see complete word xyz alone not like word containing "abxyzdef" not like word beginning with xyzdefff not even ending aaaaxyz

please advise

zgrep 'xyz' 123.gz not working

I've mounted a share from my Windows Server on a linux (RHEL) server and I can access all files, I can create/edit/delete new files.
But I can't modify or delete existing files. I can open and read them though.
Even as root I can't do these things.

'ls -al' shows the rights on the file as follows: -rwxrwxrwx. (including the . at the end).

I've mounted the share as follows:
 mount -t cifs // /home/shareddocs -o rw,user=username,password="userpassword",uid=username,gid="domain users",vers=2.1,user_xattr,dir_mode=0777,file_mode=0777

Does anybody have any idea how to solve this? I suspect this might have something to do with selinux?
i am relaying emails from my server to thru my ISP, which has been working except just recently routine text emails have been bouncing

the service log bounce error

Jan  6 11:31:01 culser postfix/smtp[14808]: E10DE19C627: to=<@gmail.com>, relay=smtp.rcn.com[ unknownip ]:25, delay=0.57, delays=0.02/0.01/0.37/0.17, dsn=5.7.1, status=bounced (host smtp.rcn.com[] said: 554 5.7.1 [P4] Message blocked due to spam content in the message. (in reply to end of DATA command))

I am running Debian Linux, and using Postfix email transport.
i have the main.cf file attached

I had a simular issue a few months back posted on this site.

please advise
I upgraded the VMWare Tools on a Redhat 5.7 server after which the NIC stopped working, no ping or SSH. I went via the vm console and uninstalled the vmware tools which after a reboot allowed the server to communicate again, how do I go back to the original (old) vmtools?

I have found packages.vmware.com but I have no idea which rpm files I need to run on the machine to get a working vmtools installation.

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.


Is there a lightweight Ubuntu distro (like Ubuntu, but which version then), which can run with little resources (CPU/Memory)?

Might then run it (not sure if I will go for XPenology on HP Microserver yet  -what bugs me there is the uncertainty of upgrades and funcationality-) on a Synology DS918+ virtual machine manager (this Synology has only 4 GB of ram by default and processor is basic).
The idea is to have some users in my family use this distro and be able to do everything you can on a W10 + have fast access to data (since vm is running on Synology itself). Via RDP or via the webinterface of Synology.

Thanks for your input.
Hi there,

I'm trying to dynamically create this string in a variable so that I can then run "eval" on it and run the command remotely on another Linux VM.

ssh oracle@ "md5sum /data/oracle/dpdump/onegeo/ONEGEO20171214.DMP | awk '{ print \$1 }'"

I can get the string working until the "awk" part and then no matter what I try, I keep getting errors when trying to properly create the rest of the string with single quotes.  The double and single quotes in the string are all required.  

I tried this but it didn't work, what am I missing?
md5command='ssh oracle@ "md5sum /data/oracle/dpdump/onegeo/'$DMPfilename' | awk '\'{ print \$1 }\''

Any help would be appreciated!!

- Christian
I'm trying to follow this guide in order to setup an SSH tunnel for VNC onto an ubuntu desktop from a Windows desktop.

I can connect via SSH but the moment I start the VNC connection to localhost::5902 I immediately get the following message:

"Connection has been gracefully closed".

Any ideas what could be causing this? Is it a bad setting on the Ubuntu computer I'm trying to VNC into? Did I configure PuTTY or TightVNC wrong? Is it because I changed the default SSH port number? Is there something I need to do on my router other than port forward the ssh connection appropriately (which I already did)? Is there an alternate method you would suggest?

Ubuntu 16.04 LTS & Windows 10, both 64 bit.
For a Lenovo ThinkStation D30 6-Core 2.50GHz E5-2640

Thank you in advance!
hello sorry for my english

is a script to upload files juste me i would like detect the new files in forlder and upload files or folder in my ftp in cron job im a noob in script shell and i need help ty :)

quote USER $USER
put $FILE
exit 0

Open in new window

I am trying to do a sudo apt-get upgrade but get an erorr of
Err http://archive.ubuntu.com vivid/main Sources
  404  Not Found [IP: 2001:67c:1560:8001::11 80]

Open in new window

Here is the system I am trying to use
VERSION="15.04 (Vivid Vervet)"
PRETTY_NAME="Ubuntu 15.04"

this is a first step in multiple issues.  I am not sure where any files are, but have manged to find a few.

my source.list file is
deb http://ports.ubuntu.com/ubuntu-ports/ vivid main universe
deb-src http://ports.ubuntu.com/ubuntu-ports/ vivid main universe
deb http://ports.ubuntu.com/ubuntu-ports/ vivid-security main universe

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://ports.ubuntu.com/ vivid main restricted
deb-src http://ports.ubuntu.com/ vivid main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://ports.ubuntu.com/ vivid-updates main restricted
deb-src http://ports.ubuntu.com/ vivid-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any

Open in new window

I just installed linux mint on my old desktop and for some reason the sound isn't working. I am using the on-board HDMI. I updated all the drivers that were suggested but it's still not working. Everything else is great except that. If I can't get it working I am going with Ubuntu.

I am using an asrock z77 extreme 4 motherboard.
I've configured TACACS+ running on CentOS 7 and the TACACAS+ configuration is working perfectly. However, I cannot get TACACS+ to run automatically upon startup.

I have configured the automatic service start using
chkconfig tac_plus --add

Open in new window

, everything looks good in
chkconfig tac_plus --list

Open in new window

. When I check the service status using
service tac_plus status

Open in new window

, everything is loaded & running, however when I trying to SSH to the switch I get huge delays and TACACS isn't available, only local authentication.

The only way I can get it to work is to do the following manual steps:-

1.) Upon server restart, stop the tac_plus service using
service tac_plus stop

Open in new window

2. Manually run the command
sudo tac_plus -C /etc/tac_plus.conf

Open in new window

3.) TACACS starts to work as expected

I have an extremely basic understanding with Linux, any help would be appreciated.
Hello Experts,

We have an application which is login on CentOS 6.8 64 bit (GUI Interface) & after login generate tcp port 50000 for make connection with user.
Behind that port there are many connection connected with different-different IP (, 207.12, 207.13) & user name (user1, user2, user3):

Example Output:-
[root@CC ~]# lsof -i :50000
TCPServer 3647 rajat  245u  IPv4 156532      0t0  TCP> (ESTABLISHED)
TCPServer 3647 rajat  261u  IPv4  23354      0t0  TCP *:50000 (LISTEN)
TCPServer 3647 rajat  387u  IPv4  24955      0t0  TCP> (ESTABLISHED)

From this cmd i only check which IP is connected behind port 50000, but i want to check user name also. Please suggest.
Technology Partners: We Want Your Opinion!
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Hi I've installed utorrent if I try to start the server I get:

./utserver: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory

yum list installed | grep ssl
openssl.x86_64                         1:1.0.2k-8.0.1.el7          @anaconda/7.4
openssl-libs.x86_64                    1:1.0.2k-8.0.1.el7          @anaconda/7.4
xmlsec1-openssl.x86_64                 1.2.20-7.el7_4              @ol7_latest

thx for help
I've installed oracle xe on oracle linux.
Connected with sqldeveloper with SYSTEM user and wanted to create a new user with admin privileges
Got the error message
Error report -
ORA-01031: insufficient privileges
01031. 00000 -  "insufficient privileges"
Why? I am logged in with the SYSTEM user which was set up during the xe installation
how can I solve this problem
I have downloaded the Ubuntu iso file and I know how to burn it to a DVD.   How do I burn it to a bootable USB drive instead?
Unable to start mariadb on CentOS Linux release 7.4.1708 (Core)
(Linux 118 3.10.0-693.el7.x86_64 #1 SMP Tue Aug 22 21:09:27 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux)

Installation Process:-
# yum install mariadb-server

# yum list installed | grep mariadb
MariaDB-client.x86_64                  10.1.29-1.el7.centos            @mariadb
MariaDB-common.x86_64                  10.1.29-1.el7.centos            @mariadb
MariaDB-server.x86_64                  10.1.29-1.el7.centos            @mariadb
galera.x86_64                          25.3.22-1.rhel7.el7.centos      @mariadb
jemalloc.x86_64                        3.6.0-1.el7                     @mariadb

after that once m trying to run from mention cmd i got error

# systemctl start mariadb.service
Job for mariadb.service failed because a fatal signal was delivered to the control process. See "systemctl status mariadb.service" and "journalctl -xe" for details.

# systemctl status mariadb.service
● mariadb.service - MariaDB database server
   Loaded: loaded (/usr/lib/systemd/system/mariadb.service; enabled; vendor preset: disabled)
  Drop-In: /etc/systemd/system/mariadb.service.d
   Active: activating (start) since Wed 2017-12-20 14:11:14 IST; 113ms ago
  Process: 13215 ExecStartPre=/bin/sh -c [ ! -e /usr/bin/galera_recovery ] && VAR= ||   VAR=`/usr/bin/galera_recovery`; [ $? -eq 0 ]   && systemctl set-environment _WSREP_START_POSITION=$VAR || exit 1 …
under Location Profiles i see

Site Location Profiles and Shared Location Profiles. what are difference between them? when to use which one?
Dear All

            i received below error on veeam when backing up linux, any idea how to fix it ?







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.

Vendor Experts

Sandeep KumarKernel Data Recovery Learn more about Kernel Data Recovery
Naveen SharmaKernel Data Recovery Learn more about Kernel Data Recovery