Linux Distributions

26K

Solutions

20K

Contributors

A Linux distribution is an operating system made as a software collection based on the Linux kernel and, often, on a package management system and are available for a variety of systems. A typical Linux distribution comprises a Linux kernel, GNU tools and libraries, additional software, documentation, a window system (the most common being the X Window System), a window manager, and a desktop environment. Most Linux systems are open-source software made available both as compiled binaries and in source code form, allowing modifications to the original software. Over three hundred distributions are in active development, including commercially backed distributions (such as Fedora, openSUSE and Ubuntu) and community-driven distributions (such as Debian, Slackware, Gentoo and Arch Linux).

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

Sign up to Post

I'm having a small issue with a recently provisioned Debian 9.1 VM (from an online hosting company).

When deploying the VM I am provided with Key-Based Authentication for the machine. Those work fine (with the new "debian" super user, root not being anymore active by default) but I'd like to be able to use user / pass too (if nothing else for console access).

How do I set my password ? I tried
passwd debian

Open in new window

but I am prompted for the "old" password which I don't know...

Also - even if it is not best practice - can I activate the root user ?
0
Learn Veeam advantages over legacy backup
LVL 1
Learn Veeam advantages over legacy backup

Every day, more and more legacy backup customers switch to Veeam. Technologies designed for the client-server era cannot restore any IT service running in the hybrid cloud within seconds. Learn top Veeam advantages over legacy backup and get Veeam for the price of your renewal

I am using Centos 6 and Putty .67.  I need to copy the entire contents of a file that I have open and I am editing with nano or vi.  I can copy and paste what can be seen but it doesn't copy what is outside of the screen.  I have this problem on my largest screen or my laptop screen.

For example, often I want to copy some code but i can only copy what I can see and then I have to paste those contents and then go back where I left off and copy the remainder of the code and then paste those contents next to what I just pasted.

Isn't there an easier way?
0
What are the ways to get RHEL patches ?

1. Doing 'yum' to pull down directly from RHN support
2. My Unix admin told me he could download via Tcp443 all the rpm packages
    for RHEL 7 patches (to a development server in DMZ) & then do 'yum'
    against these RPMs : is this true?
    Then he can scp/sftp these RPMs internally to other RHEL (or share out via
    NFS) servers to update patches to the other servers.
3. Set up a Satellite server : there's cost to this.  Is Satellite servers hosted in
     DMZ as a practice
4. Any other methods?

Which of the above are more secure?  We prefer not to let all servers directly
'yum' to RHN support due to security & bandwidth concerns
0
OS : Linux release 7
Recently we have installed some Oracle software on server.
This Dev server, out of total 20GB, it is taking around 10GB for swap as below.
                    total         used
Swap:          9207        9205


free -m shows presently 500 MB memory is free in OS.
Shall we go for Mem Upgrade or  Any alternate fix required to resolve this issue.

please advise
0
SIPp is a free SIP traffic generating tool for Linux.
http://sipp.sourceforge.net/

SIPp user manual says you can install SIPp under CYGWIN on windows. However I am not experienced  with compiling applications to run under Linux and need help getting SIPp up and running under CYGWIN on a windows10 machine.

I have successfully installed CGYWIN and included the following packages (all successfully)
gcc-core
gcc-g++
gcc
libncurses
make

After the CGYWIN install, I put C:/cygwin64/bin in the win10 systems’ environment variable PATH – so far all ok and CGYWIN seems to be working fine.

In addition, the SIPp install instructions state:

Warning
SIPp compiles under CYGWIN on Windows, provided that you installed IPv6 extension for CYGWIN (http://win6.jp/Cygwin/), as well as libncurses and (optionally OpenSSL and WinPcap). SCTP is not currently supported.


QUESTION 1 -  Do you know what this is???    IPv6 extension for CYGWIN http://win6.jp/Cygwin/ 
is it a CYGWIN package, and entire install version??
What/how do I need to do to check/install?

QUESTION 2 – Nothing happens when I try to run “autoreconf -ivf” ...but this might have to do with Question 1 not being addressed yet.

 /cygdrive/c/Backup/tools/SIPp/3.3
$ autoreconf -ivf
-bash: autoreconf: command not found


+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
FROM DOC


Installing SIPp
•      On Linux, SIPp is provided in the form of source code. You will need to…
0
i'll need a Shell script that scans thru creation dates of all patches (ideally only the security ones but
if this is not possible, then all patches) installed in an RHEL 7 server, get the latest one, compute
the difference from today's date & give the difference in number of days & if the difference is
more than 90 days, echo out a message, "It has been more than 90 days since last patch)

Purpose is to check the last patch date & remind Linux admins.  Believe RHEL releases patches
at least every 3 monthly?
0
I want to search on below error
java.io.FileNotFoundException:

