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
Visualize your virtual and backup environments
LVL 1
Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

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
I cannot seem to find a good explanation of this.

thank you !
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
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
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
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!

I am running redhat linux 6.8

i want to build a new RPM using the source code of nodejs (6.10)

As i am new to RPB build, i am looking for assistance with creating RPM.

https://nodejs.org/en/download/
0
Hi,
I have a application that connects through the database through ODBC connectivity to connect to the mysql database. I had a server called ejabberd installed on my system(Windows 10). I had the compiled files of my application placed inside the folders of this server ejabberd and made calls from the clients and it ran fine since the odbc configuration on my system was done alright by me.

But now I have a linux machine on AWS server. I have installed this server ejabberd on this linux instance, so all the folders of ejabberd are on some other linux machine. Now when I will paste the compiled files of my application on this linux machine inside the ejabberd folder they will again look out for ODBC configuration that should be present on that linux instance to connect to the mysql tables placed there.

So my question is that how can I download mysql connector/odbc on the linux instance and provide the DSN configuration since it is a linux machine and I only know the method of configuring DSN through GUI on my windows machine. If anyone have any Idea about this kindly share your Ideas. Thank you in advance.
0
I have one server which has installed Suse Linux OS, Server is configured with swap 0. I am getting swap 0 alarms on my Nagios server. My query is that I want to disable swap alarm from the server. kindly suggest the way.

 
vmsp3perfmspvmt:~ # free -m
             total       used       free     shared    buffers     cached
Mem:         15567        648      14919          8        182        251
-/+ buffers/cache:        215      15352
Swap:            0          0          0
0
Hi Experts

I have a customer that has Centos 7 samba file server installed.
The exciting storage is LVM volume consists of 3 hard disks (1TB x 3), configured RAID5(centos level), formatted in XFS file system.
My scope is to upgrade the storage of the server using additional 2TB x 4 hard disks.

I just simply created additional RAID5 volume using Utilities-Disk and formatted the new volume in EXT4 file system, created a new shared folder there.

The problem is the shared folder created in new volume I created cannot be accessed by Windows 7 users, get error message" contact network administrator" etc. But it can be accessed from Windows XP machine.

After some Googling, found some suggestion about changing setting for "Network security: LAN Manager authentication level" for windows 7 but it doesn't work.
The confusing here is why it simply doesn't work while it is just the new volume, in the same server ?
The only difference with exciting old shared folder volume is file system. Any idea why it's shared folder can't be accessed ?

Question:

1.
Can I simply extend exciting LVM volume with additional 2TB x 4 (raid5) ? Can I add new HDD to exciting Volume group ?
If yes, please advise the step? If I do that, would that fix the issue?
Please note that the old volume is 1TB x 3 RAID5 volume, new hard disks are 2TBx4 hard disks.
I need to carefully do this not to affect exciting shared folder and volume.

2.
If I delete new RAID5 array (2TBx 4) …
0
Hi Experts

I have a customer that has Linux Centos 6.5 samba file server installed. (old server)
They also have another server that has Centos 7 samba file server installed. (new server)
My scope on the project is to migrate from old server to new server.
I'm not very good in Linux but I understand that it requires to create Linux users as well as samba user for file sharing permission.

What is the proper way to migrate shared folder to new server including [file and folder permissions] and [list of users(linux and samba)"]?
Example we can use Robocopy in Windows server to migrate permission, how about in Linux ? Could you please provide step by step ?


Thanks
0
Dear All,

We have created a chrooted jail environment for our SFTP access. Using chrooted environment, we restrict users either to their home directory or to a specific directory. Now my question is if there's anyway we can an additional username to access the same home directory for other username? Or any other words, is there anyway I can assign different usernames to the same home-directory and have it chrooted jail?

Below is our current config if that helps:

group add sftponly


vi /etc/ssh/sshd_config

#Subsystem sftp /usr/libexec/openssh/sftp-server
Subsystem sftp internal-sftp
Match Group sftponly
ChrootDirectory %h
ForceCommand internal-sftp
X11Forwarding no
AllowTcpForwarding no

systemctl restart sshd.service

useradd USERNAME –g sftponly –s /bin/false
passwd  USERNAME


mkdir /home/USERNAME/SFTPWRITE
chown root /home/USERNAME
chmod 755 /home/USERNAME
chown USERNAME /home/USERNAME/SFTPWRITE
chmod 755 /home/USERNAME/SFTPWRITE

setsebool –P ssh_chroot_rw_homedirs on
0
Have a telecommunication server that switched over to its backup. After the switchover we noticed a couple of files that can't be deleted.

[root@LABSYS2 log]# ls -ltr
ls: cannot access 1000025.DBG: Input/output error
ls: cannot access 10002CB.AUD: Input/output error
total 769808
-????????? ? ?          ?            ?            ? 10002CB.AUD
-????????? ? ?          ?            ?            ? 1000025.DBG

I tried to find the inode of the file and use it to delete but "ls -il" did not return inodes  (it only did for other files in dir)

ls -li
find ./ -inum <inode number> -exec rm -i {} \;

Please offer any suggestions.

Thanks!
0
i ried to print a simple picture that lust saYS:
1) " TOP OF SCREEN"
2) "BOTTOM OF SCREEN""
3) "LEFT SIDE OF SCREEN"
4) "RIGHT SIDE OF SCREEN"
To figure out where what I draw (I'm by no means an artist) will be printed on the paper.
It prints nothing.
0
Dear Colleagues,

I have brand new Ubuntu 16.04.2 LTS with installed on it MATE Desktop Environment v. 1.12.1 and TightVNC-1.3.10.
All seems good, but when I connect to my TightVNC server I have just grey window with a cross that I’m able to move, that’s all (see screenshot).
Could you help me to determine where my mistake is ?
Config  file and connection logs are attached.
VNC_grey_window.jpg
VNC_config.jpg
VNC_server_logs.png
0
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!

open source instant messenger which can be integrated with outlook
0
I install krb5 in linux and start services kinit "domain"
client "domain"not found in Kerberos database while getting initial credentials

kinit.client  working fine.
0
Hi,

I have a linux box which is running redhat, it was badly put together with LVM, partitions are too small and in the wrong place.

Is it possible to build a linux box with the same version of linux with the partitions as I want them and then copy everything over to the new server and boot it up as the old server was?

Is there a procedure for this?

Thanks
0
Guys, Please support me with wifi connection on my laptop. I have triple boot (win10, ubuntu 16.04 & Kali linux) on my laptop. No problems with Windows wifi and router but linux keep on disconnecting me from wifi. There is no problem with eth0 at all.

After every few minutes i have to restart my network manager using terminal - service network-manager restart.

Is there any way that network- manager keep on connecting automatically.
0
We are in the process of migrating data off of our EMC VNX and on to our Pure storage //m50 array. We have a few RedHat 6 hosts That are using Powerpath as their MPIO software. This is fine for connecting to the VNX, however we need to connect this to our Pure Storage array and move the data there. I found an article that states that it is not recommended to install dm-multipath on the same host as powerpath as it  can cause kernel panics. Should I uninstall powerpath and install dm-multipath or will powerpath be able to manage non-emc storage? For the later, we plan on Rye ring these hosts in a few months time, So I'm not concerned with the powerpath license expiring.  Thanks
0
I have some google sites (sites.google.com), I am able to access them when I connect to modem directly. but I tried to access through pfsense but no seccess. I tried to disable squid and squidguard. But still no success. 
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).