Linux Distributions

26K

Solutions

15

Articles & Videos

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

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
[Webinar] Learn How Hackers Steal Your Credentials
LVL 8
[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Greetings,

I have a 700gb postgres database which has a standby readonly replica and I wish to migrate and upgrade to a new server with the latest postgres version so what would be the ideal migration path for this situation? it's in a Linux environment.
0
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.RGaLcw
+ umask 022
+ cd /root/rpmbuild/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /root/rpmbuild/BUILD
+ rm -rf centrifydc
+ /bin/tar -xvvf /root/rpmbuild/SOURCES/centrifydc.tar.gz
drwxr-xr-x root/root         0 2017-06-12 09:50 etc/
-rw-r--r-- root/root        45 2017-06-12 09:50 etc/hosts
-rw-r----- root/root        52 2017-06-12 09:50 etc/sudoers
drwxr-xr-x root/root         0 2017-06-12 09:50 etc/centrifydc/
drwxr-xr-x root/root         0 2017-06-12 09:50 etc/centrifydc/ssh/
-rw-r--r-- root/root      1236 2017-06-12 09:50 etc/centrifydc/ssh/banner
-rw------- root/root      3898 2017-06-12 09:50 etc/centrifydc/ssh/sshd_config
-rw-r--r-- root/root      1855 2017-06-12 09:50 etc/centrifydc/passwd.ovr
-rw-r--r-- root/root       500 2017-06-12 09:50 etc/centrifydc/user.ignore
-rw-r--r-- root/root     85799 2017-06-12 09:50 etc/centrifydc/centrifydc.conf
-rw-r--r-- root/root        24 2017-06-12 09:50 etc/resolv.conf
+ cd centrifydc
/var/tmp/rpm-tmp.RGaLcw: line 34: cd: centrifydc: No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.RGaLcw (%prep)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.RGaLcw (%prep)
0
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
Hello Experts,

wrf - https://fazlearefin.blogspot.com/2013/03/set-hostid-etchostid-of-linux-hosts.html

I am using the below code to customize my hostid on my RHEL6 server
#!/bin/bash
#
# Purpose: Write the passed in parameter as hostid to /etc/hostid
#          If no parameter is passed, write current hostid to /etc/hostid
# Author:  Fazle Arefin

if [[ -n "$1" ]]; then
  host_id=$1
  # chars must be 0-9, a-f, A-F and exactly 8 chars
  egrep -o '^[a-fA-F0-9]{8}$' <<< $host_id || exit 1
else
  host_id=$(hostid)
fi

a=${host_id:6:2}
b=${host_id:4:2}
c=${host_id:2:2}
d=${host_id:0:2}

echo -ne \\x$a\\x$b\\x$c\\x$d > /etc/hostid &&
  echo "Success" 1>&2

exit 0

Open in new window


For some reason the host ID is not changing....

Currently my host ID is
# hostid
770aa106

I used the above script and tried to change the hostID to
 # ./setuphostid 770aaa01
770aaa01
Success

but when I run hostid its not the same
# hostid
3130785c

Is the any other way to customize the hostid on RHEL6.9, By the way it also created /etc/hostid file

# cat /etc/hostid
\x01\xaa\x0a\x77

Can someone help me or suggest me why its not changing....??

Much appreciated...
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
i downloaded driver from tp-link site.but i don't know how to install it? tell me step by step. or another solution for driver installation.
0
NFR key for Veeam Backup for Microsoft Office 365
LVL 1
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

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
Hi,

Configuration Raspberry Pi 3 with camera
QNAP TS-453 Pro

I have a Raspberry Pi 3 up and running with the help of this image: http://ronnyvdbr.github.io/RaspberryIPCamera/
The guy who developed the image has a blog where he describes how to connect the Raspberry to Survellance Station:
https://random-notes-of-a-sysadmin.blogspot.nl/2016/03/howto-set-up-raspberry-ip-camera-on.html

I tried it and can connect to Surveillance Station, using these settings:

Camerabrand:       Generic Model
CameraModel:      Generic RSTP
Cameraname:        Camera 1
HTTP URL:              /
IP address:             192.168.10.10
Port:                        80
RSTP Port:              8554
Username:             <empty>
Password:              <empty>

When I use the rstp url in VLC, it works great: rtsp://192.168.10.10:8554
On Surveillance Station, every now and then the connection works, the camera in connected and I can see what it's filming.
After less than a minute the camera is disconnected.

For now it looks like the only times I had a successful connection when I played the stream in VLC as well....
But I can not reproduce that, because it's not working this way every time....

What could be the cause of this ?
0
I'm trying to run this eBPF program:
https://git.kernel.org/pub/scm/linux/kernel/git/shemminger/iproute2.git/tree/examples/bpf
By running bpf_proc.c I get this error:
$ :~/iproute2/examples/bpf$ sudo tc filter add dev enx00e11100329b parent 1: bpf obj bpf.o exp /tmp/bpf-uds flowid 1:1 action bpf obj bpf.o sec action-mark            action bpf obj bpf.o sec action-rand ok
[sudo] password for adel:

Prog section 'classifier' rejected: Permission denied (13)!
- Type:         3
- Instructions: 218 (0 over limit)
- License:      GPL

Verifier analysis:

0: (bf) r6 = r1
1: (18) r9 = 0xffe0000e
3: (69) r0 = *(u16 *)(r6 +16)
invalid bpf_context access off=16 size=2

Error fetching program/map!
Failed to retrieve (e)BPF data!

Any ideas?
Thanks!
0
Hi EE,

I have an old Ubuntu 12.10 that Im going to upgrade, but before doing that I would like to do a backup.
Im not an expert on Ubuntu and I have read https://help.ubuntu.com/community/BackupYourSystem but gotten stuck on what should I use to do a full backup of my Ubuntu before upgrading it?

Thanks.
0
Update issue when running 'yum update'
Mirror list issue when running a 'yum update'
0
all of the sudden all my 3 VMs failed to boot.

RHEL 6.9  running on ESXi 6.5.  I have other VMs working fine.

I tried to boot from previous kernel 6.8 version. still same issue. I can't go to single user mode either.
no vmware VM configuration changed so far.
0
hello , i installed manjaro linux distro (archlinux) , but i can't download or update software packages because  pacman.d directory not found
these  are the errors for (pacman -Syy command line ):  
error: failed to update core (no servers configured for repository)
error: failed to update extra (no servers configured for repository)
error: failed to update community (no servers configured for repository)
error: failed to update multilib (no servers configured for repository)
error: failed to synchronize any databases
error: failed to init transaction (no servers configured for repository
0
Having an issue starting startX. it cannot find the connected monitor, here is the log:
   898.610] 
X.Org X Server 1.16.4
Release Date: 2014-12-20
[   898.611] X Protocol Version 11, Revision 0
[   898.611] Build Operating System: Linux 3.16.0-4-amd64 x86_64 Debian
[   898.611] Current Operating System: Linux Concept5 6.1.1-1#1 SMP Mon NOV5 18:23:31 EST 2016 x86_64
[   898.611] Kernel command line: BOOT_IMAGE=/boot/linux26 ro ramdisk_size=16777216 rw quiet splash=silent
[   898.612] Build Date: 11 February 2015  12:32:02AM
[   898.612] xorg-server 2:1.16.4-1 (http://www.debian.org/support) 
[   898.612] Current version of pixman: 0.32.6
[   898.612] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   898.612] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   898.614] (==) Log file: "/var/log/Xorg.0.log", Time: Thu May 11 08:22:30 2017
[   898.614] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   898.614] (==) No Layout section.  Using the first Screen section.
[   898.614] (==) No screen section available. Using defaults.
[   898.614] (**) |-->Screen "Default Screen Section" (0)
[   898.614] (**) |   |-->Monitor "<default monitor>"
[   898.615] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[   898.615] 

