Installing the RPM
If you are using the RPM version of Webmin, first download the file from the downloads page, or run the command :
then install optional dependencies with :
yum -y install perl perl-Net-SSLeay openssl perl-IO-Tty perl-Encode-Detect
and then run the command :
rpm -U webmin-1.870-1.noarch.rpm
Continue reading “Webmin installation on Centos” »
It’s a bit silly process, googled hours but found not solid way to update my old 32bit centos 5 linux box. So came up with a solution of my own. It might work for you, but no guarantee!
Remove all .repo inside /etc/yum.conf.d/ directory
Create a new repo file inside /etc/yum.conf.d/
Update with the following section: Continue reading “CentOS 5 Repository fix using vault.centos.org” »
I hope you already know how to allow NFS from proxmox host server. if not, you may read my earlier post:
NFS fix on LXC Host Server
I was actually receiving a error like below:
# mount -t nfsd nfsd /proc/fs/nfsd
mount: nfsd is write-protected, mounting read-only
mount: cannot mount nfsd read-only
My proxmox edition was 5.0-30 and my CentOS was 7.
However, this is a bit different rather looking the other one as mentioned above. I was experiencing connecting my Centos 7 LXC container to a NFS server in the network. The regular tweak didn’t work. So, had to spend a while googling the solution. Found the correct one on a forum thread. But eventually it worked. For this you need to edit the file
nano /etc/pve/lxc/<your container ID>.conf
Add the below line in the conf file:
Reboot the container. And now try to connect the NFS server. It should work.
In this guide, we’ll walk you through installing all of these components (except for Linux, which is already installed as your OS when you create the server).
Install the Extra Packages for Enterprise Linux Repository (or EPEL for short):sudo yum install epel-release
Run a yum update to sync your packages with the new EPEL repository:
sudo yum update
sudo yum install mysql-server
sudo service mysqld start
Configure your MySQL installation:
Make it so that MySQL will start automatically on server reboot: Continue reading “LEMP on Centos 6” »
Server with CentOS 7 – 64bit
2 GB or more RAM (Recommended)
Root Privileges on the server
Step 1 – Install Java (JRE and JDK)
In this step, we will install the Java JRE and JDK from the CentOS repository. We will install Java 1.8.11 on the server with the yum command.
Run this command to install Java JRE and JDK from CentOS repository with yum:
yum -y install java-1.8.0-openjdk.x86_64 java-1.8.0-openjdk-devel.x86_64
It will take some time, wait until the installation finished.
Then you should check the Java version with the command below:
You should see results similar to the ones below:
openjdk version "1.8.0_111"
OpenJDK Runtime Environment (build 1.8.0_111-b15)
OpenJDK 64-Bit Server VM (build 25.111-b15, mixed mode)
Step 2 – Configure the Java Home Environment Continue reading “Install Apache Tomcat 8.5 on CentOS 7.3” »
To add the CentOS 7 EPEL repository, open terminal and use the following command:
yum install epel-release
Since we are using a sudo command, these operations get executed with root privileges. It will ask you for your regular user’s password to verify that you have permission to run commands with root privileges. Now that the Nginx repository is installed on your server, install Nginx using the following yum command:
yum install nginx
Afterwards, your web server is installed. Once it is installed, you can start Nginx on your VPS:
systemctl start nginx
You can do a spot check right away to verify that everything went as planned by visiting your server’s public IP address in your web browser (see the note under the next heading to find out what your public IP address is if you do not have this information already): Continue reading “Install LEMP with phpmyadmin on CentOS 7” »
Httperf is a tool for measuring web server performance. It provides a flexible facility for generating various HTTP workloads and for measuring server performance.
NOTE : for accurate results, it’s best to run httperf from a remote machine and not from the localhost
to install httperf in red-hat based distributions (additional repo are needed. For centos you’ll need rpmforge, see here for installation)
yum install httperf
or in debian based
apt-get install httperf
An example of httperf stress test Continue reading “stress test your web server with httperf” »
Before beginning this, it is assumed that you already have installed LAMP on your server.
To install, first you must add the Webtatic EL yum repository information corresponding to your CentOS/RHEL version to yum:
rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm
rpm -Uvh https://mirror.webtatic.com/yum/el6/latest.rpm
Now you can install PHP 7.0’s mod_php SAPI (along with an opcode cache) by doing:
yum install php70w php70w-opcache
You can alternatively install PHP 7.0’s php-fpm SAPI (along with an opcode cache by doing:
yum install php70w-fpm php70w-opcache
See the package list below for additional SAPIs and PHP extensions. Continue reading “PHP 7.0 on CentOS/RHEL 6.9 and 7.4 using Yum” »
This will be a transparent SQUID proxy for your home or corporate network , it will transparently intercept all traffic http and https , for https you will need to push to clients the CA certificate of the SQUID server, it has been tested to be working without problems with lastest Internet Explorer, Mozilla Firefox and Chrome browsers.
STEP 1 – Installing Base system , upgrading it and disabling IPtables , SeLINUX
We start by downloading the CentOS 6.5 iso from CentOS website (x86 or x64) : CentOS 6.5 ISO’s , install Base system. Partitioning , software or hardware raid is up to the user. In this example hostname is : proxy.home.lan and ip address is : 192.168.201.250 . Continue reading “Perfect Squid with Transparent proxy and SSL log” »
Follow the steps below to install Xeams on a Linux machine.Log in as root
- Download the installer
- Extract the tar file using the following command
tar -xf XeamsLinux.tar
- Ensure the permissions for Install.sh is set as an executable. If not, use the chmod +x Install.sh command to change its permission
- Execute Install.sh script
Continue reading “XEAMS mail Server Installation on CentOS 6” »