ITCooky Recipes

Lets cooky it yammy things!

Orange PI PC as a Server in Armbian!

I has found an unfinished article, that’s why the Armbian is very old, but in that there are its advantages! I remade it and rewrote it a bit, and here is the server in Orange Pi Pc! Why this is a server? Because it is autonomous: it has a clock and can be connected to it directly, there is a safe power off, there is a temperature control of the processor with a fan and there is a screen with parameters as in real servers.

Just like that I upload an image from to Orange Pi Pc so as not to limit myself I made a special Orange Pi, by the way, the diagram is not as scary as it turned out in the photo.

Глухо »

Test of the search engines Sphinx and Manticore for the phpBB3 forum!

Once again, I saved my forum from freezes by installing a search through Sphinx and was satisfied with everything, but here in the English version of the articleLets install a super fast search engine Sphinx in to phpBB3 forum! they asked me – Why not Manticore?

Manticore, a monster with a lion’s body, human head and scorpion tail, apparently symbolizes the torment of the developers of this engine! But, as I understand it, it is Sphinx itself, its first open source version (which I managed to install Sphinx 2.2.11-release Jul 19, 2016), which the creators left it, and the Manticores picked it up and they continued to develop it! All the advantages are described the main thing for me is that, unlike Sphinx2, it continues to improve.

1 Отписался »

IoT in a big way: Own devices in esp8266 managed through Node-Red!

One article about Node-Red was not enough for me, I felt he could do more things … but how. Its simplicity bothers and helps. The speed of implementation definitely helps especially to test scripts for esp8266. So I set the task of doing a banal climate module: air quality, humidity, temperature and taking it to the street, and a controlled smart plug, also trivial but complicated, for example, to save the configuration, I had to convert the green to round and write it in the memory of esp8266, which does not exist !!!

I will not write in detail about Node-Red, allready described above here: IoT full-on: In ESP8266 with MQTT via Mosquitto through Node-RED!

It is installed, it also has an additional module and an instrument panel.

Глухо »

IoT full-on: In ESP8266 with MQTT via Mosquitto through Node-RED!

At first, it seemeds to me as a simple and understandable task for a couple of days … noooo … but then the fear to a new concept passed, and again it seemed so simple, and then again it wasn’t!

I will decipher the title of the article: ESP8266 is the base of the device chip with WiFi interface, the MQTT computer client, MQTT is the communication protocol, it is old but you can make it safe (I will not), Mosquitto is the receiver and transmitter of messages that go from clients through MQTT – messages can be different from data to commands, Node-RED, and that is also an MQTT client because Mosquitto is only a transmitter (center), Node-RED is a Graphical programming interface (build what you want using bricks), works in Node.js, was developed by IBM (and abandoned?) for all-everything (for example you can pick up a message with Twitter hashtag – only with two bricks) .

1 Отписался »

Lets test disk speed with fio and use the Chinese PCIE-SATA adapter on Marvell 88SE9125!

Old computers can still be useful for all kinds of server functions. Unfortunately, some are so old that they already have pregnant capacitors, but now it’s not about that! I wanted a little more HDD speed, but for this we must first measure its speed, and then connect some HDD to the new SATAIII, and I will do it!

Previously, I measured the speed with the sysbench program, it gave the result in one digit, that was worth in relation to other measurements! To say who is faster. But they changed something with a new update and there isn’t a single number now … So, I changed to fio and measured a lot of my stuff again!

Глухо »

Lets install a super fast search engine Sphinx in to phpBB3 forum!

Surely the same thing happened to you. You make a website, it grows, Apache can’t take it anymore, you put Nginx, it pulls for a couple of years, then it starts to slow down MySQL, you buy more powerful hosting, it also rolls for a couple of years, but then it starts to slow down again and now In 15 years you discover that you only had to activate a module in PHP and everything would fly even without Sphinx!!! Don’t you?

How to understand what is slow in a phpBB forum?
If you have a forum with a couple of million posts, then it is clear that it will not work normally without optimization, even the creators of phpBB will say that the forum is too large for the search to work in the integrated engiens (by the way, themselves, recommend installing Sphinx in such cases).

You have to run on the server console

10 Сообщений »

Smart house monitoring with TelegramBot in Node.js!

I continued to develop the theme “I want to know the temperature and humidity of my room from anywhere in the world” and what else to choose than Telegram, that is well known now thanks to government bullying, let’s go step by step.

I will OrangePi Zero 512mb this one

Глухо »

Protect yourself from internet ads with Pi-hole DNS on Orange Pi PC Plus!

For home users, protection against advertising is essential. First you have to block all the shop channels on TV, then all the advertisements on the Internet: and immediately the pages starts to load faster and the information is perceived better!

In old times, I configured Squid and SAMS , but this protection worked at the router level and could not block everything. And Pi-hole works at the DNS level and all pass-through it!

Глухо »

DIY: Selfmade fan controller for Orange Pi PC Plus!

The circuit has already been made for another orangepi, but right now I took the soldering in my handes, and Orange Pi PC Plus became the main orangepi for my projects – thanks to eMMC and its stability and consumes less electricity (now it is important, everything is becoming important now) .

Here is the connection scheme. Transistor S9012, all resistors are 220 Ohm. On the board, the fan is connected to the connector, black red is important, but there is no such connection in the circuit scheme because drawing in Fritzing is a crazy pain.

Глухо »