Jan D.

Jan D.

"The only real security that a man will have in this world is a reserve of knowledge, experience, and ability."

Search for word in files

find . -type f -exec file ‚{}‘ ; Runs `file‘ on every file in or below the current directory. Notice that the braces are enclosed in single quote marks to protect them from interpretation as shell script punctuation. The semicolon…

Check and mount the disc

Check what directory is most fulldu -b | sort -n -r | more List of available discsfdisk -l Show mounted discs/directoriesmount Configuration of mounted pointsmore /etc/fstab List available vxdiscsvxdg listvxdisk list Volume Group displayvgdisplay Physivcal volume displaypvdisplay Mount disc to…

Cacti installation Fedora6

I’ve used following documentation Few commands is incorrect like mysql -u <username> -p <dbname> Configuration is at /usr/share/cacti/include or /var/www/html/cacti/ Some parts from following link helped as well Cacti-Installation-on-Fedora-101.pdf

Apache troubleshooting

Apache Error Log File All apache errors / diagnostic information other errors found during serving requests are logged to this file. Location of error log is set using ErrorLog directive. If there is any problem, you should first take a look at…

New toy in the house

Got this bike from my brother, not sure why he didn’t like it as its got all superb components. Love to ride with adjustable front fork that actually works not like other so called suspensions on cheaper versions of mountain…

Check php version

[root@stroj /]# rpm -qa | grep php php-common-5.1.6-3.7.fc6 php-mbstring-5.1.6-3.7.fc6 php-5.1.6-3.7.fc6 php-pdo-5.1.6-3.7.fc6 php-snmp-5.1.6-3.7.fc6 php-ldap-5.1.6-3.7.fc6 php-cli-5.1.6-3.7.fc6 php-pgsql-5.1.6-3.7.fc6 php-xml-5.1.6-3.7.fc6 php-mysql-5.1.6-3.7.fc6 php-gd-5.1.6-3.7.fc6