This account is currently not available when trying to su user

How to resolve the error ‘This account is currently not available’ when trying to use su to switch to another user in CentOS This error is caused by there not being a valid shell set for the user account that you are trying to use su to switch to. This is easily resolved as follows Read more about This account is currently not available when trying to su user[…]

Installing Mediawiki on Centos 6.5

An overview on installing Mediawiki on a Centos server. The first stage will be to install the pre-requisits to the server (Basically LAMP) and start the services. yum -y install httpd mysql mysql-server php php-mysql php-xml service httpd start chkconfig httpd on service mysqld start chkconfig mysqld on We will now need to run through Read more about Installing Mediawiki on Centos 6.5[…]

Installing Logstash-Forwarder on CentOS

How to install Logstash Forwarder to check in with your ELK Stack setup on CentOS. Please note that this is for the forwarder only. The first thing we will need to do will be to set up the repository that contains the logstash-forwarder package: echo “[logstash-forwarder] name=logstash-forwarder repository baseurl=http://packages.elastic.co/logstashforwarder/centos gpgcheck=1 gpgkey=http://packages.elasticsearch.org/GPG-KEY-elasticsearch enabled=1” > /etc/yum.repos.d/logstash-forwarder.repo Once Read more about Installing Logstash-Forwarder on CentOS[…]

Disabling SELINUX

A quick guide on disabling SELINUX on your Centos server. SELINUX can cause havok in installing and running various applications so in non-production environments it often works out easier to disable this. nano /etc/sysconfig/selinux SELINUX=disabled Replace the line starting SELINUX= with the above and reboot your server. You can confirm this is uninstalled by running Read more about Disabling SELINUX[…]

Setting up a CentOS CUPS print server

Setting up a CentOS server to share printers via the CUPS package. Firstly you will need to install pre-requisits as follows: yum -y install cups ghostscript hplip samba You will now need to start the services for the CUPs server and set them to run on startup: service cups start service smb start chkconfig cups Read more about Setting up a CentOS CUPS print server[…]

“This account is currently not available” error message

How to resolve “This account is currently not available” error message when trying to use su to change the logged in user on CentOS. To resolve this issue, simply use the following command (Changing the final section to the username you are trying to use) chsh -s /bin/bash yourusername Once you have done this you Read more about “This account is currently not available” error message[…]