If your Redhat server is not connected to the official RHN repositories, you will need to configure your own private repository which you can later use to install packages. The procedure of creating a Redhat repository is quite simple task. In this article we will show you how to create a local file Redhat repository as well as remote HTTP repository.
So as we have all heard by now (at least those of us who use Ubuntu Linux every day), Ubuntu 13.04, otherwise known as Raring Ringtail, may be the last ‘named’ release in the Ubuntu family. Canonical is (still) debating on moving to the ‘rolling release’ lifecycle for their desktop distribution outside of their ‘LTS’ offerings. What this means is that they are tightening up support for upcoming releases (shorter support windows) and will not release new LTS version as often. Let’s take a quick look at a late Alpha of Ubuntu 13.04.
Hostgator VPS generates apache's httpd.conf file automatically. Therefore, any new lines you add to apache's configuration file will be overwritten. In order to add new configuration settings we need to include a configuration. Open up your main config file /etc/httpd/conf/httpd.conf and search for a virtual host with the domain name you wish to edit. Last two lines of your virtual host should look similar to this:
# To customize this VirtualHost use an include file at the following location
# Include "/usr/local/apache/conf/userdata/std/2/linuxcon/linuxconfig.org/*.conf"
uncomment the Include line by remove leading "#".
Next, create a directory to reflect the Include location:
# mkdir -p /usr/local/apache/conf/userdata/std/2/linuxcon/linuxconfig.org/
Once your directory is created add a new .conf file. For example:
# cd /usr/local/apache/conf/userdata/std/2/linuxcon/linuxconfig.org/ # echo "redirect 301 /some-url http://linuxconfig.org" > redirects.confRead more...
Logrotate is a utility designed for administrators who manage servers producing a high volume of log files to help them save some disk space as well as to avoid a potential risk making a system unresponsive due to the lack of disk space. Normally, a solution to avoid this kind of problem is to setup a separate partition or logical volume for a /var mount point. However, logrotate may also be a viable solution to this problem especially if it is too late to move all logs under different partition. In this article we will talk about usage and configuration of logrotate on RedHat / CentOS Linux server.
We have talked about security in this space before, in more abstract terms. More specifically, we are going to review the basic setup and some simple access rules using the venerable and ever popular ‘iptables’ firewall available for every Linux distribution around.
Accessing your desktop remotely is a convenience that we all appreciate. Many people set up VNC Server and an associated client in order to have their full ‘X’ capable desktop with them wherever they have a network connection. What some do not realize is that VNC as a protocol is extremely insecure and very susceptible to MitM snooping (Man in the Middle) since much of the text back and forth between client and server is transmitted as clear text. Today we are going to install and configure a simple VNC Server, access it with a VNC client and then add some security by using it over SSH.
This article will deal with installation and configuration of WebDAV server on Ubuntu Linux. WebDAV stands for Web Distributed Authoring and Versioning and allows connected users the edit and share data online via the HTTP protocol. This makes WebDAV a popular choice for developers when combined, for example, with Subversion or OpenLink Virtuoso. WebDAV is supported by number of clients ranging from davfs2, which makes it possible to mount the WebDAV's data storage to include into the local filesystem. This can be done with the mount command to various GUI applications with the native WebDAV support such as Nautilus, konqueror, etc. Futhermore, in this guide we will combine WebDAV with the Apache2 server.
LEMP is an alternative to LAMP, the Linux based web server configuration stack using MySQL and PHP. However, instead of Apache LEMP is deployed with Nginx ( pronounced engine-x or en-juhn-eks ) web server. Nginx is a free, open-source, high-performance HTTP server and reverse proxy, which can be also used as a mail proxy. Nginx is acclaimed for having low memory usage and thus it is favored solution for a low RAM web server deployments such as VPS, etc. The difference in a memory consumption and serving speed between Apache and Nginx is likely to be noticeable under a heavy load. Thus, configuring Nginx should also help you to protect against sudden traffic spikes. However, the choice of using Ngnix over Apache is a matter of your environment where many aspects needs to be taken into the consideration. These are the content to be served, configuration settings, number of modules enabled, etc. In this tutorial we will setup a basic LEMP configuration on Ubuntu Linux.
Question2Answer (Q2A) is a popular open source Q&A solution, currently in use on thousands sites world-wide in 40 languages. It is built on the standard PHP/MySQL platform, and runs safe and fast. A Q&A engine helps you to create an online community to share knowledge.
People with questions quickly get the answers they need. The community dynamic is enriched by commenting, voting, notifications, user points and rankings.
In this guide we will show you how to install this popular software on LAMP ( Linux Apache MySQL PHP). Operating system used will be Ubuntu 12.04.1 LTS.
Do you feel that someone is attempting to access you server? To find out, you can deploy a honeypot within your system to help you ease your paranoia by either confirming or dismissing your initial believe. As an example you can start the Kippo SSH honeypot, which allows you to monitor brute-force attempts, collect up today exploits and malware. Kippo also automatically records hacker's shell session, which you can replay to explore various hacking techniques and later use this gathered knowledge to harden your production server. Another reason why to install a honeypot is to take away an attention from your production server. In this tutorial we will show how to deploy a Kippo SSH honeypot on the Ubuntu server.