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

I have a curl error 77
Update Failed: Download failed. cURL error 77: error setting certificate verify locations: CAfile: /etc/pki/tls/certs/ca-bundle.crt CApath: none

Open in new window

whenever I try to update my plugins in wordpress.

The site is www.thefrugallife.com

I have an Apache 2.4 instance running Linux 2 from Amazon.

I have recently moved the site and switched it to https.  My site certificate is showing it gets a B on SSL Labs using ipv4.

I can't update anything on the site till this error goes away.  Please let me know how to get rid of that error.

Thanks,
0
Cloud Class® Course: Certified Penetration Testing
LVL 12
Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

what is the meaning of below command

less log123.log | grep -i nullpointerexception


why we use less and then grep on it

Please advise
0
in vi we can use /nullpointerexception to find that string right.

how to find how many occurrence of that string total and go to say 10th occurence line
please advise
0
when i open with winscp that opens old stale file compared to putty opening of same file say xyz.ccfg

i wonder why winscp does not show recent changs?

please advise
0
tail -f logfile.log


what is the meaning of above command.

i see logs rolling too fast.

is there is a way i can slow it down to see clearly slowly

any god tips, links, resources on how to debug production logs efficiently just using putty without any fancy costly tools?

please advise
0
I have configured an iSCSI HA cluster using DRBD, Pacemaker, and Corosync. I am using the tgt implementation and am using CentOS 7. I attempted to use the LIO-T implementation, however, the write performance using LIO was 3 times lower than TGT for some reason. After some googling on that issue, I learned that LIO has apparently not yet been fully performance tuned and there are some issues if certain settings do not match perfectly between initiator and target.

Anyway, onto my issue...

If I attempt to "gracefully" move the iSCSI resources and/or put one of the nodes into Standby mode to gracefully move the nodes that way, it ends up being a nightmare with a lot of pcs resource cleanups needing to be issues to eventually get the Iscsitarget resources to stop.

After running pcs resource debug-stop (and also combing the corosync log file), the issue appears that tgtadm which I understand pcs calls on the backend to shutdown the target, does not release the target because of existing iSCSI initiator connections that are established to the target. Exact output is:

> stderr: tgtadm: this target is still active
> stderr: WARNING: Failed to remove target <target iqn>, retrying.
> stderr: tgtadm: this target is still active
> stderr: WARNING: Failed to remove target <target iqn>, retrying.
> stderr: tgtadm: this target is still active
> stderr: WARNING: Failed to remove target <target iqn>, retrying.
> stderr: tgtadm: this target is still active
> stderr: WARNING: …
0
Hello Community,

I need some help installing Opennms monitoring software because Im getting error trying to install it on Oracle Linux 6.9.

I used this commands:

wget https://yum.postgresql.org/9.3/redhat/rhel-6.9-x86_64/pgdg-oraclelinux93-9.3-3.noarch.rpm

Open in new window

yum install postgresql93-server postgresql93-contrib uuid-pgsql.x86_64 repmgr93.x86_64 rhdb-utils.x86_64 skytools-93-modules.x86_64 pgbackrest.x86_64 pgdg-oraclelinux93.noarch pgloader.x86_64 pgmemcache-93.x86_64 pgmp93.x86_64 phpPgAdmin.noarch pgagent_93.x86_64 ora2pg.noarch -y 

Open in new window


Then, with sudo rights did:

sudo bash bootstrap-yum.sh

And getting the error below:

PostgreSQL initialize                 ... FAILED

Open in new window


Im using the installer provided by official site.

Regards,
0
how to import sessions from putty or mputty to securecrt.
https://www.vandyke.com/products/securecrt/

I recently installed securecrt not sure how to import all existing conections to different servers on different environments that are present in putty to winscp.

any tips on effective use of securecrt as i am new to it

Please advise
0
hi am geting this error when starting my linux
linux
0
1. Can someone explain me if there is any changes in .cloginrc file, I need to run the rancid-cvs and rancid-run,
2. When i am trying to login i can see that the username is not pulling from what is there in .cloginrc.

For Eg:
(Under my clogin file)
I have mentioned
add user 1x.x.x User1
add password 1x.x.x       {password}
add method 1x.x.x telnet ssh

But when i am trying to login, i can see that username is in rancid. I am not sure why its happening. And to make sure that if try firewall login or normal login, its going with actual username only
0
Cloud Class® Course: CompTIA Healthcare IT Tech
LVL 12
Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

