<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
<rss version="2.0">
<channel>
<title>CS Technical FAQ - The five questions posted most recently:</title>
<description>Computer Science Technical Frequently Asked Questions</description>
<link>http://cs.ucsb.edu/department/tech_support/faq</link>	<item>
		<title><![CDATA[Setting up SSH Keys]]></title>
		<description><![CDATA[<p>
The use of shosts has been disabled on Computer Science machines.  We recommend using ssh keys if you want to login to another account (such as a class account) via SSH.
<br />
<br />
To generate the ssh key, use the "ssh-keygen" command:<br />
<strong>$ ssh-keygen -t rsa</strong>
<br />
<br />
You will be prompted with a few questions - usually the defaults will be fine.  We highly recommend using a passphrase to help protect your key. Creating a passphrase is one of the questions you will be prompted with during key creation.
</p>
<p>
 If you need to add a passphrase to an existing key, use the following command:
</p>
<p>
 <strong>$ ssh-keygen -p</strong>
</p>
<p>
You will be prompted for the name of the file in which the key is. Unless you have multiple keys, the default should be fine. Enter a passphrase that is easy to remember but hard to figure out. Be sure to use something you can remember, because if you forget the passphrase, the key is useless. 
</p>
<p>
Next, copy the contents of ~/.ssh/id_rsa.pub to the file ~/.ssh/authorized_keys
</p>
<p>
 
</p>
<p>
 
</p>
<p>
Now, when you ssh between CS machines, your ssh key will be used, instead of password authentication.
</p>
<p>
<strong>Note:</strong> If you are a TA who needs access to a class account via SSH keys, please see our FAQ entry <a href="4_52_en.html" title="SSH access to CS class accounts for Teaching Assistants">SSH access to CS class accounts for Teaching Assistants</a>.
</p>
<p>
 
</p>
]]></description>
		<link>http://cs.ucsb.edu/department/tech_support/faq/content/4/1/en/setting-up-ssh-keys.html</link>
		<pubDate>Wed, 11 Apr 2012 22:58:00 GMT</pubDate>
	</item>
	<item>
		<title><![CDATA[Creating Your Own Web Page]]></title>
		<description><![CDATA[<p>
 
</p>
<p>
 
</p>
<p>
 
</p>
<ol>
	<li>Log in using your CS account and make sure you are in your home directory. If you do not have a CS account, but are enrolled in at least one CS course during the current quarter, please email help@engineering.ucsb.edu and request an account.
	</li>
	<li>Create a directory called "public_html."</li>
	<li>In that directory, create a text file that will contain the information that is displayed on your home page. The web server supports both html and php, so you can name this file "index.html" or "index.php".</li>
	<li>Make sure that your directory and .html and/or .php files are world-readable, by 
	running the following commands:<br />
	<br />
	chmod 755 public_html<br />
	chmod 644 public_html/index.html <br />
	<br />
	Also, make sure that your home directory is world executable; if not, 
	use the follwing command:<br />
	<br />
	chmod o+x $HOME</li>
</ol>
<p>
 
</p>
<p>
 
</p>
<p>
 
</p>
<p>
You can now access your web home page via the URL:
</p>
<p>
"http://www.cs.ucsb.edu/~login/" 
where "login" is your login name. 
</p>
<p>
 
</p>
<p>
The web server supports PHP and javascript (<strong>no </strong>cgi-bin). 
</p>
<h3>More Resources</h3><a href="http://www.hotwired.com/webmonkey/teachingtool/" target="_blank"></a>
<ul>
	<li><a href="http://www.w3schools.com/HTML/default.asp" target="_blank">Tryit Editor v1.5</a> Pretty good simple HTML practice tool.</li>
	<li><a href="http://www.htmlgoodies.com/" target="_blank">The Web Developer&#39;s Virtual 
	Library </a> offers dozens of links to tools that will add depth to your web 
	site, such as scripting languages, multimedia, forms, image maps, etc. 
	</li>
	<li><a href="http://www.apl.jhu.edu/%7Ehall/java/" target="_blank"> Java Resource 
	List</a> Links to online tutorials, FAQs, great web sites, Java information 
	collections and indices, news and message exchanges, publishers and other 
	Java info providers, products, conferences, and more!  
	</li>
	<li>
	<p>
	<a href="http://www.w3.org/Tools/Filters.html" target="_blank"> Converters 
	To and From HTML</a> lists a number of downloadable utilities for specific 
	programs.
	</p>
	<p>
	If you don&#39;t have the time or interest in learning HTML, you don&#39;t really have 
	to. Use a WYSIWYG HTML editor like Netscape Composer (multiple platforms), Adobe 
	PageMill (Mac and PC) or Microsoft FrontPage (PC) to create your homepage. Also, 
	many computer applications are beginning to incorporate a save-as-HTML feature, 
	so check and see if your favorite program allows automatic conversion to HTML.
	</p>
	</li>
</ul>
]]></description>
		<link>http://cs.ucsb.edu/department/tech_support/faq/content/3/35/en/creating-your-own-web-page.html</link>
		<pubDate>Fri, 16 Mar 2012 22:12:00 GMT</pubDate>
	</item>
	<item>
		<title><![CDATA[Software Available Through MSDN-AA]]></title>
		<description><![CDATA[<a href="#Q1"></a>
<p>
<a href="#Q1">What is the MSDN Academic Alliance?</a>
<a href="#Q2"><br />
Who is eligible to download software through the MSDN-AA?</a><a href="#Q1"></a><br />
<a href="#Q3">What products and services are included in the MSDN-AA membership?</a><br />
<a href="#Q4">Does the membership include Office and FrontPage?</a><br />
<a href="#Q5">Where can I get this software?</a><br />
<a href="#Q6">Where can I get help with / more information about MSDN-AA?</a><br />
</p>
<p>
<a name="Q1" title="Q1"></a>
</p>
<h3>What is the MSDN Academic Alliance?</h3>
<p>
 
</p>
<p>
The MSDN Academic Alliance is an annual membership program for the Computer Science department.  As a member, the department receives an MSDNAA subscription that Microsoft platform, servers, and developer tools software. This software may be installed on any number of departmental lab machines. The software must be used for instructional and research purposes, it may not be used to run the infrastructure of the department. In addition, the department"s faculty and students may check-out or download the software to install on their personal computers.
</p>
<p>
The program has two primary goals: 1) to make it easier and less expensive for you to obtain Microsoft developer tools, platforms, and servers for instructional and research purposes and 2) to build a community of instructors who can share curriculum and other learning resources to support the use of these technologies.
</p>
<p>
<a name="Q1" title="Q1"></a>
</p>
<h3><a name="Q2" title="Q2"></a>Who is eligible to download software through the MSDN-AA?</h3>
<p>
 
