CentOS.zip

Configuring IP Address on Centos 6.7

792

On Centos 6.7,you can check IP address configuration by ifconfig command as below: .The below is the example of files on " / etc / sysconfig / network-scripts". Among above,ifcfg-eth0 and ifcfg-eth1 is wired network,and below is the reference example: .If ...

Generate Let’s Encrypt Wildcard SSL Certificate

626

STEP 1.Install Let’s Encrypt Certbot Tool.Before you can create free wildcard certificates,you need certbot installed.I’m using an CentOS Server here.To install it,run the following commands: .STEP 2.Generate Let’s Encrypt Wildcard SSL Certificate.After...

Set timezone and time on Centos 6.7

543

When using OAuth 1.0a, it requires timestamp for authentication. The followings are the example of shell commands which can set time information. Setup timezoneTo set the timezone of your system clock do the following:# rm -rf / etc / localtime# ln -...

mcrypt missing when using phpMyAdmin on Centos 6.7

551

“mcrypt” is an interface to the mcrypt library, which supports a wide variety of block algorithms such as DES, TripleDES, Blowfish (default), 3-WAY, SAFER-SK64, SAFER-SK128, TWOFISH, TEA, RC2 and GOST in CBC, OFB, CFB and ECB cipher modes. Additionally, ...

Setup Apache+PHP+MySQL on Centos 6.7

607

If you installed Centos in minial installation mode, you should install Apache + PHP + MySQL manually.The followings are the procedure to install Apache + PHP + MySQL:Making apache and mysql to start automatically

How to optimize MySQL automatically in CentOS Linux

1,009

I am using CentOS Linux for service purpose. Main reason to use CentOS is cheaper hosting for private purpose. Actually MySQL requires periodical optimization process in my experiences, and I use / etc / cron.hourly usually for those kind of bath processi...

Building a Basic DNS Server in PHP/Python: A Beginner's Guide

743

Creating a full-fledged DNS server in PHP is not recommended for production environments due to performance and security concerns. DNS servers require low-level networking capabilities and efficient handling of DNS protocol messages, which PHP is not optim...

Dynamic DNS Made Easy: Building a Python-Based Solution

796

Creating a dynamic DNS (Domain Name System) service in Python involves several components: a server that listens for DNS queries, a database to store mappings between domain names and IP addresses, and functionality to update these mappings dynamically. Be...

Public DNS (Domain Name Service) based on IPv4, IPv6 widely used

Public DNS (Domain Name Service) based on IPv4, IPv6 widely used

1,246

In most cases,the Dynamic Host Configuration Protocol (DHCP) automatically configures your system to use the IP addresses of your ISP's domain name servers.To use Public DNS,you need to explicitly change the DNS settings in your operating system or device ...

How can I increase MySQL max connections?

463

edit the file / etc / my.cnfThe file should look like this:Increase 100,000 to the number you desire.After the setting is applied, you should restart your database.

SQL to Select a random row from a database table

539

There are lots of ways to select a random record or row from a database table.Here are some example SQL statements that don't require additional application logic,but each database server requires different SQL syntax.Select a random row with MySQL:Select ...