2021-05-26 00:00:00

PublishingCMS|easy|install|pico|selfhosting|simple|web site|Wordpress

Why and how to install Pico CMS, a simple and fast web site publishing software

Wordpress, Drupal and other powerful content management systems (CMS) are products that can be used to build corporate web sites, online shops, blogs, news sites, and many other types of publications. But if you only need a small web site without fancy features and tons of content, a simple CMS, like Pico CMS can do the job. Here is an introduction to Pico CMS, when to use it, how to install it, and how to get started on creating a web site.

Why Pico CMS?

Pico CMS really is a simple software package. It doesn't require a database - often the biggest resource hog and component that slows down response times - or other extra software modules. Naturally, a web server is required and since Pico CMS is written in PHP, it must be available as well.

Pages that that provide the content for a web site can be written in any text editor. Each page is saved as an ordinary text file on the server. The default for pages is Markdown syntax, but fortunately HTML can be written as well.

When a visitor requests a page, Pico CMS simply encodes the page in HTML and shows it to the visitor. The response is truly fast because the page doesn't have to be retrieved from a database and constructed from multiple components.

This is the strength of Pico CMS: it is easy to build small and simple web sites. The response time is really quick for visitors, and Pico sites don't have same security problems that advanced CMS products tend to have.
This is the weakness of Pico CMS: it doesn't scale to large web sites (content management without database is impractical) or advanced functionality (weak extension module capability and availability).

The best way to find out if Pico CMS is the right tool for your project is to set up a test system and try it out.

How to install Pico CMS?

Download the software package from Pico CMS web site. Prebundled release is the fastest way to proceed.

Copy and unpack/unzip the package to a directory that your web server can access. For instance, Apache web server's default is /var/www/html on many systems. If you save the software in a directory like /var/www/html/pico you may access it in a browser by typing localhost/pico (if it is on your local computer).

To test the configuration, point your browser to the directory where you saved Pico CMS, for instance: localhost/pico
If it doesn't work, the following settings must be checked:

  • The default Apache conf file is saved in /etc/apache2/sites-available/000-default.conf. Make sure redirections are enabled:

    AllowOverride All
  • Apache rewrite module must be active. Type the following on the command line:
    a2enmod rewrite
    Then, restart Apache.
  • I also had to make the web server user (www-data for Apache2) as the owner of Pico CMS directories and files ( chown -R www-data picodirectoryname ).

Now, you should be able to access the Pico welcome web page in your browser.

pico cms editor plugin

How to create and publish a web site?

First, you may want to install a page editor plugin to make quick modifications to pages. There are many editors available, I installed this one:
https://github.com/astappiev/pico-editor
Follow the plugin instructions for installing it.

When you create your first pages, save them in content directory under the Pico main directory. There are more options, like subfolders under content, but that's a good start.

Next, you may want to install a theme that specifies the layout and colors for your pages. Follow the theme instructions for installing it. A working theme is a good starting point for customizing your own layout, and for learning twig syntax that themes have to use.

If you want multicolumn layout, or a fancy menu system, choose a theme that has the required feature, and work from there.

These are the basic building blocks for creating a web site powered by Pico CMS. Completing these steps takes you a long way towards a robust and fast web site that can be published to the world.

News

2025-01-21 18:01:00

Well, they are capitals of European countries that have been awarded an extra honor for 2025 by the #EU Commission. These capital awards are annual, so here are the cities selected to represent the best city in each category in 2025. #Europehttps://klaava.com/sure-states-have-capitals-but-in-europe-there-are-also-culture-smart-and-green-capitals/


News

2025-01-15 08:59:00

Not to mention travel – when real life experiences in a destination don’t match the expectations and everything that can go wrong, goes wrong. Well, that’s the beauty of #travel. #Europehttps://klaava.com/nitpickers-travel-journal-travel-lessons-learned-in-2024/


News

2025-01-11 13:25:00

A conclusion from the Traffic Scorecard 2024 results is it takes about double the time to drive along the streets of London (the most congested city in #Europe) than the streets of Munich, which is ranked the 21st most congested European city. #traffic #travelhttps://klaava.com/the-cities-in-europe-where-people-are-stuck-in-traffic-most-often/


A shop dedicated to tasty juice

2025-01-09 14:04:10

arihak

A shop dedicated to tasty juice


in the busy old town center.

2025-01-08 16:16:08

in the busy old town center.


News

2025-01-07 14:56:00

A reminder for keeping your data safe when traveling. Why? It is likely that you have to access your most critical data in risky situations on the road.https://cybernews.com/privacy/how-to-protect-your-sensitive-information-while-traveling/


News

2025-01-02 16:33:00

What about the scenery, you who are hurrying to the other side?#streetphotography#streetphoto


News

2025-01-01 16:06:00

According to a survey, third of travelers are victims of online booking scams. Since it is so convenient to make travel reservations online, that’s what we do. The problem is that we haven’t adopted new methods to avoid online scams. #travel #scamhttps://klaava.com/a-traveler-is-more-likely-to-get-scammed-when-booking-a-trip-than-being-robbed-in-a-destination/


Perhaps road builders had too much time?

2024-12-29 15:19:44

Perhaps road builders had too much time?


News

2024-12-27 18:25:00

#Photography is full of so-called “rules” that can feel overwhelming. However, some of these “rules” are downright myths.https://www.diyphotography.net/debunking-seven-common-myths-photographers-still-believe-in/


What should I read next?

2024-12-25 15:18:22

arihak

What should I read next?


News

2024-12-23 11:34:00

Since #EU #DMA has specified #Apple as a #gatekeeper in #mobile devices, EU considers Apple should implement several iOS connectivity features, predominantly used for and by connected devices. For instance, notifications, automatic Wi-Fi connection, AirPlay, AirDrop, or Bluetooth audio switching.https://digital-markets-act.ec.europa.eu/commission-seeks-feedback-measures-apple-should-take-ensure-interoperability-under-digital-markets-2024-12-19_en


News

2024-12-21 14:51:00

Smartphone users in the US are not impressed with the latest artificial intelligence features on their devices with 73 percent of Apple users and 87 percent of Samsung users unsatisfied, according to a new study. #phone #AIhttps://petapixel.com/2024/12/19/majority-of-smartphone-users-are-unimpressed-with-ai-features-study-finds/


There should be enough ice already to open the hotel

2024-12-20 16:40:17

There should be enough ice already to open the hotel


Hiking on a mountain experience: the end of an ancient tunnel

2024-12-09 14:12:31

arihak

Hiking on a mountain experience: the end of an ancient tunnel


on a hot summer day

2024-12-02 18:47:01

on a hot summer day


Cloudy day in a valley

2024-11-25 16:31:59

arihak

Cloudy day in a valley


In the shade of a lone palm tree

2024-11-25 15:46:29

In the shade of a lone palm tree


an abandoned town?

2024-11-07 18:35:22

an abandoned town?


A quiet moment between heavy rain

2024-10-24 17:34:45

A quiet moment between heavy rain