Check CPU Type

Here is how to check the CPU type in CentOS: # dmidecode –type processor Output: # dmidecode 2.12 SMBIOS 2.7 present. Handle 0x0004, DMI type 4, 42 bytes Processor Information Socket Designation: CPU 1 Type: Central Processor Family: Xeon Manufacturer: Intel ID: D7 06 02 00 FF FB EB BFRead More…

Php 4 on cpanel

Here are a few articles that mention it: https://documentation.cpanel.net/display/EA/Custom+Modules https://forums.cpanel.net/threads/how-to-easy-php4-php5-side-by-side-after-removal-of-php4-from-easyapache.304942/ The End of PHP 4 https://www.siteground.com/kb/how_to_have_different_php__mysql_versions/ You can set the handler for the site using a .htaccess file in the domains webroot with the following contents: Code: AddHandler application/x-httpd-php4 .php .php4 .php3

SCP Examples

How to secure copy a file from remote server to to local directory: /home/user/file.txt = remote file /home/user/Desktop/ = path to copy to local system # scp -r user@remote.server.com:/home/user/file.txt /home/user/Desktop/ -r Recursively copy entire directories What if the port is on 2243? Use: # scp -P2243 -r user@remote.server.com:/home/user/file.txt /home/user/Desktop/ #Read More…