Linux

Reset Lost Root Password – CentOS 7

January 4, 2018 Jordansphere Linux

Issue: I lost the password for my CentOS 7 virtual machine in my cloud VDC.    Resolution: To reset the root password we will firstly need to boot into single user mode. Use the following steps: 1)  Reboot the VM. During startup press "e" in grub menu  2. Find the line starting with linux16.   […]

More

centos 7, recover password centos, reset password centos,

Install Open VM Tools on CentOS 6

November 20, 2017 Jordansphere Linux

Use the following commands to install Open VM Tools (open-vm-tools) in CentOS 6   1. install EPEL repository  yum -y install epel-release   2. Install Open VM Tools yum -y install open-vm-tools   3. Start Open VM Tools service  service vmtoolsd start  

More

Transfer Spooling Area is not Writable in vCloud Director

November 17, 2017 Jordansphere Linux

Issue: During a new install of vCloud Director 8.20 on Centos 6.9 the service failed to start properly for the first time.      Troubleshooting: I investigated log files # tail -f /opt/vmware/vcloud-director/logs/cell.log Output: Application Initialization: 'com.vmware.vcloud.common.core' 100% complete. Subsystem 'com.vmware.vcloud.ui-vcloud-webapp' started Application Initialization: 'com.vmware.vcloud.common.core' complete. Server is ready in 1:05 (minutes:seconds) Successfully handled all […]

More

Create NFS Share in CentOS

November 16, 2017 Jordansphere Linux

This document describes the process of creating an NFS share on a fresh install of CentOS 6. I will be sharing the directory /home/share for use in a test vCloud Director environnment. I will have two servers connecting to the NFS share (10.64.51.61 and 10.64.51.62)     Firstly its always wise to run an update […]

More

Restart VCSA 6.5 Services via CLI Commands

September 25, 2017 Jordansphere Linux

First of all you will need to connect to the VSCA CLI by SSH. Then type shell on the command line: Command> shell To list all services and their state: # service-control –status –all Example output:   To start a service: # service-control –start –{service-name}   In this example I am starting the vpxd service […]

More

New Install of Squid Only Listening on IPv6

September 14, 2017 Jordansphere Linux

Problem: I installed Squid 3.5.20 on a fresh copy of CentOS 7 but the web proxy was not working when I pointed a browser to it.   Troubleshooting:  I could telnet locally to port 3128 but when I tried from another device on the network I was unable to connect, despite opening the port on […]

More

List All Files Recursively in Linux

July 22, 2016 Jordansphere Linux

To list all files in a directory – including subdirectories then use this command: # find /data/jord01 -type f   If you want a count of all the files in a directory: # find /data/jord01 -type f | wc -l

More

count files, linux, list files,

Disable Firewalld in CentOS 7

July 18, 2016 Jordansphere Linux

Simple instructions on how to stop, disable and the check the status of firewall   1) Stop the firewalld service # systemctl stop firewalld   2) Disable the firewalld service from starting # systemctl disable firewalld   3) Check the status of the firewalld service # systemctl status firewalld  

More

centos, disable, firewalld, linux, stop,

Useful Exim Commands

March 10, 2016 Jordansphere Linux

Here are some useful CLI commands when dealing with mail queues on EXIM:   List amount of messages in the queue /usr/sbin/exim -bpc   List all messages in the queue /usr/sbin/exim -bp   Get a summary of the current mail queue /usr/sbin/exim -bp | exiqsumm Here is an example output Count  Volume  Oldest  Newest  Domain […]

More

centos, cpanel, exim, mail queue,

Install Unbound on FreeBSD 10

March 2, 2016 Jordansphere Linux

Below are instructions on how to install Unbound on FreeBSD Firstly install Unbound from the ports tree:   # cd /usr/ports # make search name=unbound Port:   unbound-1.5.7 Path:   /usr/ports/dns/unbound Info:   Validating, recursive, and caching DNS resolver Maint:  jaap@NLnetLabs.nl B-deps: autoconf-2.69 autoconf-wrapper-20131203 automake-1.15_1 automake-wrapper-20131203 expat-2.1.0_3 indexinfo-0.2.4 ldns-1.6.17_5 libtool-2.4.6 m4-1.4.17_1,1 perl5-5.20.3_8 R-deps: expat-2.1.0_3 ldns-1.6.17_5 […]

More

freebsd, installation, unbound,

« Previous Posts

Powered by WordPress. Designed by elogi.