The uploaded file exceeds the upload_max_filesize directive in php.ini
May27

The uploaded file exceeds the upload_max_filesize directive in php.ini

upload_max_filesize KB ID 0001125  Problem When attempting to upload a file to your website, (in my case from within WordPress). You see this error. Solution: upload_max_filesize Update: 27-05-25: This started plaguing me again recently, and despite me searching all over for php.ini files I could NOT fix it, turns out there was a typo in the php.ini file that was stopping the whole file from loading properly. I uploaded the php.ini...

Read More
CentOS TFTP Server (Install and Configure)
Jan01

CentOS TFTP Server (Install and Configure)

CentOS TFTP Server KB ID 0000998 Problem I needed to back up a Cisco firewall, and perform an upgrade remotely, despite my best efforts to use the ASDM and update via http, I had to go ‘old school’ and bring up a TFTP server on one of my CentOS Linux servers. Solution CentOS TFTP Server 1. Log onto the server and install the xinetd TFTP Server. Execute the following command and follow the on-screen prompts. Using username...

Read More
Using the VI Editor (For Windows Types)
Apr20

Using the VI Editor (For Windows Types)

KB ID 0001304  Problem I dont have a ginger ponytail, nor do I wear sandals, couple these two things together and you will understand why I find VI so confusing! Many times I’ve had to alter a config file on an appliance, or a Linux box, and sat frowning at VI wondering why I can’t change a one to a zero. Note: Nano is easier, if possible try nano {filename} to save hassle. But on hardened appliances for example, it wont...

Read More
macOS – Editing the Hosts File
Jan07

macOS – Editing the Hosts File

KB ID 0001268  Another guest post from Daniel Newton Problem I’ve had windows for years; I knew the OS inside out. Recently, I switched to Mac. But I wondered how to edit the hosts file for my VPN connections and my servers. After some research, I found out how to do it and thought I will document it on PeteNetLive! 🙂 Solution Open a terminal session and type in the following command; Sudo nano /etc/hosts Note: I’m using nano for this...

Read More
VMware – Datastore Browser shows “Searching Datastore….”
Nov17

VMware – Datastore Browser shows “Searching Datastore….”

KB ID 0000401  Problem I did a VMware VI3 to vSphere (4.1 U1) upgrade today. While bringing all the guest machines across, suddenly I could no longer browse the datastore, I only had one more guest to “Add to the inventory”, and all the mission critical machines were already migrated. I tried rebooting the virtual center, I tried restarting the ESXi host machines, still it sat saying “Searching...

Read More