I want to search on all the weblogic domian directory files and its sub directory files and sub sub directory files?
how to search all the way to great great grad child level?

please advise
0
i am in particular folder say abc.

I did ls -ltr where there are bunch of files.

i want to search all the files starting with file name xyz alone ignoring other starting with pqr etc(ignore pqr000.log.20170806.gz etc).
My search should result like

xyz123.log.20170806.gz
xyz456.log.20170806.gz
xyz789.log.20170806.gz etc



What is the command i have to use for that.

is it grep or find or something else.

when i gave grep xyz.* it did not gave any result.

how searching inside a file content is different from search outside on unix file names.

any good link on these commands? please advise
0
thanks !
0
how can I see all packages that are installed in a Ubuntu instance?

thanks
0
Industry Leaders: We Want Your Opinion!
Industry Leaders: 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 experts

Require script to capture all root logins, through su - or direct login with root.


OS - CentOS 7
0
Hi,

In putty vi editor vi unix how to see later pages and change colors for bettwer view.

i open big property file not able to see what is at bottom.

how to search in vi editor for some text sat xyz.

setting i went i changed colors , font etc not reflecting.

what is best setting to give for better view

when i opened
abc.properties in vi
it says 536L, 28390C
what is L what is C
how to know how many lines there how many it is showing etc
can i use winscp free version for production servers viewing property files?
please advise
0
Hi,

I am fed up with putty with basic options.

Any better tools or IDEs to check logs or to grep unix/linux boxes.

Where  i can download secure ftp and how much is fees?
any advanced putty IDE there
any good free IDE accepted by industry.

please advise
0
Dear Experts,

How to copy or transfer a file from one Linux server to multiple Linux server in same network from a single cmd or script ? It should be a single line cmd for copy my file to multipal servers, don't want to use separate line for every server.

for example:
scp report_zonal 192.168.7.111 192.168.7.112 192.168.7.113 192.168.7.114:/home/Zonal/Desktop

i dont know it is possible or any other way to make it possible, please suggest

Currently i am using this method, it is working also, but i don't want to use this process.

[root@200 ftp]# cat FileTransfer.sh
#!/bin/bash
# transfer file to server
cd /root/
#DC Zonal
scp report_zonal 192.168.7.111:/home/Zonal/Desktop
scp report_zonal 192.168.7.112:/home/Zonal/Desktop
scp report_zonal 192.168.7.113:/home/Zonal/Desktop
scp report_zonal 192.168.7.114:/home/Zonal/Desktop
0
Hello!
I've got about 65GB of an unallocated space in Ubuntu Desktop 14.04 and I have no idea how to use it. When I try to make a new partition, it says that there could be only 4 primary ones.my partition scheme
0
As we are now using RHEL 7.x (not the more than decade ago Red Hat Linux 7)
& Solaris 10, are the following still applicable to us:

Exploit             OS                                       Vulnerability

CATFLAP               Solaris 7/8/9                           Remote code execution

COTTONAXE   LiteSpeed Web Server    Remote code execution

dtspcdx_sparc SunOS 5.0-5.8 DTSPCD  Remote code execution

EARLYSHOVEL RedHat 7.0-7.1                Unspecified
                         & Sendmail 8.11.x

EMBERSNOUT  Red Hat 9.0                   Unspecified ==> I suppose this is the decade ago RH Linux 9, right?

sneer                Sun SNMP daemon        Remote code execution
                           mibissa      

statdx                Redhat Linux                  Remote root access  ==>  is this the decade ago Linux?
0
how can I pipe standard error and standard error right to the screen

like if I do a sudo service start < some service>

and it fails is there a way to get verbose information  on why ?


thanks

I am new to this
0
I am looking for a command that will tell me in the whole host if I have the rights to the entire file system , if any files have changed in the last one minute or 5 minutes

I thank you very very much in advance and will reward pts right away !!!!
0
Hi,  I'm seeking guidance from team and sort out things out.  I currently hold a Security+ cert that's due to expire in 11/17 and at the same time moving to a new position that requires Linux support on the (desktop) client side.  So my question is, instead of renewing my Security+, study for Linux cert and use it as a CE for my Security+.  I'm required to maintain my security+ cert due to the nature of m y job but I'm interested in adding another cert to my resume.  
What do you guys think and the best place to start and plus study material?
I ordered "Red Hut Enterprise Linux 4 for DUMMIES" BOOK from eBay and it has CD as well.  I've a spare laptop and a desktop and enough resources to install Linux but I need guidance. BTW, I've been a Windows professional for many years and would like to mix things up a bit.
Your thoughts ??
0
Free learning courses: Active Directory Deep Dive
LVL 1
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Could I for example have this setup on a MacBook Pro with a 2 TB SSD drive?:

Mac OS X, Windows 10, the Chromebook OS, two Linux distributions, and Unix.

And then I can switch between each of these with the press of a button? Or, as I received an answer earlier regarding this, I instead need to log out and log into each of the OSs (there was some advantage with this)?

When it comes to making an image of the OSs for quick recovery when needed, should I have only 1 single backup image of the whole VM (including all OSs), or should I have separate backup images for each of the different OSs? I think the second alternative would be best, because it's always not optimal to use a backup image (the performance is not the same, somewhat less performance).

When it comes to being visible on the internet, would I be a more easy target using a MacBook Pro and the VM with different OSs?

What about wifi connection and noise from the fan for a MacBook Pro? Is the wifi working excellent to connect to any network, and is there no risk for a lot of noise from the fan when running software in different OSs or when accessing certain websites?
0
I cannot seem to find a good explanation of this.

thank you !
0
I use ubuntu and i have a scanner.  is this enough to make a digital signature?  i only know someone called me on the phone and wanted a signature but they knew nothing about ubuntu and ///////i know nothing about digital signatures.
0
[root@web02 ~]# cat /etc/*-release
CentOS release 6.8 (Final)
LSB_VERSION=base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch
CentOS release 6.8 (Final)
CentOS release 6.8 (Final)

[root@web02 ~]# yum info -v apache-tomcat-apis
Loading "fastestmirror" plugin
Config time: 0.076
Yum Version: 3.2.29
rpmdb time: 0.000
Setting up Package Sacks
Loading mirror speeds from cached hostfile
 * base: centos.mirror.rafal.ca
 * extras: centos.mirror.rafal.ca
 * updates: ca.mirror.babylon.network
pkgsack time: 0.126
Installed Packages
Name        : apache-tomcat-apis
Arch        : noarch
Version     : 0.1
Release     : 1.el6
Size        : 246 k
Repo        : installed
From repo   : base
Committer   : Andrew Overholt <overholt@redhat.com>
Committime  : Tue Feb  2 07:00:00 2010
Buildtime   : Wed Nov 10 19:18:17 2010
Install time: Sun May 28 11:58:23 2017
Installed by: root <root>
Changed by  : System <unset>
Summary     : Tomcat Servlet and JSP APIs
URL         : http://tomcat.apache.org/
License     : ASL 2.0
Description : Apache Tomcat's Servlet 2.4/JSP 2.0 and Servlet 2.5/JSP 2.1 APIs.

[root@web01 ~]# cat /etc/redhat-release
CentOS Linux release 7.3.1611 (Core)

[root@web01 ~]# yum info -v apache-tomcat-apis
Loading "fastestmirror" plugin
Config time: 0.009
Yum version: 3.4.3
rpmdb time: 0.000
Setting up Package Sacks
Loading mirror speeds from cached hostfile
 * base: centos.mirror.globo.tech
 * extras: centos.bhs.mirrors.ovh.net
0
in Unix

what is the meaning of below command



zgrep 'RPT|O|GetProducts' xyz.gz meaning
why we need RPT|o|
in the beginning what is the meaining of pipe here?
please advise
0
Dear Experts, I tried running the following GP program on my Fedora box:

package main

import (
	"io/ioutil"
	"log"
	"strings"
)

func main() {
	input, err := ioutil.ReadFile("/home/david/testdir/testfile")
	if err != nil {
		log.Fatalln(err)
	}

	lines := strings.Split(string(input), "\n")

	for i, line := range lines {
		if strings.Contains(line, "ChangeMeDoain") {
			lines[i] = "banana.com"
		}
	}
	output := strings.Join(lines, "\n")
	err = ioutil.WriteFile("/home/david/testdir/testfile", []byte(output), 0644)
	if err != nil {
		log.Fatalln(err)
	}
}

Open in new window


which should search for the string "ChangeMeDomain" and change it to "banana.com"

However, it changes the entire line.

Any ideas how to change only the string in question?
0

Linux Distributions

26K

Solutions

20K

Contributors

A Linux distribution is an operating system made as a software collection based on the Linux kernel and, often, on a package management system and are available for a variety of systems. A typical Linux distribution comprises a Linux kernel, GNU tools and libraries, additional software, documentation, a window system (the most common being the X Window System), a window manager, and a desktop environment. Most Linux systems are open-source software made available both as compiled binaries and in source code form, allowing modifications to the original software. Over three hundred distributions are in active development, including commercially backed distributions (such as Fedora, openSUSE and Ubuntu) and community-driven distributions (such as Debian, Slackware, Gentoo and Arch Linux).