Skip to content

Supportex.NET blog

Server and network management company

  • supportex.net home
  • MySQL Health Test
Menu

All posts in linux

Installing Sentry on Centos 6.5

Posted on October 10, 2014May 10, 2019Author Oleksii TykhonovPosted in linuxLeave a Reply

Sentry is a real time event logging and aggregation platform. It allows to aggregate all events of your project in one place. It may be handy to get all logging messages and to have a possibility to track what’s going on with your application. You could use Sentry with node.js, PHP, Go, Python, Java and some…

Read

Installing Python 2.7 on Centos 6.5

Posted on September 16, 2014May 10, 2019Author Oleksii TykhonovPosted in linuxLeave a Reply

Centos  6.5 is shipped with Python version 2.6. And for some projects and/or applications you may need to use version 2.7. First thing which comes to mind is to compile it from sources. But obviously it’s not the best way. It would create more problem in future, besides it’s quite easy to get the whole system…

Read

Python: running services with logging to Rsyslog on Fedora

Posted on June 25, 2014May 10, 2019Author Oleksii TykhonovPosted in linux

So, here is a task. We need to run some Python script as service with logging to Rsyslog on Fedora. As you may know,  Fedora starting from 15 uses systemd which is a replacement for SysVinit and Upstart. With use of it to setup Python service with logging is quite simple. Let’s assume we have…

Read

vBulletin: attachments service optimization using vb-accelerator

Posted on June 25, 2014May 10, 2019Author Oleksii TykhonovPosted in linux

By default vBulletin uses PHP to deal with attachment downloads. It means that to provide a file from forum attachments to a user PHP process reads it and then starts to output it. This would work ok if you don’t have to much users. But if you do attachments downloads from PHP could become one of…

Read

Headless Selenium testing environment on Centos 6.5

Posted on March 22, 2014May 10, 2019Author Oleksii TykhonovPosted in linux

Selenium is a set of tools which allows to test web applications automatically. Here’s a way to get it working on Centos 6. At the end we should be able to run headless Selenium tests with Firefox. Please note that as X11 disaplay server we will use Xvfb. At first let’s install required packages and…

Read

How to enable LED blinking for a drive in LSI RAID

Posted on January 23, 2014May 10, 2019Author Oleksii TykhonovPosted in linux

If you need to replace a failed HDD, it might be useful to enable LED blinking. Here’s how you can do this if you have LSI RAID. At fist let’s find HDD information. MegaCli64 -PDList  -aALL | less What you need to find is Enclosure Device ID and Slot number.  Once done, run: MegaCli64 -PdLocate…

Read

elasticsearch: installation and configuration on Centos 6.2

Posted on April 3, 2012May 10, 2019Author Oleksii TykhonovPosted in linux

The installation of elasticsearch (which is distributed RESTful, search engine built on top of Apache Lucene) on Centos, will be easier if it is in repositories. But it isn’t. And since the best way to install application on Centos is to use rpm packages we will need to build it. At the very beginning you…

Read

vBulletin: attachments downloads optimization using vb-accelerator

Posted on March 21, 2012May 10, 2019Author Oleksii TykhonovPosted in linux

By default vBulletin uses PHP to deal with attachment downloads. It means that to provide a file from forum attachments to a user PHP process reads it and then starts to output it. This would work OK if you don’t have too much users. But if you do, attachments downloads from PHP could become one of…

Read

AWK: how to get text which is between two strings

Posted on March 17, 2012May 10, 2019Author Oleksii TykhonovPosted in linux

If you need to get some text which is in file between two lines you could use awk for this. You may need it while analyzing access logs to fix some issue, for instance. Here’s how you could do it: awk ‘/2012:00:20:49/, /2012:00:35/’ access_log > output It’s a simple and convenient way.

Apache: getting remote IP when working behind nginx

Posted on March 6, 2012May 10, 2019Author Oleksii TykhonovPosted in linux

Sometimes you may want to use Apache behind nginx. In this case nginx works as reverse proxy and handles user connections and static files. And Apache generates dynamic content (for instance, with use of PHP). In this case remote IP in your scripts would be 127.0.0.1 since Apache gets requests from the same server. It…

Read

Posts pagination

← Previous Page 1 Page 2 Page 3 … Page 6 Next →
Quick MySQL Health Audit

Tags

amqp ansible Apache apt-get awk bash bind CentOS cluster Corosync Debian DNS drbd elasticsearch exclude Fedora firewall go golang innobackupex ipset iptables IPv6 ldap linux logs lsi lspci Lua MaxMind mdadm monitoring Munin mysql mysqldump nagios named ncat nginx niginx openvpn otrs Pacemaker percona perl php phpMyAdmin pika pyenv python python rabbitmq raid redis remote install RRD rrdtool rsync sec Selenium sentry slapd slowlog snmp squid SSH svn swap tips Ubuntu vb-accelerator vBulletin windows Xtrabackup yum

©2025 Supportex.NET blog | Theme by SuperbThemes.Com