Linux Distributions

27K

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

Hi Linux experts

i have old Linux box  suse
Linux sword 3.16.6-2-desktop #1 SMP PREEMPT Mon Oct 20 13:47:22 UTC 2014 (feb42ea) x86_64 x86_64 x86_64 GNU/Linux

i have a new Linux box Centos
Linux centostest 3.10.0-862.3.2.el7.x86_64 #1 SMP Mon May 21 23:36:36 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

i have freenas installed

now i want to mount NFS file system NFV V2

it work on old box but dose not work on the new one

any idea here

i am using this command
 mount -t nfs -o vers=2 freenas:/mnt/test/ewtwo/wzbnc /testone/


this line dose not help me
http://kb.kristianreese.com/index.php?View=entry&EntryID=161


[root@centostest ~]# mount -t nfs -o vers=2 freenas:/mnt/ewtwo /sword/
mount.nfs: Protocol not supported

when i use vers=3 it work perfectly on both   vers=2 work only on the old one

any idea here


thanks
0
Get your problem seen by more experts
LVL 12
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

I removed php 5.4.16 and installed php 7.2 and now when I access my wordpress site it isn't parsing php, when I run which php it shows not installed,  When I run yum -y update it says nothing to update.

Here is yum showing PHP was installed:
Installed:
  php72-php-fpm.x86_64 0:7.2.5-1.el7.remi
  php72-php-gd.x86_64 0:7.2.5-1.el7.remi
  php72-php-mbstring.x86_64 0:7.2.5-1.el7.remi
  php72-php-mysqlnd.x86_64 0:7.2.5-1.el7.remi
  php72-php-opcache.x86_64 0:7.2.5-1.el7.remi
  php72-php-xml.x86_64 0:7.2.5-1.el7.remi
  php72-php-xmlrpc.x86_64 0:7.2.5-1.el7.remi

Dependency Installed:
  fontconfig.x86_64 0:2.10.95-11.el7   gd-last.x86_64 0:2.2.5-2.el7.remi
  jbigkit-libs.x86_64 0:2.0-11.el7     libtiff.x86_64 0:4.0.3-27.el7_3
  libwebp.x86_64 0:0.3.0-7.el7         php72-php-pdo.x86_64 0:7.2.5-1.el7.remi

Complete!

Open in new window


What else do I need to do for it to recognize php is installed?

I am on a Centos 7 server

Thanks,

Randal
0
I had this question after viewing How Remove IP from IPset?.

How do I add a list of ip's to the ALLOW ipset?  Presently, they are in a text file single spaced separated by a return.  Here is a screenshot

https://gyazo.com/3ca73fc465513f6b9b09aa9104907d30

I have a similar list for ipv4's too.  Can both of them reside in the ALLOW subset?  If not, please tell me how to create one for ipv6.

Thanks,

Randal
0
I need to create an ipset for ipv6 I have it for ipv4 already.  I want to use ipdeny.com and insert specific country blocks into the ipset which is connected to the iptables.
0
Possible to install Oracle Linux 7 on a separate partition on my home PC?  Need to get experience with Oracle Linux for my new job.  Platform at work will be x86-64bit target.

Processor:         Intel(R) Core(TM) i7-6700 CPU @3.40GHz
System Type:    X64-based PC
0
I am moving over my production DB to a test server and this is holding up my progress to get cut over.

Mysqldump of a mysql db isn't complete.  When I import to a Maria DB many of the tables aren't populated like they are in the source.  One obvious table is the products table.  After the import it shows 0 products.  In the source there are over a 1,000 products.

This is the command I am using mysqldump -u root -p --opt [source db] > [dumpname.sql]

I am on a Centos 7 target system and a Centos 6 source system.

Please tell me a way to get my complete MySQL DB imported into a Maria DB.
0
Hi Team,

I am having a requirement to write a shell script for password expiry along with email notification for Linux users.
Request you to do this needful.
0
Individual log  files on my server getting zipped every 1 hour and individual log files getting deleted.

PRoblems i am facing with zipped log files are
1. not able to grep them as easily as individual files

2. not able to tail to see any recent issues



if i copy over to local windows laptop using winscp and unzil anf try to open individual file using notepadd++ says too huge file to open.


how to extract zip file in unix box itself and check log files by doing grep and tail etc

please advise
0
Hi Experts

Could you clear what must to be done before to install Lubuntu 64 bits ?

After download Lubuntu installer at  Lubuntu  and obtain what I expect to be the installer:

img002
And when trying to install it a DVD burn software starts...

img001
So, is it obligatory to create a DVD instalator before to install it?

But, if I want to start from a pen-drive f.e. , do I have any workaraound?

Thanks in advance.
0
How do I remove an ip from a country block using ipset?  I am on Centos 6.
0
Free Tool: Subnet Calculator
LVL 12
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Hi Experts

Could you point the more convenient  Ubuntu version and  where to obtain it to fit  with this hardware?
(an old laptop)

img001
Thanks in advance!
0
Hello all,

System specifics:
- Virtualbox
- Ubuntu  v18.x LTS
- Virtual drive (dynamic)