Open in new window

0
hey i am using kali linux and just trying to open Facebooker.pl in the terminal but it always says bash: ./Facebooker.pl :Permission Denied
0
Microsoft Certification Exam 74-409
LVL 1
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Hi,

what are the best practices and features, options while using grep.

i am using these days to search in log files, files, directories, content etc

When should i give single quote '  '
like
zgrep 'xyz' aaa.gz


When should i give double quote " "
like
zgrep "xyz" aaa.gz


how to use tail and head etc along with grep to effectively monitor last or first 100 lines etc
please advise
0
Hi,

I keep getting below error when i wrote hello.sh shell script file and try to open it to.



Swap file ".hello.sh.swp" already exists!
[O]pen Read-Only, (E)dit anyway, (R)ecover, (Q)uit, (A)bort:



why it created .swp file autoatically?
why it asks above question. How to tell unix not to ask that question.
please advise
0
Hi,

I am trying below program

http://www.programmingunit.com/2013/04/19/shell-script-to-check-leap-year/

how to save and execute above shell script and see output and send output to different files say test123.txt. please advise

i tried using vi editor as sample.sh and pasted content.

did esc to escape from isnert mode then shift zz to comeback to regular screen from vi mode

]$ vi sample.sh

[1]+  Stopped                 vim sample.sh

Not sure what it mean by stopped as above i saw message

when i ran getting error
]$ ./sample.sh
-bash: ./sample.sh: No such file or directory

when i do ls -ltr i do not see sample.sh though
0
Hi,

I like to write a unix shell script to check calendar year, date, current working directory.

how to write and shave .sh file(Say test.sh) and how to execute to see the output.

Any detailed link explaining these steps with screenshots. please advise
0
What are differences between
touch cat vi differences

which one is better to use to create a file. When to use which one. please advise
0
Hi,

I want to replace workd with wood in aaaa.txt file.
how to achived it.

tried below not working.

sed -n '/world/!p' aaaa.txt:s/wood/xx aaaa.txt


sed: can't read aaaa.txt:s/wood/xx: No such file or directory

please advise
0

Linux Distributions

26K

Solutions

15

Articles & Videos

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).