Categories
- Database (7)
- DNS (5)
- Encryption (8)
- Linux Administration (78)
- MacOSX (9)
- Mailserver (11)
- Monitoring (3)
- Multimedia (2)
- Photo (1)
- PHP (7)
- Rescue (4)
- Review (5)
- Security (37)
- Storage (1)
- Uncategorized (1)
- Version control system (16)
- Virtualisation (4)
- Web technologies (8)
- Wordpress (1)
Social Profiles
Facebook
Github
Twitter
Linkedin
Xing
Gravatar
Stackoverflow
Mastodon-
Tag Archives: CentOS
Change SSH port in CentOS with SELinux
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
Posted in Linux Administration, Security
Tagged CentOS, SELinux, SSH
Comments Off on Change SSH port in CentOS with SELinux
yum – install package that contains a specific file
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
Setup Amazon AWS EC2 instance with CentOS
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
Posted in Linux Administration
Tagged Amazon, AWS, CentOS, EBS, EC2, Free Usage Tier
Comments Off on Setup Amazon AWS EC2 instance with CentOS
Linux Partition layout with RAID1 and LVM
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
Posted in Linux Administration
Tagged CentOS, LVM, RAID1, swap
Comments Off on Linux Partition layout with RAID1 and LVM
Restrict Linux User to SCP to his home directory
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