I am trying to expand an extended partition in a Virtualbox Ubuntu 18.x installation. I stupidly started with a 10 GB virtual drive and quickly ran out of space. :(

So this is what I did:
  1. Increased the virtual drive size via, "VBoxManage modifyhd “virtualmachine.vdi" --resize kbytes"
  2. Started a secondary copy of Ubuntu and mounted the primary Ubuntu vitual volume (the one I want to expand)
  3. Deactivated the /dev/sda2 (sdb2 - in secondary boot) partition
  4. [a few other steps]
  5. Selected partition and resized.

[so far so good]
Then I rebooted into the primary Ubuntu and discovered that Ubuntu couldn't see the additional 10 GB of volume space. :(
But gparted shows that I should have 10.02 GiB of unused space?

I think the problem is that gparted extended the partition but didn't do the same for the file system.

How do I fix this? I am at a loss.

Booting back into the secondary Ubuntu and mounting the other virtual disk, I have tried:
- resize2fs I just see some variation of a "superblock error"

pvscan shows:
PV /dev/sdb5   VG yvr-UbuntuDevTest01-vg   lvm2 [19.52 GiB / 10.02 GiB free]

Which looks perfect but when I boot back into the primary Ubuntu system, I see only 170 MB free... which gparted still shows that I should have 10.02 GiB of free space. :(

repartition.png
0
I would like to know if it's possible, from an OS which have full access to Apt-Get from command line, to create an install package to an USB stick, and take this stick and put it in a VM who is pretty much locked down by our provider?

I'm not trying to hack, just simply install Nano editor on it with its dependancies, because the provider somehow changed the list of servers where Apt-Get get it's packages.  It seems to point to itself (127.0.0.1).   So now i'm stuck with VI editor.  I guess they have done this for system stability...   but i know that if i'm stuck with VI, i'll end up by making a mistake.  

Thanks you
0
is it possible to install ubuntu on a flash drive ?
what i need is to install ubuntu on a flash drive (32)gb, boot from the flash dribe and use it to work on android studio
0
I upgraded Debain Jessie to Stretch, and cannot boot into the system anymore

i don't remember the exact procedure I used, but it went something like this:

apt-get update
apt-get upgrade

apt-list upgradeables ?

dpkg -c

change jessie to stretch in the /apt/etc/sources.list  sources

and reboot

i can get into recovery mode, but i'm not even sure where to start fixing it

any help is appreciated

thanks,

-dave.j
0
anyone get vncviewer connecting to an ubuntu 16.04 instance?
i have remote connections enabled but vncviewer (6.17.1113) on windows 10 keeps saying it can't connect with the chosen security setting and to either upgrade vnc server or select weaker encryption.
I already did gsettings set org.gnome.Vino require-encryption false but made no difference
tried every encryption setting in the vnc connection
0
is it possible run cron job not in background ?
0
tail -n5000 xyz.log

above shows last 5000 lines right


if i want to see all the 15723 lines of xyz.log what command i have to give

tail -n5000 xyz.log|grep 'ERROR WS'
how to make above case sensitive search like
tail -n5000 xyz.log|grep 'error ws'
how to make above whole word search? so that i wont see below as result ERROR aaa WS etc


please advise
0
Hi

after i installed nextcloud 13.0.1 on centos 7 and most of the features works

i am facing a strange issue with calendar

i cannot create or delete or do anything with calendar on nextcloud management    please check the attached file

do you think i have to change something from GUI or CLI  or install or do something


kindly advice
ccccccccc.jpg
0
Free Tool: Path Explorer
LVL 12
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

winscp how to grep or search on a word say "xyz" in all the folders and sub folders
Please advise
0
Hello Experts,

Getting following error while execute cmd from ssh :-

[root@200 ~]# separateBod
ENTER SERVER IP LAST 1 QUADRANT WHICH YOU WANT TO BOD:
119
Option "-t" is deprecated and might be removed in a later version of gnome-terminal.
Option "-t" is deprecated and might be removed in a later version of gnome-terminal.
Failed to parse arguments: Cannot open display:

separateBod Code:-
#!/bin/bash
printf "ENTER SERVER IP LAST 1 QUADRANT WHICH YOU WANT TO BOD"
 read IPNAME
 for i in $IPNAME
 do
  ssh user@192.168.1.$i BOD & pid=$!
 done

BOD Code:-
#!/bin/bash
gnome-terminal \
        --tab -t "Exchange" -e " sh -c 'sleep 1s; ./startapp Exchange' "\
        --tab -t "Dragon" -e " sh -c 'sleep 10s; ./startapp Dragon' "\

startapp code:-
ulimit -c unlimited
export LD_LIBRARY_PATH=./:${LD_LIBRARY_PATH}
./$1 $2 $3 $4 $5

After giving execution cmd from server (ssh) it should be displayed on other server vnc (user@192.168.1.119), it was working properly till last week suddenly i got this error, we have following versions of CentOS 64bit (6.7, 6.8, 6.9, 7.4), getting issue only with 7.4 64bit.

please suggest.
0
i'm trying to add voice control to ubuntu 17.10.  i saw a video where the command "v-c" was added to ubuntu and somehow you could write code with it.  it says to write v-c<<help (i think) .  i tried to get help and my computer sayts the command does't exist
0
winscp how to name the link i save to favorite

say i have link
/home/xyz/bea/logs

i want to save above link with name as production_logs_folder

I have other link as below

/home/xyz/crm/logs

i want to save above link with name as crm_logs_folder

how do i name like above so that it is easy to locate and navigate later
\please advise
0
log file how to copy whole content

zgrep -C20 '1234' 1234.log.gz

above gave lot of results in unix screen

how to copy whole page and paste into a text file on my C drive of the windows laptop through which i am connecting to unix box using putty?


also

i see all results like

0123456
9123488

etc

which i do not want

i want complete word search of 1234 only
how to achieve it
please advise
0
what is curl and ping in unix.

lets say i have service called
www.xyz/webservice_operation

now if do
curl  www.xyz/webservice_operation
get the exact_name of service from above result
then use that exact name to ping
ping exact_name
then we can get ip of the service where it is running?

please advise
0

Linux Distributions

27K

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