The default OS disk size for most Linux distros in Azure is 30GB and in certain circumstances you may need to increase the size of it. The steps below helps in achieving this. Note: Before proceeding it’s highly recommended that you backup your Azure VM first. You can do this using Azure Backup or use AzCopy … Continue reading How to resize the Linux VM OS disk in Azure
When you face an error with yum as below ============ [root@tnode1~]# yum repolist all Loaded plugins: product-id, security, subscription-manager : [Errno 14] Peer cert cannot be verified or peer cert invalid ============ Add “sslverify=false” in the ‘/etc/yum.conf’ file to solve this.
1.Install JAVA #yum install java-1.7.0-openjdk-devel 2.Install tomcat We are going to install Tomcat in /usr/local #cd /usr/local #wget http://apache.mirrors.ionfish.org/tomcat/tomcat-8/v8.5.9/bin/apache-tomcat-8.5.9.tar.gz #tar zxvf apache-tomcat-8.5.9.tar.gz 3. Start tomcat #cd /usr/local/apache-tomcat-8.5.9/bin #./startup.sh 4. Check the Tomcat web UI with http://server_IP_address:8080 5. Configure Tomcat Web Management Interface by adding the user as below Open the conf file #vi /usr/local/apache-tomcat/conf/tomcat-users.xml add the below entry … Continue reading How To Install Apache Tomcat 8 on CentOS 7
In the command line type the following as root # echo 0 >/selinux/enforce We can also use the setenforce command to effectively disable it as below # setenforce Permissive OR # setenforce 0 With the above command selinux will be turned off temporarily. But to permanently disable it we have to edit /etc/sysconfig/selinux as below vi /etc/sysconfig/selinux … Continue reading How to Disable SELinux