on my windows 10 machine after installing oracle virtua box and centos on top of it while starting getting below error


Failed to open a session for the virtual machine centos.

The virtual machine 'centos' has terminated unexpectedly during startup with exit code 1 (0x1).  More details may be available in 'C:\Users\saiganesh\VirtualBox VMs\centos\Logs\VBoxHardening.log'.

Result Code: E_FAIL (0x80004005)
Component: MachineWrap
Interface: IMachine {b2547866-a0a1-4391-8b86-6952d82efaa0}

i tried on other laptop i do not see red hat 64 some reason but shows red hat 32 bit

Please advise
centos.png
centos.png
0
how to remember shell history and how to save unix queries for future use and share with the team

$HISTSIZE can be increased to unlimited size?

how to type attached l character

please advise
L_char.png
0
how below commands are different

su department (when i do pwd here says department)
vs
su - department(when i do pwd here says /home/department)

when i do below

su -c 'echo $echo  $DEPARTMENT_HOME' department
it does not work

when i do below

su -c 'echo $echo  $DEPARTMENT_HOME'  - department
it does work. Please advise the difference.

what is difference between
department and  /home/department

how su and sudo are different?

how can there is depearment inside home as well as outside at top level again?

what is visudo and sudoers file or folder?

Please advise
0
difference between below process killing signals

kill -15 123

vs

kill -TERM 123
vs

kill -9 123


how foreground and background processes are different and how to kill or suspend them?
is PID is always 4 digit or it can be 10 digit etc?

how job and process different?
how to distinguish between background and foreground jobs?

when i say
jobs

it simply shows 5 different jobs one with + other with -

but does not show whether background or foreground?

i have a job running in background i brought it to foreground and stopped it.
when i moved it again to background it automatically moved to RUNNING status? how this is possible?
how terminated suspended and killed etc are different?
Please advise
0
$ emacs xyz.log
-bash: emacs: command not found

i am getting above error.

how to install and use emacs.

vi is better or emacs is better to use?

what is
meta D means
how it is different from control D


please advise on advantages, disadvantages of each
0
how to install and use nano editor

$ nano
-bash: nano: command not found




I get above error.

Please advise
0
what is meaning of  below command in unix
$echo $PATH
i got output like

:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/gggggg/bin
what is meaing of :

why it shows bin and sbin so many times
what is usr and local here and what is root and how that is different from root?
also what is meaning of which command

$which cat
$tree -cd

please advise
0
hello

i'm currently in need of an apt pseudo-mirror : i'm expecting to provide a fast local mirror in order to accelerate automated deployments and deal with poor network connectivity in some locations.

i'm seeing lots of different proxy-like tools and have no/little experience with any/most of them.
i have a working cache farm ( squid-based ) which is not good enough.
i have ( some ) experience maintaining a complete mirror, but i believe this is vastly overkill given the task to achieve and i'm not sure i can cope with the disk space and bandwidth requirements.

features i'm interested into include
- ease of configuration ( zero conf for the basics would be great )
- possibility to update periodically a set of packages based on previously downloaded packages ( but i do not want to run real-time queries against debian servers except when a package is installed for the first time ). if possible a feature to forget about packages after a configurable period of time would be great.
- keep older versions of packages ( i'm not automating apt updates )
- i'd rather not add perl, python, nodejs... requirements if that can be avoided. i will not consider using anything that has too many dependencies

- any of you have experience with such tools ? which one(s) ? how did it go ? can you confirm this actually brings better robustness/speed than squid ?
- do you happen to know how much disk space is consumed when caching packages required for the basic minimal install ?…
0
Dear Experts,

I have a new Proxmox installation.

After mounting  12 TiB HDD I am not able to see it available. It says Type: Unknown and S.M.A.R.T: OK. (I believe it should say PASSED).

Attache screenshot for your review.
 

Some command line output for that Drive:

root@TASpve:~# smartctl -a /dev/sdb2
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.13.13-2-pve] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Vendor:               HGST
Product:              HUH721212AL4200
Revision:             A3D0
Compliance:           SPC-4
User Capacity:        12,000,138,625,024 bytes [12.0 TB]
Logical block size:   4096 bytes
LU is fully provisioned
Rotation Rate:        7200 rpm
Form Factor:          3.5 inches
Logical Unit id:      0x5000cca25309b498
Serial number:        8DG5AGHZ
Device type:          disk
Transport protocol:   SAS (SPL-3)
Local Time is:        Mon Jun  4 15:35:37 2018 CDT
SMART support is:     Available - device has SMART capability.
SMART support is:     Enabled
Temperature Warning:  Enabled