</p>
<p>
Our license allows the following individuals to install MSDN-AA software on their
personal computers for use in coursework and personal non-commercial 
projects:
</p>
<ul>
	<li>Students taking at least one 
	for-credit course offered by the member department</li>
	<li>Faculty 
	members of the member department</li>
	<li>Staff directly responsible for 
	administering the MSDNAA program</li>
</ul>
<p>
 
</p>
<p>
If you are not in one of these groups, don&#39;t despair. Contact your department to find out if they have their own MSDN-AA contract and if you are eligible to use it.
</p>
<p>
<a name="Q3" title="Q3"></a>
</p>
<h3>What products and services are included in the MSDNAA membership?</h3>
<p>
 
</p>
<ul>
	<li>Visual Studio .NET Professional (including Student and Faculty Tools)
	</li>
	<li>Windows XP, Windows 2000, and other Microsoft operating systems
	</li>
	<li>.NET Enterprise Servers: Windows servers, SQL Server, Exchange Server, Commerce Server, BizTalk Server, Host Integration Server, Systems Management Server, Sharepoint Portal Server, and several others
	</li>
	<li>Microsoft Project Professional
	</li>
	<li>Microsoft Visio Professional
	</li>
	<li>Software development kits (SDKs), betas, new releases, and updates
	</li>
	<li>Development tools for Windows CE
	</li>
</ul>
<p>
<a name="Q4" title="Q4"></a>
</p>
<h3>Does the membership include Office and FrontPage?</h3> 
<p>
 
</p>
<p>
No, the membership does not include Office or FrontPage. The focus of the MSDN Academic Alliance is on providing departments, faculty, and students with the tools necessary for specialized research and study in software development and testing. Thus, Microsoft provides products and technologies such as Windows XP, Visual Studio .NET, SQL Server, and Platform SDK.
</p>
<p>
Office and FrontPage are not in line with these specific goals, since the program is primarily focused on high-end technologies rather than basic web design and consumer applications. Note: the MSDN Library does include developer documentation for Office.
</p>
<p>
The department has entered into the UC MCCA agreement with Microsoft. Our agreement covers Office (all versions, including Mac) for the faculty, lecturers, and staff.  Unfortunately, we could not cover the Graduate students or researchers as this proved cost-prohibitive.  People not covered by the MCCA agreement may obtain Office and other products at academic discounts through either the Campus Bookstore or
<a href="http://software-depot.ic.ucsb.edu">Software Depot</a>. 
</p>
<p>
<a name="Q5" title="Q5"></a>
</p>
<h3>Where can I get this software?</h3> 
<p>
 
</p>
<p>
All software is available through the MSDN-AA website.  The URL is:
<a href="https://msdn07.e-academy.com/ucsb_cs/">
https://msdn07.e-academy.com/ucsb_cs/</a>.  The MSDN-AA site offers two options for obtaining software:<br />
1) direct download<br />
2) postal delivery (fees may apply)
</p>
<p>
<a name="Q6" title="Q6"></a>
</p>
<h3>Where can I get help / more information about MSDN-AA?</h3>
<p>
 
