This covers CMS based website development covering administration, design and testing. It must be noted that none of the packages covered will cost you
anything, but there are often ways you can contribute if desired to those projects. http://www.neogain.com
1. CMS Website Development using Linux
We’ve been covering CMS based websites for a while here on the Neogain blog. Now it’s time for us to cover
creating a development environment for your website projects using a linux based system. You do not need to
be a hardcore programmer to warrant a development environment.
It makes perfect sense to use a locally connected server to put together a website. Before you setup your content
management system on a live server, it is wise to work on the project in-house before going live, or reaching a
beta stage. There are many types of web servers you can setup and on a variety of hardware, from modified
wrt54g linux routers to expensive rack mounted systems.
Do you require a website developer? Click here to request a proposal from Neogain.
Some website developers even use their own desktop computers and turn web server functionality on and off
ad-hoc. For many types of website projects there is no difference between using a linux distribution or
Microsoft operating system. For most developers all that is required is graphic editing, web server apps/servers,
a decent ftp client, a text editor and some other related applications. One area though in which linux can make a
dramatic difference is cost.
This article covers CMS based website development covering administration, design and testing. It must be
noted that none of the packages covered will cost you anything, but there are often ways you can contribute if
desired to those projects.
You can easily use open source licensed applications on a MS Windows system to develop, but the reality is
that Microsoft Windows itself brings costs in regard to the operating system and often people pay for anti-virus,
trojan and firewall protection.
On a Microsoft Windows system you might use IIS or a package such as XAMPP. Whereas on a linux
distribution you can easily install Apache2, php5, MySQL and other technologies. Plus all can be set to run
upon request, which means your development server, does not need to be a dedicated box and can serve other
purposes.
This article though is not an anti-Microsoft directed article, as for many using a Microsoft Windows system for
their development requirements is ideal. If you are interested in CMS website development on a Microsoft
Windows system please see our XAMPP article here: http://www.neogain.com/using-xampp-to-develop-a-
website
The Packages
Below are a small selection of packages you can use on your linux system, they all have Microsoft Windows
versions and even though this article is aimed at Window users, it should prove useful for people interested in
using a MS Windows system instead.
Note: We won’t provide download links as linux users generally use their distributions repositories for the
majority of their package requirements.
2. Apache2 + Php5 (www server + scripting language)
Enables you to design basic html and php web pages. Ideal for holding page and static website design and
development. If you install a MySQL server as well, then you can use CMS packages such as Joomla, Magento
or WordPress. Apache is naturally mentioned in our article, but isn’t the only linux web server you can use and
there are others that are more suited to low processor environments, but apache is the most popular web server
worldwide and best to use it when possible.
Q. How do I start or stop the Apache server?
A. Via a terminal window you can enable or disable Apache.
Note: We will be covering Apache in the next CMS related post.
Examples
sudo /etc/init.d/apache2 stop
sudo /etc/init.d/apache2 start
sudo /etc/init.d/apache2 restart
FileZilla (FTP Client)
Like its windows counterpart this ftp client makes handling multiple site profiles a breeze. Plus you can if
desired move the site profiles between operating systems. Naturally it isn’t just installing your website files in
the first instance where this ftp client can help, but also for quickly accessing ftp servers to change file
permissions or make backups.
Q. Can I use transfer my ftp ‘site manager’ settings between Windows and Linux?
A. On a windows computer you can find the sitemanager.xml file in the ‘Documents and Settings/profile
name/Application Data/FileZilla’ path. On a linux machine you can find the sitemanager.xml in a hidden sub-
folder named ‘.filezilla’ located within your home folder.
Q. What if there is no sitemanager.xml file to replace on the target computer?
A. Just place the file within the correct directory and FileZilla Client will use it upon you selecting ‘Site
Manager’, which isn’t to be confused with bookmarks within the FileZilla Client application.
3. Gedit (Text Editor)
A very useful text editor that although not installed by default on some linux distributions, is worth your time to
install this small package. It is not as feature rich as notepad++ a popular editor for the Windows platform, but
still is easier to use than emacs and superior to many other linux editors. Features such as find, replace and spell
checking make life far easier for website development.
Q. Where can I download gedit?
A. For users of Ubuntu, Xubuntu and other linux users, it can be found in the main repositories.
Q. Does it do syntax highlighting?
A. Yes, which makes it perfect for editing code such as css, php, html.
GiMP (Graphic / Image Editor)
The GIMP is the GNU Image Manipulation Program and although it is no photoshop, it can help you tackle
most basic and many moderate graphic editing requirements.
Q. Can I use it to covert between image formats?
A. Yes, the GiMP can easily convert between formats such as gif, jpg and png.
Q. Can I resize images?
A. Yes and this is called ‘scaling’ when using the GiMP.
IcoFX – via Wine (Icon Designer)
This is a free windows application, so what is it doing in a linux software list? IcoFX is an incredible icon
editing application, that is perfect for creating website favicon’s and other website icons if required. It runs
pretty smoothly on linux via the Wine package, which means linux users also can use this popular icon editor.
It is also worth reading our ‘How to create a favicon file for your website’ article here:
http://www.neogain.com/how-to-create-a-favicon-file-for-you-website
4. MySQL server
The MySQL server is what makes the majority of CMS projects possible, as many content management systems
rely on a MySQL database. i.e. Joomla, WordPress among many others.
Q. How can I setup databases?
A. The easiest method is to install phpmyadmin as well. It makes setting up, configuring and maintaining
databases relatively easy.
Conclusion
Using these tools you should be able to create / develop and test a website, including theme design and cross
browser testing.
If you need a website developer, please hire Neogain. Click here to find out more.