=== START OF READ SMART DATA SECTION ===
SMART Health Status: OK

Current Drive Temperature:     32 C
Drive Trip Temperature:        85 C

Manufactured in week 39 of year 2017
Specified cycle count over device lifetime:  50000
Accumulated start-stop cycles:  20
Specified load-unload count over device lifetime:  600000
Accumulated load-unload cycles:…
0
Keep up with what's happening at Experts Exchange!
LVL 12
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

I would like to join Linux computers to a Windows domain.  Is this possible?  If so, how does one do this?
0
We have setup OpenVas in our infrastructure. We were able to run it in order to scan assessments reports on VM's within our infrastructure. However the results of the scans is very long and complete. We would like to filter that same report in order to only have results of the High severity reports.

Any idea on what would be the most effective approach to filter the Greenbone scans?
0
I am trying to access tomcat and i don't see any page shows up

http://192.168.2.18:8080

i also did check the firewall and i did rule the firewall issue.

Redhat 7

[root@web01 ~]# netstat -pant
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 0.0.0.0:8009            0.0.0.0:*               LISTEN      1614/java
tcp        0      0 192.168.2.18:8080       0.0.0.0:*               LISTEN      1614/java
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      938/sshd
tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN      1197/master
tcp        0      0 127.0.0.1:8005          0.0.0.0:*               LISTEN      1614/java
tcp        0      0 127.0.0.1:8009          127.0.0.1:33358         TIME_WAIT   -
tcp        0     64 192.168.2.18:22         192.168.2.10:62364      ESTABLISHED 1297/sshd: root@pts
tcp        0      0 127.0.0.1:8080          127.0.0.1:59988         TIME_WAIT   -
tcp        0      0 192.168.2.18:22         192.168.2.10:62356      ESTABLISHED 1251/sshd: root@not
0
securecrt vs putty

what additional feature or advantages or disadvantages securecrt has compared to putty or mputty.

how much is the licence cost per year or life time?

any advantages using securecrt or any other commercial better tools?

please advise
0
I ran across some python code that allows continuous, live plotting of twitter stream data and sentiment rating. When the author of the code demonstrated it on Youtube, he was able to plot the twitter in a graph, and the graph updated  with each tweet. However, when I run the same code, I get one graph for each tweet and the plot points do not form a continuous line--instead the output consists of one graph, one plot point for each tweet. I would like to  get the graph to show the plotted point for all tweets in one chart in a continuous line.

BTW I am not the  only person who ran into this same problem with the code.  FYI I am currently running python 2.7,  in a Spyder 3.2.8 development environment on Mac.  I have attached the code (without access key information) and it has not been altered from the author's version. Any assistance would be greatly appreciated.

Thanks!
wasmithpfs
test31818.py
Screen-Shot-2018-03-18-at-9.28.21-PM.png
0
I am unable to roll back my recent updates.

[root@ansible ~]# yum history
Loaded plugins: product-id, search-disabled-repos, subscription-manager
ID     | Login user               | Date and time    | Action(s)      | Altered
-------------------------------------------------------------------------------
     7 | root <root>              | 2018-02-28 13:11 | Erase          |    2
     6 | root <root>              | 2018-02-27 18:12 | I, O, U        |  309 EE
     5 | root <root>              | 2017-11-18 12:57 | I, U           |   32
     4 | root <root>              | 2017-11-16 01:13 | Install        |   33
     3 | root <root>              | 2017-11-16 01:10 | Install        |   23
     2 | root <root>              | 2017-11-05 10:37 | Install        |   13 E<
     1 | System <unset>           | 2017-11-05 10:01 | Install        |  385 >
history list


[root@ansible ~]# yum history undo 6
Loaded plugins: product-id, search-disabled-repos, subscription-manager

..........(output omitted)
---> Package zlib.i686 0:1.2.7-17.el7 will be erased
--> Processing Conflict: kernel-3.10.0-693.17.1.el7.x86_64 conflicts kexec-tools < 2.0.14-3
--> Finished Dependency Resolution
Error: kernel conflicts with kexec-tools-2.0.7-50.el7.x86_64
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
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).