If you run “fdisk -l” and you get something like: [root@ftp ~]# fdisk -l …. Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders Units …
Category: Tips & Tricks
GitLab on CentOS – server certificate verification failed
If you followed this recipe to install GitLab on CentOS, you may have some problems
Heart Bleed Bug – OpenSSL
A massive vulnerability has been found in OpenSSL, the open-source software package broadly used to encrypt Web communications. The flaw allows attackers to steal the information that is normally protected …
Quick search and replace inside file
sed -i ‘s/original/new/g’ file.txtsed -i ‘s/original/new/g’ file.txt Where sed means Stream EDitor -i – in-place (for example save back to the original file) s – the substitute command original – …
How to clone MySQL database
Here is a way to create a duplicate of one database, with all its tables and their data Dump your source database into sql file # mysqldump -uroot -p production …
EoIP tunnel on Linux
Ethernet over IP (EoIP) Tunneling is a MikroTik RouterOS protocol (stateless and light ethernet point to point tunnel protocol with 28 bytes static overhead) that creates an Ethernet tunnel between two …
Teamviewer on Linux
I suppose you have a couple of clients who believes in Teamviewer only. Teamviewer on Linux works fine but after you install it, you’ll be supprised that the proces is …
CentOS 5 Call to undefined function sqlite_escape_string()
If you’re using PHP 5.2.x on RHEL/CentoOS and you received error PHP Fatal error: Call to undefined function sqlite_escape_string()PHP Fatal error: Call to undefined function sqlite_escape_string() don’t worry. The reason …
PostgreSQL books which you should consider
Since the Oracle bought Sun (including MySQL), I wanted to improve my knowledge about other databases and to check the alternatives (in case “something” happens to MySQL). Luckily, MySQL is …
Why PostgreSQL is not so popular? (howto part 2)
So… After the first part (Link) where we talk about the installation, the next step would be to create root user and to change postgres and root password. [root@XTdata init.d]# …