![]() ![]() ![]() Finally, restart the service: systemctl restart rvice Step 6: Start OpenVPNġ. Add the following line at the top of the file: _forward = 1Ħ. Move on to routing all web traffic from the client to the server’s IP address by enabling IP forwarding. Reload firewalld for the changes to take place: firewall-cmd -reloadĤ. Next, permanently add the routing rule using the variable created above: firewall-cmd -permanent -direct -passthrough ipv4 -t nat -A POSTROUTING -s 10.8.0.0/24 -o $VAR -j MASQUERADEģ. However, you can create a variable under the name of your choice. In the command below, the variable is named VAR. Create a variable that represents the primary network interface used by your server. bashrc and add the following command at the end of this file: export JAVA_HOME=”/usr/lib/jvm/jre-1.7.0-openjdk.x86_64″ To test your Java installation, create a file HelloWorld.Once you have completed the steps above, move on to routing to your OpenVPN subnet.ġ. ![]() JDK 1.7 install on Plesk 12 on CentOS 6.x To install JDK 1.7 on the server, I followed the steps as mentioned in the following URL and this is briefly summed up in the below steps: # yum search java | grep -i –color JDK # yum install java-1.7.0-openjdk java-1.7.0-openjdk-devel # ls -l /usr/lib/jvm/ (check your jdk install path) # export JAVA_HOME=/usr/lib/jvm/jre-1.7.0-openjdk.x86_64 # vi. MySQL 5.5 upgrade with ART repo: Check the current mysql version installed on the server: # rpm -qa | grep mysql Install ART repo # wget -q -O – | sh Upgrade MySQL with the ART packages # yum upgrade mysql You can now proceed to restarting mysql and also check the rpm packages and verify if plesk panel is working well. To upgrade MySQL without breaking Plesk panel and also install JDK on the server, the following are the steps which we had done and is shared below: Caution: Before doing anything, please take a backup of your VM or server, in case things don’t work as planned :). By default, Plesk 12 doesn’t come with Java or MySQL 5.5 support (mysql 5.1.73-3.el6_5 is installed as of the time of this post). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |