Installing a Blog on Your Website - Uploading and Setting Permissions
(Page 4 of 4 )
After all the alterations and configurations and tabulations have been performed, the next step is uploading the blog program files to your server, thereby installing it. Be sure to check the installation instructions for any other specific requirements related to your blog program (e.g. folder structure or cgi-bin placement). Just as with people, each program is different, and they need to be treated as such. Neglecting these instructions could prove disastrous.
Files can be transferred in two ways: as binary files and as ASCII files. The difference is crucial to your blog program functioning properly so be sure you examine each file thoroughly. Your FTP program will allow you to determine which way you want to upload each file, whether it be manually or through the program's automatic setting. This setting is very helpful, so if your FTP program has it, use it. Just remember to reset the feature each time you open the program. However, if your program doesn't have this setting, the following table will distinguish most file types with the way they should be uploaded:
ASCII | BINARY |
cgi | jpg |
php | gif |
html | png |
txt | bmp |
pm | |
pl | |
tmpl | |
css | |
js | |
After you have properly uploaded the files, you must set the permissions of those files. This will determine who can do what with each file. There are three levels of access (owner, group, other) and three functions (read, write, execute). What you need to know is that you are the owner and will have access to all three functions. Group and other will have access to read and execute. This means that only you can alter the pages and files, but everyone can read and execute the scripts on the pages. The following table shows you how it will look in your FTP program:
| Owner | Group | Other |
Read | x | x | x |
Write | x | | |
Execute | x | x | x |
This completes the installation process. Congratulations! All you need to do now is prepare the server database to receive blog entries. And the instructions should guide you through this quite nicely. You can then customize the blog's name and tagline, and your username and password in the administrative control area. The point is, you're in control now. You've installed your very own blog to your very own website. Give yourself a pat on the back and open the floodgates. It's time to let those creative juices flow.
| DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware. |