CentOS Archives - Experiencing Technology https://blog.tinned-software.net/tag/centos/ Tinned-Software Blog Wed, 19 Apr 2017 19:07:38 +0000 en-US hourly 1 https://wordpress.org/?v=6.4.3 Update to PHP 5.6 on CentOS 6 using remi repository https://blog.tinned-software.net/update-to-php-5-6-on-centos-6-using-remi-repository/ Mon, 17 Apr 2017 08:00:15 +0000 https://blog.tinned-software.net/?p=2256 With CentOS being a conservative distribution, security patches are still applied to CentOS 6, but no new versions are available. When running some websites – like Virtualmin – on CentOS 6, the old PHP version 5.3.3 can cause problems. Updating to a newer … Continue reading

The post Update to PHP 5.6 on CentOS 6 using remi repository appeared first on Experiencing Technology.

]]>
Monit restart not working on CentOS – no pid-file after restart https://blog.tinned-software.net/monit-restart-not-working-on-centos-no-pid-file-after-restart/ Mon, 26 Oct 2015 18:02:08 +0000 http://blog.tinned-software.net/?p=1990 Monit is a monitoring tool that can monitor processes, files and more. In the event of a failed monitor, monit is able to alert or trigger an action. Often the action triggered is to restart the monitored daemon. With the … Continue reading

The post Monit restart not working on CentOS – no pid-file after restart appeared first on Experiencing Technology.

]]>
Setup Dovecot with PAM authentication and SSL on CentOS https://blog.tinned-software.net/setup-dovecot-with-pam-authentication-and-ssl-on-centos/ Mon, 22 Jun 2015 18:52:58 +0000 http://blog.tinned-software.net/?p=1164 Dovecot will act as the IMAP server for this setup. If you need POP3, this can also be provided by dovecot, but in this article I’m just going to show how to setup IMAP with SSL to protect the transfer of emails. Installation … Continue reading

The post Setup Dovecot with PAM authentication and SSL on CentOS appeared first on Experiencing Technology.

]]>
Access a service without direct internet connection https://blog.tinned-software.net/access-a-service-without-direct-internet-connection/ Sat, 14 Feb 2015 20:04:41 +0000 http://blog.tinned-software.net/?p=1538 When two servers are connected to each other but only one server has access to the internet, services on the server that is not connected directly to the internet cannot be accessed directly. The server connected to the internet has to forward the ports to the services you want to reach on the second server. This will show you how to configure that. Continue reading

The post Access a service without direct internet connection appeared first on Experiencing Technology.

]]>
Setup gitosis to manage git repositories https://blog.tinned-software.net/setup-gitosis-to-manage-git-repositories/ Thu, 22 Jan 2015 16:00:51 +0000 http://blog.tinned-software.net/?p=1385 With git you can have a repository on your client working independently and even not having any remote repository. But if you wane share your work with others, a remote repository will be needed. Such a remote repository can be easy set up. Continue reading

The post Setup gitosis to manage git repositories appeared first on Experiencing Technology.

]]>
Show installed yum packages by size https://blog.tinned-software.net/show-installed-yum-packages-by-size/ Tue, 01 Jul 2014 12:50:04 +0000 http://blog.tinned-software.net/?p=1057 When you pay for every GB of disc space on your server as it is with an Amazon EC2 instance, you want to make sure that the installed packages are at a minimum. Besides the actual user data, you can as well try to remove packages you don't need but have been installed for some reasons. Here is how to find the biggest installed packages. Continue reading

The post Show installed yum packages by size appeared first on Experiencing Technology.

]]>
PHP Unable to load library module.so https://blog.tinned-software.net/php-unable-to-load-library-module-so/ Thu, 01 May 2014 16:34:14 +0000 http://blog.tinned-software.net/?p=1055 If you see in the Apache error_log log-file an error like "Unable to load dynamic library /usr/lib/php/modules/module.so", you probably have CentOS 6.4 which has a configuration issue in the mcrypt configuration file. Continue reading

