Linux

Installing Puppet Agent on Ubuntu 16.04

June 19, 2018 Jordansphere Linux

Problem: When trying to install the puppet agent on an Ubuntu 16.04 server the following error appeared Command:  ​curl -k https://puppet:8140/packages/current/install.bash | sudo bash   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current Dload  Upload   Total   Spent    Left  Speed 100 25756  100 25756    0     0   162k      0 –:–:– –:–:– –:–:–  163k […]

More

Zabbix Graphs Showing Incorrect Time

March 16, 2018 Jordansphere Linux

Problem: After a new installation of Zabbix (appliance) 3.4.6 the time on the graphs were 2 hours ahead. The clock on the server was correct.   Solution Edit Zabbix configuration file vi /etc/apache2/conf-enabled/zabbix.conf   It appeared the timezone in the Zabbix settings is set to Europe/Riga Change php_value date.timezone Europe/Riga to you actual timezone for […]

More

Install Zabbix Agent on CentOS

March 16, 2018 Jordansphere Linux

The following describes how to install Zabbix agent 3.4.6 onto CentOS 6.9 1) Add Zabbix Repository rpm -ivh http://repo.zabbix.com/zabbix/3.4/rhel/6/x86_64/zabbix-release-3.4-1.el6.noarch.rpm   2) Install Zabbix yum install -y zabbix-agent   3) . Edit zabbix_agentd.conf vi /etc/zabbix/zabbix_agentd.conf Server={Zabbix_Monitoring_server} Hostname={your_server_name}   4) Start Zabbix agent service service zabbix-agent start   5) Add Zabbix Agent service to start up scripts […]

More

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,

« Previous Posts

Powered by WordPress. Designed by elogi.