Author Archives: itdoctor - Page 31
Ubuntu: upgrading from 14.04 to 16.04, error: Invalid command ‘LockFile’,
AH00526: Syntax error on line 55 of /etc/apache2: Invalid command ‘LockFile’, perhaps misspelled or defined by a module not included in the server configuration Action ‘start’ failed. Solutions: Replacing...
Either all Options must start with + or -, or no Option may. Action ‘start’ failed
AH00526: Syntax error on line 5 of /etc/apache2/sites-: Either all Options must start with + or -, or no Option may. Action ‘start’ failed. The Apache error log may...
can’t delete directory with space at the end
you can run this command rd /s "\\?\c:\temp\folder\path "
Route 53: Apex domain quick fix
apex, bare domain ( domain without www) and should point to the same IP. In amazon load balance or some of the cloud solution, they do not provide...
git: fatal: index-pack failed
I recently had to clone a very large repository through SSH, every time i did i got this error Cloning into 'large-repository'... remote: Counting objects: 20248, done. remote:...
Apache 2.4 – increase server limit
By default Apache only allows upto 150 connections, if the number is over, you will be in the queue. It will look like the server is down. The limit...
Ubuntu – change mysql root password
This is a bit gnarly. If you have a better method of updating the password without triggering a warning about PASSWORD being deprecated, I’m all ears. # Stop MySQL...
Redhat: How to list all disks availble
On Redhat, run this command lsblk You will see this NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sr0 11:0 1 1024M 0 rom sda 8:0 0 100G 0 disk...
How to tell git which private key to use?
Environment variable GIT_SSH_COMMAND: From Git version , you can use the environment variable GIT_SSH_COMMAND like this: GIT_SSH_COMMAND="ssh -i ~/.ssh/id_rsa_example" git clone example Note that -i can sometimes be overridden...
Mac OS: How long my Mac has been running?
Open terminal and run uptime