The post PHP Unable to load library module.so appeared first on Experiencing Technology.

]]>
Set up apache and the log path with SELinux https://blog.tinned-software.net/set-up-apache-and-the-log-path-with-selinux/ Thu, 17 Apr 2014 20:44:22 +0000 http://blog.tinned-software.net/?p=1052 Depending on your backup strategy you might run into troubles of backup the entire /etc directory. Running a default installed Apache on CentOS will have the log directory of Apache linked from within the /etc/httpd/ directory. If you backup solution would backup those as well, the backups would contain the logs and get huge. Continue reading

The post Set up apache and the log path with SELinux appeared first on Experiencing Technology.

]]>
Restrict SSH login using SSH keys to a particular IP address https://blog.tinned-software.net/restrict-ssh-logins-using-ssh-keys-to-a-particular-ip-address/ Tue, 18 Mar 2014 09:40:24 +0000 http://blog.tinned-software.net/?p=1328 Because most passwords are quite short so you can remember them as well as it is annoying to type the password all the time, You might have already considered creating SSH-keys and configured the SSH passwordless login with SSH-key for your server. But how to secure the access with SSH-key? Continue reading

The post Restrict SSH login using SSH keys to a particular IP address appeared first on Experiencing Technology.

]]>
Secure SSH server access https://blog.tinned-software.net/secure-ssh-server-access/ Mon, 03 Mar 2014 07:17:36 +0000 http://blog.tinned-software.net/?p=1023 With a server running, SSH is one of the services nearly instantly gets checked out. Only after a couple of hours of going live with your server, you might already notice someone trying to login with passwords from a dictionary. There are some things you can do to reduce those hacking attempts to your SSH server. Continue reading

The post Secure SSH server access appeared first on Experiencing Technology.

]]>
Change SSH port in CentOS with SELinux https://blog.tinned-software.net/change-ssh-port-in-centos-with-selinux/ Wed, 12 Feb 2014 08:25:21 +0000 http://blog.tinned-software.net/?p=1017 Since version 4 of CentOS, SELinux is providing an additional layer of security to the Linux distribution. As of SELinux in combination with sshd, changing the port or even listening on 2 ports is not as easy as just changing the sshd configuration file. Continue reading

The post Change SSH port in CentOS with SELinux appeared first on Experiencing Technology.

]]>
yum – install package that contains a specific file https://blog.tinned-software.net/yum-install-package-that-contains-a-specific-file/ Sat, 11 Jan 2014 20:47:24 +0000 http://blog.tinned-software.net/?p=1040 When i realised that the program to manage the SELinux rules is called "semanage" i tried to find a package of the same name in the yum repositories. But i could not find it. So i had to find it inside the yum repository. I am happy that yum provides an easy way to find a file that is provided within a package. Continue reading

The post yum – install package that contains a specific file appeared first on Experiencing Technology.

]]>
Setup Amazon AWS EC2 instance with CentOS https://blog.tinned-software.net/create-amazon-aws-ec2-instance-with-centos/ Fri, 27 Dec 2013 07:02:38 +0000 http://blog.tinned-software.net/?p=1012 The Amazon AWS provide a so called Free Tier. This is a free subscription for all the AWS services for one year. It includes EC2 instance and EBS Volumes which is nice to test the AWS service. See details about the included services and there limitations at AWS Free Usage Tier. Continue reading

The post Setup Amazon AWS EC2 instance with CentOS appeared first on Experiencing Technology.

]]>
Linux Partition layout with RAID1 and LVM https://blog.tinned-software.net/linux-partition-layout-with-raid1-and-lvm/ Wed, 11 Dec 2013 15:45:16 +0000 http://blog.tinned-software.net/?p=1214 While installing CentOS you have to make a very important decision. The partition layout needs to be defined. The correct layout requires a understanding what the partitions are used for. As well, this step of the setup requires your decision if you plan to setup a RAID for your system partitions. Continue reading

The post Linux Partition layout with RAID1 and LVM appeared first on Experiencing Technology.

]]>
Restrict Linux User to SCP to his home directory https://blog.tinned-software.net/restrict-linux-user-to-scp-to-his-home-directory/ Mon, 28 Oct 2013 06:46:56 +0000 http://blog.tinned-software.net/?p=820 You wanna give access to your server? But you want to restrict access to SCP/SFTP and to the user's home directory. Here is how i configured an account restricted to SCP/SFTP only using jailkit on CentOS. Continue reading

The post Restrict Linux User to SCP to his home directory appeared first on Experiencing Technology.

]]>