↓
 

Software Effect Enterprises, Inc

  • Home
Home→Categories Centos - Page 2 << 1 2 3 >>

Category Archives: Centos

Post navigation

<< 1 2 3 >>

Limit access to web site with a combination of IP address and basic authentication

Software Effect Enterprises, Inc Posted on May 24, 2017 by SEEIMay 24, 2017

I have a web site that I need to limit access with a combination if username/password AND ip address running on Apache 2.4 I completed this by putting the following in a configuration file <VirtualHost mystuff.domain.com:80> <Directory  /opt/mystuff>     Options … Continue reading →

Posted in Apache, Apache 2.4, Centos, Centos 7

Generate a new UUID for ethernet interface

Software Effect Enterprises, Inc Posted on May 12, 2017 by SEEIMay 12, 2017

# uuidgen ifcfg-eth0 e62680c3-f5f5-4f06-b862-68e00e3b4506

Continue reading →
Posted in Centos, Centos 6, Centos 7

DRBD on Centos

Software Effect Enterprises, Inc Posted on March 26, 2017 by SEEIDecember 30, 2020

Installation Centos 7 rpm –import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm yum -y install drbd84-utils kmod-drbd84 Centos 6 rpm –import http://elrepo.org/RPM-GPG-KEY-elrepo.org rpm -Uvh http://elrepo.org/elrepo-release-6-5.el6.elrepo.noarch.rpm rpm -Uvh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm rpm –import ‘http://keys.gnupg.net:11371/pks/lookup?search=0x0608B895&op=get’ yum -y install drbd84-utils kmod-drbd84 Configuration create /etc/drbd.d/drbd1.res resource repdata { protocol … Continue reading →

Posted in Centos, Centos 6, Centos 7

3 command-line file conversion tools for Linux

Software Effect Enterprises, Inc Posted on October 20, 2016 by SEEIOctober 20, 2016

Pandoc Everyone I know who works with markup languages says Pandoc is the go-to utility for converting between those languages. And for good reason: Pandoc not only does some pretty nifty conversions, it’s fast, too. Have a file formatted with … Continue reading →

Posted in Centos, Fedora, Linux

Using UUID to Mount Disk

Software Effect Enterprises, Inc Posted on July 5, 2016 by SEEIJuly 5, 2016

In linux, hard drive dev assignments can get changed between reboots – especially with external/removable drives. This means using /dev/sdX or /dev/hdX is not the best way to mount a drive that needs to be mounted every time at boot. … Continue reading →

Posted in Centos, Centos 6, Centos 7, Fedora, Linux

Security Wipe Of Hard Drive Using Linux

Software Effect Enterprises, Inc Posted on December 4, 2015 by SEEIDecember 4, 2015

first – determine the dev of the hard drive – as in /dev/sda /dev/sdb etc Then excute shred -vz -n 3 /dev/XXX where XXX is the identifier of the hard drive Increase 3 to a larger value for higher security … Continue reading →

Posted in Centos, Centos 6, Centos 7, Fedora, Linux

Change port for sshd server

Software Effect Enterprises, Inc Posted on November 11, 2015 by SEEIJanuary 20, 2021

I changed the port for sshd on my servers to reduce the number of attacks against the sshd server. In the following example, I am changing the port from the default of 22 to 43231 First – backup your sshd_config … Continue reading →

Posted in Centos, Centos 6, Centos 7

semanage is not installed

Software Effect Enterprises, Inc Posted on November 10, 2015 by SEEINovember 10, 2015

semanage is used in configuring selinux. If it is not installed you need to run yum -y install policycoreutils-python

Continue reading →
Posted in Centos, Centos 6, Centos 7

RDesktop on Centos

Software Effect Enterprises, Inc Posted on November 9, 2015 by SEEIAugust 10, 2020

Centos 7 yum -y install epel-release yum -y groupinstall “GNOME Desktop” yum -y install xrdp xorg-x11-xinit firewall-cmd –permanent –zone=public –add-port=3389/tcp firewall-cmd –reload systemctl start xrdp.service systemctl enable xrdp.service Centos 6 rpm -Uvh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm wget -O epel6.key.txt ‘http://keys.gnupg.net:11371/pks/lookup?search=0x0608B895&op=get’ rpm –import epel6.key.txt … Continue reading →

Posted in Centos, Centos 6, Centos 7

xrdp error: Failed at step EXEC spawning /usr/sbin/xrdp: Permission denied

Software Effect Enterprises, Inc Posted on November 3, 2015 by SEEINovember 3, 2015

Updated xrdp on a Centos 7 system and xrdp would not start. Error logged in /var/log/messages: Failed at step EXEC spawning /usr/sbin/xrdp: Permission denied Fix: chcon -t bin_t /usr/sbin/xrdp /usr/sbin/xrdp-sesman Reference: https://bugzilla.redhat.com/show_bug.cgi?id=1177202

Continue reading →
Posted in Centos, Centos 7, Linux

Post navigation

<< 1 2 3 >>
Powered By Rocky Linux
Powered By Rocky Linux
Let's Encrypt
Let's Encrypt

Recent Posts

  • fail2ban not adding entries to firewalld
  • Mikrotik 6Gig CubeG-5ac60ay SNR via SNMP
  • Cacti Graph for SNR on the LBE-5AC-Gen2-US
  • Why did windows reboot?
  • Mouse Support In Vim

Categories

  • Active Directory
  • Android
  • Apache
  • Apache 2.4
  • ASA
  • Brave Browser
  • Cacti
  • Centos
  • Centos 6
  • Centos 7
  • Centos 8
  • certificate
  • Cisco ASA
  • Cisco Switch
  • Dell
  • DHCP
  • Encryption
  • fail2ban
  • Fedora
  • Fedora 31
  • Fedora 36
  • Fedora 38
  • Fedora 40
  • Fedora 41
  • Fedora37
  • Firefox
  • firewalld
  • Gnome 3
  • Google Chrome
  • grub
  • httpd
  • Juniper
  • kvm
  • LetsEncrypt
  • LibreOffice
  • Libvirt
  • Linux
  • Mate
  • Mikrotik
  • MySQL
  • Nagios
  • named/bind
  • Networking
  • OpenVAS/Greenbone
  • pfSense
  • PHP
  • postfix
  • Raspberry PI
  • Rocky Linux
  • Rocky Linux 9
  • Samba
  • sed
  • Signal Messenger
  • SNMP
  • SRX
  • ssh
  • swaks
  • Synology
  • tftp
  • Ubiqiti
  • Ubiquiti
  • Uncategorized
  • Unifi
  • vim
  • wifi
  • Windows
  • Windows 10
  • Windows 11
  • Windows 7
  • Windows Server
  • Windows Server
  • Windows Server 2016
  • Windows Server 2019
  • WordPress
  • Zimbra
  • Zimbra 7
  • Zimbra 8
  • Zimbra 9

Your IP Address

  • Powered by Find-IP.net
©2025 - Software Effect Enterprises, Inc - Weaver Xtreme Theme
↑