KNOWLEDGE BASE

28Jan 2017

There is an easy method to find spammer php script in your home path. Directadmin logs these spammer scripts which are using phpmailer or similar things. To find this: Go to your home path cd /home Find your log files find ./ -type f -size +1k -name “php-mail.log” After this find operation, you can see […]

28Jan 2017
Physical or virtual

LINUX Version Details There is an easy way to learn GNU/Linux version in all distros. For CentOS, RedHat and other flavors you can use the code cat /etc/redhat-release Bu komut size aşağıdakine benzer bir cevap ile dönecektir: [root@veriteknik ~]# cat /etc/redhat-release CentOS Linux release 7.5.1804 (Core) Sunucunun Sanal ya da Fiziksel olduğunu nasıl anlarsınız Sunucunun […]

10Jun 2016

When i try to convert my certificates to pfx format, i encountered a problem shown below # openssl pkcs7 -print_certs -in PKCS7.p7b -out certificate.cer unable to load PKCS7 object 140083803338568:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:703:Expecting: PKCS7 To solve this issue: 1) Copy your PKCS7.p7b file as PKCS7.crt 2) Open this file with your editor and add these […]

22May 2016

  This is a complete guide to install BackupPC on your CentOS 7 server. #Install BackupPC and prerequsities yum upgrade -y yum install epel-release yum install backuppc nfs-utils nfs-utils-lib bzip2 systemctl restart backuppc.service #Set permissions cd /usr/share/BackupPC/ chown backuppc:apache sbin/* cd /usr/share/BackupPC/sbin chmod u+s BackupPC_Admin usermod -s /bin/bash backuppc #Set firewall rule for HTTP port. […]

22May 2016

You can use IPMI tools for configuring iDrac, CIMC and similar remote management systems quickly.   –> Install IPMI Tools #  yum install OpenIPMI OpenIPMI-tools –> Start ipmi service automatically #  chkconfig ipmi on –> Print current configuration. #  ipmitool lan print 1 Set in Progress : Set Complete Auth Type Support : NONE MD2 […]

21Feb 2016

CloudLinux Resource Limit   Cloudlinux is a platform that has ability of managing resources and users in order to preserve other users resources on server.  You can simply manage your server resources by using these simple commands according to your needs.   To find user id [root@pcname~]# grep “—user—” /etc/passwd user:x:11333:503::/var/www/vhosts/ user.com:/bin/false then use this […]

26Dec 2015

Before iOS revision 12.4 you were having access-lists and debug facility to get a clue about the packets passing through an interface. Now it is fairly easy to get packets and even export them as .pcap to analyse within a few easy steps. First thing to do is, create an access-list based on your requirements: […]

31Aug 2015

Most of the yum repos doesn’t include PHP5.4.X on current releases for the time being. So if you need PHP5.4.X, you need to compile and build it for your self. I decided to put all required packages to the compilation, so most probably you wouldn’t need additional packages, just a quick tip, if you need […]

12May 2015

The best thing about CentOS 7 is, it has a super easy firewall built-in. I recommend you not to disable the firewall. To check the active zones: [root@rh7 ~]# firewall-cmd –get-active-zones public interfaces: enp1s0f0 To get available service names: [root@rh7 ~]# firewall-cmd –get-services RH-Satellite-6 amanda-client bacula bacula-client dhcp dhcpv6 dhcpv6-client dns ftp high-availability http https imaps […]