Skip Adobe’s buggy download web page, which frequently lists out-of-date versions of Reader as current; go direct to the FTP site at ftp://ftp.adobe.com/pub/adobe/reader/unix/9.x/9.2/enu/.
-
« Home
-
RSS Feeds
Skip Adobe’s buggy download web page, which frequently lists out-of-date versions of Reader as current; go direct to the FTP site at ftp://ftp.adobe.com/pub/adobe/reader/unix/9.x/9.2/enu/.
Unlike ssh and scp, sftp does not have a “-p” or “-P” flag to specify an alternate port. Instead, if the host you are connecting to has ssh running on a port other than 22, you need to use the “-o” flag:
sftp -oPort=2345 remote.hurricane-ridge.com
According to the man page, “-o” allows you to “give options [...]
To initialize a Subversion repository, use the svnadmin command. In its simplest form:
> svnadmin create /var/svn/repos
For an HTTP repository, it might be something like the following:
> sudo -H -u www svnadmin create /var/svn/repos
References: “Creating the Repository” Version Control with Subversion
Use NetBackup’s bpexpdate. For example, to set tape 001038 to never expire (actually, this sets it to expire sometime in 2038, but close enough for those of us living in 2009):
bpexpdate -m 001038 -d infinity
To expire 001038 immediately:
bpexpdate -m 001038 -d 0
Build a default Nginx install; I used the following configure arguments, but these are not necessary for using PHP/FastCGI (only for my environment):
./configure –prefix=/opt/nginx-0.6.34 –user=apache –group=apache
Build PHP for FastCGI, with the following configure arguments:
./configure –prefix=/opt/php-5.2.8 –enable-fastcgi –enable-force-cgi-redirect –with-gd –with-mysqli –enable-mbstring
–enable-fastcgi –enable-force-cgi-redirect are the important arguments to configure; the others are simply needed for my environment.
Use [...]
Installation overview:
shell> groupadd mysql
shell> useradd -g mysql mysql
shell> gunzip cd mysql-VERSION
shell> ./configure –prefix=/usr/local/mysql
shell> make
shell> make install
shell> cp support-files/my-medium.cnf /etc/my.cnf
shell> cd /usr/local/mysql
shell> bin/mysql_install_db –user=mysql
shell> chown -R root .
shell> chown -R mysql var
shell> chgrp -R mysql .
shell> bin/mysqld_safe –user=mysql &
shell> /usr/local/mysql/bin/mysqladmin -u root password \
‘new-password’
shell> /usr/local/mysql/bin/mysqladmin -u root -h \
www.hurricane-ridge.com password ‘new-password’
Then, log into the database as [...]
For testing ClamAV and other antivirus software:
EICAR Test Virus
EICAR Test Virus, zipped
EICAR Test Virus, nested zipped
When using CVS-over-SSH, set the CVSROOT environment variable as follows:
:ext:username@remotemachine:/full/path/to/cvsroot
You may wish to use SSH public key authentication and ssh-agent to avoid having to enter your password on the remote machine repeatedly.
To generate a patch against CVS to your current sandbox:
cvs diff -uw
To generate a patch against a tagged revision (PROD_2005031101 for this example) in CVS to your current sandbox:
cvs diff -uw -r PROD_2005031101
To apply a symbolic CVS tag to all files in your sandbox, do the following:
cvs tag PROD_2005050900
where PROD_2005050900 is the name of the symbolic tag you want to apply.