vdiskuse - lists out memory usage of all directories. Useful
for finding bloated log files
- retrieve backed up files.
has a ton of useless log files that need to be periodically deleted.
up a new server for PHP, and mysql-
- run vinstall of mysql4
- run vinstall of php items
- in the apche conf/httpd.conf file turn on the PHP
- Run a phpinfo.phtml script to find out the directory
of the php.ini file
- modify the php.ini file such that mysql is enabled.
- use the restart_apache command.
restart mysql from su:
list all processes use: ps -aux
kill mysql or another process and restart -
top to list processes.
for kill to kill the appropriate pid.
- ctrl-c to
fix the time on the server:
timezone with option MST
GO-DADDY IS EXPENSIVE - try shopping arround.
The vegetronix certificat will expire on 1/31/2018.
Get a new certificate
from GoDaddy.com. They have the most
affordable certificates. You just need a standard one for
about $69 per year. Get the maximum life span for the certificate, since they are a pain to install.
You need to provide them with a csr file that you
created using openssl on your server. Go to /usr/bin and run
the following script:
openssl req -new -newkey rsa:2048 -nodes -out
www_vegetronix_com.csr -keyout www_vegetronix_com.key
-subj "/C=US/ST=Utah/L=Draper/O=Vegetronix Inc. /OU=Sales/CN=www.vegetronix.com"
documentation on the Go Daddy site was all wrong in regards to the
above script. I spent an hour on the tech support line, before he
was able to get the correct script above.
This creates two files called: www_vegetronix_com.key,
The csr is then pasted into their certificate manager
and submitted. They processes it which takes about 10 minutes
or less, and they send two files: gd_bundle.crt, and
484dd350e6573.crt. (or some other randomly named file.)
Place these two files (gd_bundle.crt, and vegetronix.com.crt
that they create along with your key
file www_vegetronix_com.key into your appache conf directory.
These are text files so FFT using ascii mode.
Modify the httpd.conf file as follows:
Restart apache and SSL should now work for the server. You can
test by opening a page with https://www.vegetronix.com and you should
see the green pad lock in the address bar.
NOTE. SSH-1 was compromised as protocol, so SSH-2 should now be used to generate certificates.
specializes in contract electronics design. Do you need some
help on your project? Contact us
to get a quote.