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-
Category Archives: Linux Administration
Use ssh comfortably with command history and auto-complete
When using ssh on a daily basis you type a lot, given you are probably entering a lot of hostnames and command-line options. But on your local Linux or OS X powered computer you have a lot of powerful tools to make your life easier. I would like to show a couple of easy tricks to make your life easier while working with ssh. Continue reading
Posted in Linux Administration
Tagged auto-complete, command history, SSH
Comments Off on Use ssh comfortably with command history and auto-complete
Git repository cluster setup
When you have gitosis and a number of repositories installed on a server and need to move them to another server or you want to build a cluster to have more then one server having serving the repository. This will describe how I solved this with my gitosis repositories. Continue reading
Posted in Linux Administration, Version control system
Tagged cluster, git, gitosis, master-master, Replication
Comments Off on Git repository cluster setup
Access a service without direct internet connection
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
Posted in Linux Administration
Tagged CentOS, iptables, port forwarding
Comments Off on Access a service without direct internet connection
SSH-Key authentication is not working – SELinux
When configuring SSH passwordless login with ssh-key the ssh-key generated and transfered to the server seems to not work when I try to login. Whay is the ssh-key authentication failing? Continue reading
Show network routes on MacOSX
When working with Linux you get used to the way Linux is handling things. But when you switch from Linux to Mac OS X you notice that things are handled differently. One of these differences I came across recently. Its about the way you read out the routes you currently have currently active. Continue reading
Posted in Linux Administration, MacOSX
Tagged network, routing
Comments Off on Show network routes on MacOSX
SELinux allow webserver to send email
When Wordpress tries to send email and you see “your host may have disabled the mail() function” it might be that SELinux is blocking it. Here is how to enable it. Continue reading
Posted in Linux Administration, Security
Tagged Apache, SELinux, Wordpress
Comments Off on SELinux allow webserver to send email
Remove a range of lines from a huge file
When you have to deal with a huge file containing gigabytes of data and need to delete a range of lines from it, opening it with a text editor can be a fatal mistake. As an example, in this post I will demonstrate how to delete a whole database out of a huge SQL dump without messing around with a text editor. Continue reading
Posted in Linux Administration
Tagged Linux, sed
Comments Off on Remove a range of lines from a huge file
Access the internet from server without direct connection
When two servers are connected to each other but only one server has access to the internet, it is always complicate to connect to the server without internet connection as well as you need internet connectivity to update/install packages from the repositories. Here is how you get ride of all the restriction to work comfortable even with the server that has no direct internet access. Continue reading
Posted in Linux Administration
Tagged Linux, routing
Comments Off on Access the internet from server without direct connection
Show installed yum packages by size
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
Posted in Linux Administration
Tagged CentOS, rpm, sort, yum
Comments Off on Show installed yum packages by size