Faculty and Staff have access to the Linux server facstaff.cbu.edu if they have a need for it in their work. A Linux account is not automatically created for all employees.
Students have access to the Linux server stu.cbu.edu if they need it for their course work, they maintain a personal/club website, or they have another valid reason for needing access. A Linux account is not automatically created for all students. The account must be requested through the Help Desk with the reason for the need or the teacher of the course must request access for all students in the course if the account is needed for the course.
Please keep the following in mind throughout this document:
- whenever you see the phrase "[username]", replace it with your CBU username (your username appears before the "@cbu.edu" in your CBU email address)
- whenever you see the phrase "[server]", replace it with the server you have access to as described above
As a member of the CBU community, you have file storage space that automatically connects upon login to a cbu domain computer. The Contacts, Desktop, Documents, Downloads, Favorites, Links, Music, Pictures, Saved Games, Searches and Videos in your user folder are all stored on a server and available to you on any computer joined to the cbu domain. Students are currently limited to 1GB of network storage on our servers. It is our experience that if you exceed 1GB of storage, the storage space will not automatically connect upon login. If all your files appear to disappear then you will need to map the drive as stated below and delete enough files to get under 1GB again. If you want to access windows storage from your own computer, the drive needs to be mapped as follows:
In each case the user needs to authenticate with cbu\[username] and the active directory password. Students can access windows storage only from within the CBU network.
Students also have storage available through their CBU Gmail account in the Documents section. Files can be uploaded or downloaded with a maximum capacity of over 5GB. If you need to access files from off-campus, this is a better place to store them because they can be accessed from any internet connected computer, not just a computer within the CBU network.
Those students, faculty and staff who have a Linux account can store additional files there. Students can store an additional 1GB of files. The Linux server is used primarily for class work requiring Linux and creating either personal or club/organization web pages. Any files currently stored on the Linux server should be moved to either windows storage or to the Documents section of CBU Gmail unless the files are needed for Unix class projects or web design.
How do I map a Linux network drive?
Your access to Linux storage gives you access to a network storage space. You may use this to directly drag files between your PC or MAC and a remote directory on the server. You may also use this method to upload files to your web directory. However, this solution is not recommended for this purpose as you will run into permission problems when uploading files. Please follow the Instructions on how to map a drive (requires login) and do not hesitate to contact the Helpdesk if you need assistance.
How do I transfer files from my computer to my web directory?
If you're more comfortable working on your PC or Mac rather than using a Linux command line, you may simply edit files on your computer and upload them via SFTP (Secure File Transfer Protocol) or SCP (Secure Copy).
Under Windows, download and install WinSCP. You will need to restart your computer to enable "drag and drop" functionality between Windows Explorer and WinSCP. In the "Host name" box type your server name (sheba.cbu.edu or facstaff.cbu.edu). In the "User name" box type your username. Press the "Login" button. Type your active directory password when prompted.
Under Mac OS X, download and install Fugu. In the "Connect to" box type your server name (sheba.cbu.edu or facstaff.cbu.edu). In the "Username" box type your username. Press the "Connect" button. Type your active directory password when prompted.
There are a myriad of free SFTP and SCP clients available. Feel free to use which ever client you prefer. Once Linux servers are being used, only SCP or SFTP clients will be able to be used for file transfer.
How do I get started working with my personal web page?
This section assumes you have set up SCP or SFTP as mentioned above. Now that you have connected to the server, you should see two directories (by default): Intra_WWW and WWW.
Files placed within the Intra_WWW directory will be accessible only to users connected directly to the CBU network. (Intranet)
Files placed within the WWW directory will be accessible to any user with an internet connection. (Internet)
The following steps will get you started making your own web page:
- On your personal computer, open a text editor (such as NotePad on Windows)
- Type "This is an INTRAnet page!"
- Save the file as "index.html" --- make sure there is no ".txt" extension appended to the file (by selecting "Save as type: All Types" in the save dialogue when using NotePad)
- Drag the file into the Intra_WWW directory on your SFTP/SCP client
- Open your index.html page back up in your text editor
- Change the file to read "This is an INTERnet page!"
- Save the file
- Drag the file into the WWW directory on your SFTP/SCP client
How do I access my personal web page via my browser?
Internet: http://facstaff.cbu.edu/[username] or http://facstaff.cbu.edu/~[username]
* (cannot view off-campus)
How can I learn more about personal web pages?
Notice how we named our files "index.html". The "index" file is the default web page when a web directory is accessed. You may place other .html files of other names within this directory and link to them from your index file. You may create as many directories and .html files as you wish to organize your information. You may also upload any type of file you wish to share such as .doc and .pdf files. Keeping spaces out of your filenames will make them much easier to share.
Web pages are expressed by a simple markup language known as HTML. HTML allows you to create hyperlinks, embed images, create tables of data, and much more! Simply place HTML markup into any of your .html files. To get started learning HTML, try some of these tutorials.
How do I connect to my server account via SSH?
SSH (or Secure Shell) allows you to connect to the command line interface of a server. This opens up a large number of services available to you as a user on the server.
Under Windows, it is recommended you download PuTTY, a free SSH client. Save the program to your computer and run it. In the "Host Name" field type "[username]@[servername]" (example: firstname.lastname@example.org or email@example.com). Click the "Open" button. Type in your active directory password when prompted and press the "return" key.
Under Mac OS X, navigate to Applications/Utilities with Finder and open the "Terminal" application. You may wish to drag this application to your Dock for future use.
Type "ssh [username]@[server]" and press the "return" key. Type in your active directory password when prompted and press the "return" key.
Now that you are connected to your respective server, there is a great deal you can do. By default, you will be placed in your personal "home directory". Typing "ls" will show you a list of directories within your current directory. You should see two directories entitled "Intra_WWW" and "WWW". Files placed in the "Intra_WWW" directory will be accessible to anyone on the CBU network with access to a web browser. Files placed in the "WWW" directory will be accessible to anyone with an internet connection and a web browser.
To make a directory to store personal files, type "mkdir myfolder". Typing "ls" again will reveal your newly created folder. To move into your new directory, type "cd myfolder". Typing "pwd" will show your new path. To return to your previous directory, type "cd .." You may create and edit text files using one of the available text editors. "vi" is a very powerful text editor available for power users.
Wikipedia has an excellent list of Linux commands you may use as a reference.