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

Hello

I have tried a number of times to reduce the size of my EBS volume. I keep running into problems.

I am using Centos 7.3.1611 and Plesk (set up through Amazon marketplace)

I have managed to copy all the files over from the old server to the new using the instructions here (https://superuser.com/questions/1123799/how-to-decrease-size-the-ebs-root-volume-of-the-rhel-instance-in-aws) - as well as similar other guides.

The only difference is because I am using xfs instead of ext4 I was unable to do the e2label

When I attach the new volume to the instance as /dev/sda1 it does not load. I cannot connect to it using SSH and websites do not load.

I am at a loss now. I have tried so many times. I made a mistake making my initial EBS volume size way too big and it is costing me quite a bit of money every day.

I am unsure if the problem is because I am formatting my drive is XFS. This was the format of the original drive when I first set up the instance. I have not been able to find a guide that details how to shrink an EBS volume that is formatted in XFS, they are all for ext4.


If any one could provide some assistance that would be much appreciated.
0
Windows Server 2016: All you need to know
LVL 1
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

how can I get a docker container to contiully restart all the time . I am using this for a demo and what a simple container that all it will do is keep restarting

I guess pass a command to it for "sudo reboot" or something like that ?

thanks !
0
hi,

How to expand putty to full screen?

also i hae 20 server instances configured  named connection1, connection2 etc till connection20


when i connect it should say connection1 at the top than meaningless ip address etc at the top  of putty window. can i configure somewhere to do that?

also how to change text and background colors. please advise
0
I installed rhel 7 and installed yum server and rhel7 repository and everything works great
My question is: what is the way to add a repository of rhel6 and stoop to it in front of a red hat?

Is it possible ?
0
what is difference between below commands


$ cd xyz

it says no such file or directory

even
$ cd /xyz
says no such file or directory

where as when i say

$ cd /xyz/
it goes to xyz directory though

what is use or importance of /  and / at the beginning and end?

please advise
0
Hello All ,

I am trying to install SRIOV drivers over SUSE 12U1 but it gives me below error while configuring it :

#/root/ixgbevf-3.3.2/src:~#make

common.mk:102: *** Kernel header files not in any of the expected locations.
common.mk:103: *** Install the appropriate kernel development package, e.g.
common.mk:104: *** kernel-devel, for building kernel modules and try again.  Stop.

driver name is : ixgbevf-3.3.2

 lspci
00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev 02)
00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II]
00:01.1 IDE interface: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II]
00:01.2 USB controller: Intel Corporation 82371SB PIIX3 USB [Natoma/Triton II] (rev 01)
00:01.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 03)
00:02.0 VGA compatible controller: Cirrus Logic GD 5446
00:03.0 Unassigned class [ff80]: XenSource, Inc. Xen Platform Device (rev 01)
00:04.0 USB controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 10)
00:05.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8100/8101L/8139 PCI Fast Ethernet Adapter (rev ff)

Kernel : kernel-default-3.12.67-60.64.18.1.x86_64

OS: SLES 12U1

PLea
0
I have a CentOS 7 (7.3.1611 ) server running Gnome (3.14.2) and using xRDP (0.9.2-12.el7.x86_64) and authenticating via radius to DUO. I RDP (10.2) from Windows 10. This all work fine.

My problem is when the session locks or time out I can’t log back in unless I have a local password set which I don’t want to do. I want the auth to continuously go through radius/Duo.

My questions are:
1.      How or where do I point re-login to radius?
2.      Or when session times out to kill session so they have to re-auth through radius?
3.      How do I extend the session time out?

Thanks.
0
While starting samba it failing with following error
$ service smb start
smb: unrecognized service

Installed samba packages are
============================
$ rpm -qa |grep samba
samba4-libs-4.0.0-55.el6.rc4.x86_64
samba-common-3.6.9-151.el6.x86_64
samba-winbind-clients-3.6.9-151.el6.x86_64
samba-client-3.6.9-151.el6.x86_64
samba-winbind-3.6.9-151.el6.x86_64



My RHEL version: 2.6.32-358.el6.x86_64

I have added one entry for my share path
=================================
$ cat /etc/samba/smb.conf
# A publicly accessible directory, but read only, except for people in
# the "staff" group
        [Share]
        comment = Public Stuff
        path = /root/Share
        public = yes
        writable = yes
        printable = no
;       write list = +staff
0
Hi experts

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


OS - CentOS 7
0
Hi

Booted up and ended up somehow with a magnify square

How to close this annoying thing

Thanks
0
Are You Using the Best Web Development Editor?
Are You Using the Best Web Development Editor?

The worlds of web hosting and web development are constantly evolving. Every year we see design trends change, coding standards adapt and new frameworks/CMS created. With such a quick pace of change it’s easy to get lost trying to keep up.

See if your editor made the list.

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 Experts

I am trying install CentOS 6.8 minimal thru kick start on an Virtual Machine(VMware workstation) and assigning kickstart file thru http on another VM, kickstarts goes thru smoothly creates partitions and all but stuck on repo section unable to find repo following types of error, errors attached

Stuck with this error from few days, Please help

In /var/www/html location has ks.cfg file and all centos 6.8 minimal dvd content as it is

[root@srv1 html]# ls
CentOS_BuildTag  isolinux                  RPM-GPG-KEY-CentOS-6
EFI              ks.cfg                    RPM-GPG-KEY-CentOS-Debug-6
EULA             Packages                  RPM-GPG-KEY-CentOS-Security-6
GPL              RELEASE-NOTES-en-US.html  RPM-GPG-KEY-CentOS-Testing-6
images           repodata                  TRANS.TBL

Open in new window


Section of kickstart file i am assign is shown below
# Kickstart file automatically generated by anaconda.

#version=DEVEL
install
url --url=http://10.0.0.11/
text
lang en_US.UTF-8
keyboard us
network --onboot yes --device eth0 --mtu=1496 --bootproto static --ip 10.91.48.17 --netmask 255.255.255.224 --gateway 10.91.48.1 --noipv6 --nameserver 8.8.8.8 --hostname nac17
network --onboot no --device eth1 --bootproto dhcp --noipv6 --hostname nac17
rootpw  --iscrypted 
# Reboot after installation
reboot --eject
firewall --disabled
authconfig --enableshadow --passalgo=sha512
selinux --enforcing
timezone --utc Asia/Kolkata
#bootloader 

Open in new window

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?
1
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
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
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
Free Tool: Port Scanner
LVL 9
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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

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