Thursday, August 8, 2013

Setting up a debug environment for the Nexus 7

Not a linux post, but I tried to get an app onto the Nexus 7 for the first time.  After an endless amount of searching, I found out why the ADT server would not show the device.  You have to enable developer mode and then enable USB debugging.  After you do that, it will prompt to install device drivers (you want the USB ones from the google android site), I had to reboot and then on the N7 accept the connection.  Enabling developer mode is pretty tricky on the 2013 nexus 7 (or really android 4.3).  You need to go to settings / about and then tap on the bottom item over and over (7 times) until you get in.  Pretty subtle.

Friday, May 11, 2012

Update certificate using the following instructions (a bit modified for update)

1. Add your subdomain
(I don't need this step usually).  You can do this as a normal subdomain or as a standalone domain.

2. Add your certificate to Plesk
Use the Plesk control panel to add your certificate. Where the shortcoming comes into play is that Plesk will continue to use the default certificate.  This is done from the domain account.

3. Find your certificate
Head over to /usr/local/psa/var/certificates
Take note of the file name cert-xxxxxx that has today’s creation date. There may be two if you installed a CA certificate. You will need to determine which file is the normal certificate and which one is the CA one for the step 5.  CA certificate is typically the larger one.

4.Copy the include file
This step is only needed the first time.
Go to /var/www/vhosts/sub.domain.com/conf and open the httpd.include file
Find where it has
ServerName sub.domain.com:443
Copy the entire VirtualHost block for JUST the SSL portion. (from <VirtualHost xx.xx.xx.xx:443> to </VirtualHost>)

5. Make your include file
Head over to /etc/httpd/conf.d and make a file. Call it something like z0-subdomain.conf. The file just needs to load after ssl.conf but before zz010_psa_httpd.conf. Paste what you copied from step 4 into the file and then set the certificate file names from step 3 into these following places.
SSLCertificateFile /usr/local/psa/var/certificates/cert-xxxxxx
If you have a CA certificate, you must also add this line just below:
SSLCACertificateFile /usr/local/psa/var/certificates/cert-xxxxxx

6. Restart Apache
service httpd restart
Most of these instructions were taking from this page, but they left the CA certificate step. This is very important since certain browsers do not trust all intermediate CA’s. (mostly Apple products and some cell phones)

Saturday, November 19, 2011

old server now shut down

The older server has been complete shut down.

Also, added subversion for mygiftideas.

Saturday, November 12, 2011

old server no longer serving domains

All the old server domains are now shut down and the new server is backed up.  Should be able to shut down the old account.

Wednesday, November 9, 2011

svnserve

To launch svnserve:
   svnserve -d -r /var/svn

Within each subdirectory, need to go to conf and update the passwd file and the svnserve.conf file ... so far only did this for manotick brass, but stuff works now!

Saturday, November 5, 2011

subversion

Moving the subversion repository over.

(1) Create the subdomain (which doesn't really have anything ... just a server address)
(2) create the svn repositories in /var/svn
(3) start the svnserve as a daemon (svnserve -d) ... not sure if this will be sticky when container restarts
(4) dump old svn repository (one at a time) and load on other machine  ...  the following article explains how:
  http://b.lesseverything.com/2007/3/12/moving-svn-from-one-machine-to-another

Wednesday, November 2, 2011

Better shape

It took cirrus forever to deal with the last ticket about not being able to delete the backup, but this time they seemed to actually fix things up.

(1) I was able to delete the backup
(2) I was able to create a backup
(3) I was able to get firewall running


That just leaves me to determine if the mail is running and move the rest of the winterfamily domain over.  We may be close to the handover finish line.