</p>
<p>
Please read the 
<a href="http://msdn07.e-academy.com/ucsb_cs/index.cfm?loc=support/sup_FAQ/sup_FAQ&amp;parentID=17&amp;CFID=654943&amp;CFTOKEN=39458773">
MSDN-AA FAQ</a> before contacting either MDSN-AA support or <a href="mailto:support@cs.ucsb.edu">CS Support</a>.  Additional information about the MSDN-AA program can be found at their website: 
<a href="http://www.msdnaa.net/">
http://www.msdnaa.net/</a>.
</p>
]]></description>
		<link>http://cs.ucsb.edu/department/tech_support/faq/content/5/5/en/software-available-through-msdn_aa.html</link>
		<pubDate>Mon, 18 Apr 2011 21:45:00 GMT</pubDate>
	</item>
	<item>
		<title><![CDATA[Where can I find an SSH client for Windows?]]></title>
		<description><![CDATA[<p>
A non-commercial SSH client is available from <strong><a href="http://ftp.ssh.com/pub/ssh">ftp.ssh.com</a></strong>. <br />
SSH Communications Security makes finding this download hard. 
</p>
<p>
 
</p>
<p>
A open source SSH client is available called <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/" title="putty">putty</a> . 
</p>
<p>
Search in their respective FAQs for more information.
</p>
<p>
 
</p>
]]></description>
		<link>http://cs.ucsb.edu/department/tech_support/faq/content/5/11/en/where-can-i-find-an-ssh-client-for-windows.html</link>
		<pubDate>Tue, 12 Oct 2010 15:35:00 GMT</pubDate>
	</item>
	<item>
		<title><![CDATA[How to get under quota: Finding and removing excess files.]]></title>
		<description><![CDATA[<p>
It is the user’s responsibility to monitor and manage disk usage and keep it under quota.  If you happen to go over your quota, you will be unable to log in graphically to any Unix computer.  You can, however, still log in remotely through SSH or through the "failsafe" login when sitting at the computer.
</p>
<p>
For Linux or Unix machines, you can view your current disk usage and quota by executing the following command:
</p>
<p>
<strong>Finding Out if You Are Over Quota</strong>
</p>
<p>
quota –v
</p>
<p>
You should see output similar to this:
</p>
<p>
Disk quotas for user test_user (uid 65331): <br />
Filesystem  blocks   quota   limit   grace   files   quota   limit   grace    <br />
/filesys      140732  200000 210000            4362   20000   21000
</p>
<p>
There are two resources limited by our quota systems: disk space and number of files.  Disk space used is listed under "blocks," with the corresponding limits listed after it under "quota" and "limit."  Your number of files used is listed under "files," with the quota also following.  If either your disk space or number of files used is greater than the "quota" (soft limit) or "limit" (hard limit) you should attempt reduce your resource usage.
</p>
<p>
<strong>Determining Your Current Disk Space Usage</strong><br />
When in your home in directory, use the command:
</p>
<p>
du –sk * .??* | sort –rn | head
</p>
<p>
to see a list of your 10 largest files or directories (biggest displayed first). This command also works from within sub-directories allowing you to get a finer-grain view of usage.  You can judge which are good candidates to delete or compress.
</p>
<p>
<font color="#ff0000"> Please note: You cannot copy and paste this command. You must type it in by hand. </font>
</p>
<p>
<strong>Determining Your Current File Usage</strong>
</p>
<p>
When in your home directory, use the command:
</p>
<p>
/usr/local/bin/countfiles
</p>
<p>
to see your 10 directories with the most amount of files in them.  This command also works from within sub-directories allowing you to get a finer-grain view of usage.  You can judge which are good candidates to delete or archive.
</p>
<p>
<strong>Removing/Archiving Files and Directories</strong>
</p>
<p>
When near or over quota, look for your cache (or temporary files) in your web browser. These unneeded and space gobbling cache (or temporary) files are often the worst offenders. They can best be deleted from within your browser program. If you use Mozilla Firefox, click <a href="http://support.mozilla.com/en-US/kb/How+to+clear+the+cache">here</a> for more information.  
</p>
<p>
Delete any core dump files when you are finished analyzing them.
</p>
<p>
Your user interface can also produce extraneous cache files. They are located in the hidden subdirectories, .kde/share, .gnome/share. You can examine all of your hidden files, when in your login directory, with the command:  ls –la | more
</p>
<p>
You can also combine multiple files into one (archive) and compress large files to reduce your file and space usage.  The "tar" program takes many files and turns them into one.  To learn more about it type "man tar."  The "gzip" program is used to compress files in size.  Type "man gzip" to learn more about it.  Also there are many tutorials available on the web, google "tar gzip" to find some.
</p>
<p>
<strong>Troubleshooting Problems</strong>
</p>
<p>
If you believe that the quota program is not accurately listing your current disk usage you can run the following command from within your home directory:
</p>
<p>
du . -s 
</p>
<p>
it will give you a quick summary of current disk usage.  
</p>
<p>
SImilarly the count files program (/usr/local/bin/countfiles) will give a total of all the files in the current directory.
</p>
<p>
If either of these counts are different from that listed my teh quota program, please email support at cs.ucsb.edu.
</p>
]]></description>
		<link>http://cs.ucsb.edu/department/tech_support/faq/content/1/4/en/how-to-get-under-quota-finding-and-removing-excess-files.html</link>
		<pubDate>Wed, 08 Sep 2010 21:55:00 GMT</pubDate>
	</item>
</channel>
</rss>
