Поредна крачка на запад

Първи ден от пътя. Кафе със стар приятел в София - разговорът върви, часовникът също. В Рупите къщата - скромна. Познатите кукли от лъжици пред ламперията. Зелената беседка хвърля дълга сянка, отнякъде - приглушена сватба.

Към границата полето е пожълтяло. Струма се крие в тръстики, кучетата при оранжериите лаят предупредително. Собственикът говори за ниско ниво, забрани и глоби от миналата седмица; думите му остават. В хотела "Финикс" до казиното: стая - голяма, чиста. Прозорецът - блокиран. Климатикът - настоятелен. На рецепцията питат дали съм клиент на казиното. Вземам ключа и се качвам.

Вечерта свършва с мисъл за утрешната сутрин отвъд линията. Поредната стъпка към морето, без бързане.

Доближих Гърция.

Links:

На запад Йонийско море

Изборът е направен: Гърция. Държа посока запад. Достатъчно е да пипна водата на Йонийско море и да погледна към Италия. Останалото е път.

Денем карам и спирам, когато мястото си струва! без точки, само гледки. Вечер - салата и основно, тиха трапеза, после книга. Без списък с очаквания. Каквото се появи, остава.

Това пътуване оставя място за следващо. Знам накъде.

Links:

Между юг и север

Септемврийските дни са подредени, а посоката не се подрежда. Пред мен са две карти: северозапад и югозапад. Черното BMW чака под прозореца, ключовете тежат в джоба и не помагат да наклоня везната. Няма калкулации, няма резервации - има тишина преди тръгване и внимаване в дребните знаци. Нито цикади, нито борове печелят спор. Въздухът е чист от предпочитания. Остава чуденето.

Одометърът още е на нула за тази история. Знам, че числата ще се качват, но сега мястото е паузата. Има тиха ирония: каквото и да е първо. Другото не е отказ, а обещание, прехвърлено напред. Пиша си кратка бележка: "днес - решение, утре - движение". Погледът се вдига от масата, прозорецът сочи два полюса: северозапад към Румъния, югозапад към Гърция. И за двата има място на картата, липсва само глаголът.

Links:

Say Goodbye to apache-, php, and php-pecl-* packages in Amazon Linux 2023: Here's What to Do Next!

Why the Removal?

Amazon is always striving to improve its products, and that includes keeping software packages up-to-date and secure. The apache-, php, and php-pecl- packages were removed from Amazon Linux 2023 due to outdated software and compatibility issues. As technology advances, it's essential to stay on top of these changes to ensure the best possible experience.

A New Era: PHP 8.1 and HTTPD Packages

While saying goodbye to the old packages might feel like a bitter pill to swallow, there's a silver lining: the fantastic alternative packages waiting for you. The php8.1 and httpd packages are here to save the day, offering better performance, security, and compatibility with the latest web technologies.

To install PHP 8.1, you can use the following command:

sudo yum install php8.1

For HTTPD (the Apache HTTP Server), use this command:

sudo yum install httpd

Check out the AL2023 Release notes for more information and guidance on how to work with these packages.

Update Your Dependencies, Especially UserData Scripts
As the older packages are no longer available, it's essential to update your dependencies accordingly. This is particularly

Links:

Un-expected OVH gift

For me, new year started with one discovery.

As you know, holidays do traffic and server load peaks. So, my common job is to watch for problems. And be ready to solve them. (Yes, I do work at holidays.)

So, I noticed that "traffic" graph was disappear from my OVH dashboard. Hm, it was strange. So, I asked support "WTF?". My server monitoring tools show increased traffic and it was very nervous situation. I would expect OVH traffic counter to disable my server or limit channel capacity. And it is in best Rush Hour in the season!

But, in few hours I received answer from OVH.

My dedicated was upgraded with "UNLIMITED" amount of transferred data!!!

What a relive and surprise!!!

THANK YOU OVH!!!. Looking forward to work with you in new year.

Links:

Securty policy - blah (linode.com fall)

When you do security there are no such term as "low risk".

Example - Linode.com. Somebody install phpBB and Linode just got two step attack.

Get out everyone by falser report
Attack old forum - got it.

So, questions are:

  • Linode employes doesn't have notebooks?
  • remote administration in 2014 is something they don't know?
  • Linode don't have any remote administration?
  • Linode operate from ONE office?
  • how about different datacenters? are they affected?

So, again decentralization is good as never!

Tags:
Links:

AWStats and MaxMind

Just be notice, before you un-comment line:

geoip GEOIP_STANDARD /usr/share/GeoIP/GeoIP.dat

you should install Geo::IP perl module and for debian it is best to be done via package manager:

sudo aptitude install libgeo-ip-perl

Thanks for perl GeoIP library package interface Debian Perl Group.

Tags:
Links:

Logrotate defaults

When inspecting why nginx logs wasn't rotated, I did little strange discover

# uncomment this if you want your log files compressed
# compress

so, by default rotated logs are not compressed. Perhaps there are admins which process rotated logs, but I am not one them. I use pre-rotate hook to process logs before rotate them. So, I really expected logrotate to compress by default. And yes, my bad - I didn't checked default configuration in /etc/logrotate.conf

Now I did change default to compress and wouldn't have to use in per service logrotate configuration.

PS: and don't forget

sudo /usr/sbin/logrotate -f /etc/logrotate.conf

after you apply changes to logrotate configurations

Tags:
Links:

Warning: "Headers already sent" or "Cannot modify header information"

Lets see, you install new PHP app and get bunch of warnings. It is sad, commonly you need PHP knowledge to understand them and fix. Probably you can request help from you hosting support, but they reject such problems saying "We don't fix your php applications".

Ok, google.com found a lot answers and solutions for this problem. But non of them is simple, non of them are short.

Technically main problem called "output logic problem", your php script try to send header after body was sent. And it is wonderful, because I have solution.

So, I will share the magic I use to help my clients quickly:
- php CAN control output
- everyone can activate output buffering

SOLUTIONs
First

  • create .htaccess and add next line:
    php_value output_buffering 4096
  • upload it
  • visit page

Problem not solved?
Second

  • remove .htaccess you uploaded
  • create php.ini with line:
    output_buffering = 4096
  • upload it
  • visit page

Problem gone you got your script up and working.

Tags:
Links:

GPix with free and paid pixels at one grid

You want to grant free small regions for your customers and get money for bigger? it is simple with GPix.

  • setup price for you regions
  • set yes for "Allow free and paid regions" option
  • define maxim free area"Maximum square for free region" - for example 300 (3 blocks with 10x10)
  • review your get pixels page

Here you can see how administration settings need to look:
Free Payed configuration

Here you can see what you can expect as visible result:
Free Payed pixels

Tags:
Links: