Creation of a Personal Web Page
Setting up your Linux Account
To launch your HTML webpage, you must:
- claim your Linux account
- create a special directory in your Linux account
- establish the correct permissions on your public_html directory
- create/add your HTML file(s)
- Claim your UofM Linux/"IPA" account
- Create the directory and set the permissions:
- Login to your linux account. (eg, via ThinLinc)
- Create your public_html directory by entering,
at the Linux prompt:
mkdir ~/public_html
- Set the file permissions (your Linux account is configured so that by default you are the only one who can see the files in your directory. This is for privacy and security reasons.)
At the Linux prompt, enter:chmod 755 ~/public_html
- Your Home Directory or Linux account requires execute permissions.
At the Linux prompt, enter:chmod a+x ~/
- Your basic file or the first file must be called index.html and is placed into the public_html directory.
Note: There is a difference between Index.html, INDEX.HTML, and index.html. ALL file names in your unix account should be lower case to reduce the confusion that may take place.
Also note that html and htm can be treated the same by a web server - but that if you reference them in html code as a link that the extensions must be properly used.- The command used to change directories is cd:
cd public_html
- Make sure that the index.html file can be read by everyone:
chmod a+r index.html
- The command used to change directories is cd:
Your webpage will have the URL https://home.cc.umanitoba.ca/~username/
Transferring Your Web Files
Programs such as Dream Weaver have a "publish" option that will automatically transfer files. This is an unsupported feature.
File-transfer software can be used to move files from your desktop to the public_html directory you have created. You can download free SFTP software from the Internet such as Filezilla, WinSCP, etc..
Once you have started your file-transfer software,
- Connect to sftp://ccl.cc.umanitoba.ca to login into your IST Linux account
- When prompted, enter your userid and password
- Look for the public_html directory and open it
After transfering files, there may be permissions issue that restrict access to the files from the web. Your web development or file transfer software should maintain correct permissions (or have settings to do so), but if not, you will need to manually correct this.
To ensure all files are publicly accessible, at the Linux prompt, enter:
chmod -R a+rX ~/public_html