<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Installation Notes</title><link>https://sourceforge.net/p/hldstart/wiki/Installation%2520Notes/</link><description>Recent changes to Installation Notes</description><atom:link href="https://sourceforge.net/p/hldstart/wiki/Installation%20Notes/feed" rel="self"/><language>en</language><lastBuildDate>Sun, 11 Jun 2017 06:50:57 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/hldstart/wiki/Installation%20Notes/feed" rel="self" type="application/rss+xml"/><item><title>Installation Notes modified by Eric</title><link>https://sourceforge.net/p/hldstart/wiki/Installation%2520Notes/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v33
+++ v34
@@ -1,3 +1,10 @@
+# Instructions OUT-OF-DATE
+This page is out of date.  Please visit our GitHub for the latest instructions, guides, and notes.
+
+https://github.com/OpenGamePanel/OGP-Website/wiki
+
+-----
+
 Please read these instructions carefully as you do not need to execute every command that is in this page.

 Installing the agent to a remote server. For this you need to have computer with some Linux distribution installed. You also need to have either remote (e.g., SSH) or local terminal connection to this machine.
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Eric</dc:creator><pubDate>Sun, 11 Jun 2017 06:50:57 -0000</pubDate><guid>https://sourceforge.netc61cda50476057101cd391dbc319d4a7edb0b236</guid></item><item><title>Installation Notes modified by DieFeM</title><link>https://sourceforge.net/p/hldstart/wiki/Installation%2520Notes/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v32
+++ v33
@@ -64,7 +64,7 @@
 ### All CentOS

 ~~~~~~
-yum -y install sudo perl-ExtUtils-MakeMaker perl-IO-Compress-Bzip2 perl-XML-Parser perl-Path-Class perl-Archive-Tar perl-Archive-Zip perl-Archive-Extract perl-HTTP-Daemon screen ncompress pure-ftpd rsync subversion unzip
+yum -y install sudo perl-ExtUtils-MakeMaker perl-IO-Compress-Bzip2 perl-XML-Parser perl-Path-Class perl-Archive-Tar perl-Archive-Zip perl-Archive-Extract perl-HTTP-Daemon perl-LWP-Protocol-https screen ncompress pure-ftpd rsync subversion unzip
 ~~~~~~

 __To run the new Steam client, steamcmd, and some games on the minimal distribution of CentOS 6.x 64bit you will need the next packages__
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">DieFeM</dc:creator><pubDate>Wed, 03 Jun 2015 23:37:51 -0000</pubDate><guid>https://sourceforge.net9938e1ef81872c02f454cc53556fe93fc259378e</guid></item><item><title>Installation Notes modified by DieFeM</title><link>https://sourceforge.net/p/hldstart/wiki/Installation%2520Notes/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v31
+++ v32
@@ -64,7 +64,7 @@
 ### All CentOS

 ~~~~~~
-yum -y install sudo perl-ExtUtils-MakeMaker perl-IO-Compress-Bzip2 perl-XML-Parser perl-Path-Class perl-Archive-Tar perl-Archive-Zip perl-Archive-Extract screen ncompress pure-ftpd rsync subversion unzip
+yum -y install sudo perl-ExtUtils-MakeMaker perl-IO-Compress-Bzip2 perl-XML-Parser perl-Path-Class perl-Archive-Tar perl-Archive-Zip perl-Archive-Extract perl-HTTP-Daemon screen ncompress pure-ftpd rsync subversion unzip
 ~~~~~~

 __To run the new Steam client, steamcmd, and some games on the minimal distribution of CentOS 6.x 64bit you will need the next packages__
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">DieFeM</dc:creator><pubDate>Wed, 03 Jun 2015 23:34:49 -0000</pubDate><guid>https://sourceforge.net87952d3b4e04a88d7cbf8954d069ea887c50c352</guid></item><item><title>Installation Notes modified by DieFeM</title><link>https://sourceforge.net/p/hldstart/wiki/Installation%2520Notes/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v30
+++ v31
@@ -277,7 +277,7 @@
 ### All CentOS (5, 6, 7)

 ~~~~~~
-yum -y install httpd php php-xmlrpc php-xml php-mysql php-gd mysql-server php-pear curl
+yum -y install httpd php php-xmlrpc php-xml php-mysql php-gd mysql-server php-pear php-mbstring curl
 ~~~~~~
 __ Note that in CentOS 7 must install mariadb-server instead of mysql-server __

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">DieFeM</dc:creator><pubDate>Wed, 03 Jun 2015 22:56:49 -0000</pubDate><guid>https://sourceforge.netfe0a182cc343bb37d8a000bf2c3fc3dba192bf2e</guid></item><item><title>Installation Notes modified by DieFeM</title><link>https://sourceforge.net/p/hldstart/wiki/Installation%2520Notes/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v29
+++ v30
@@ -51,12 +51,12 @@
 rm -f epel-release-6-8.noarch.rpm
 ~~~~~~

-### CentOS 7 (EPEL BETA)
-
-~~~~~~
-wget http://dl.fedoraproject.org/pub/epel/beta/7/x86_64/epel-release-7-0.2.noarch.rpm
-rpm -Uvh epel-release-7-0.2.noarch.rpm
-rm -f epel-release-7-0.2.noarch.rpm
+### CentOS 7
+
+~~~~~~
+wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
+rpm -Uvh epel-release-7-5.noarch.rpm
+rm -f epel-release-7-5.noarch.rpm
 ~~~~~~

  - Install Packages
@@ -266,12 +266,12 @@
 rm -f epel-release-6-7.noarch.rpm
 ~~~~~~

-### CentOS 7 (EPEL BETA)
-
-~~~~~~
-wget http://dl.fedoraproject.org/pub/epel/beta/7/x86_64/epel-release-7-0.2.noarch.rpm
-rpm -Uvh epel-release-7-0.2.noarch.rpm
-rm -f epel-release-7-0.2.noarch.rpm
+### CentOS 7
+
+~~~~~~
+wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
+rpm -Uvh epel-release-7-5.noarch.rpm
+rm -f epel-release-7-5.noarch.rpm
 ~~~~~~

 ### All CentOS (5, 6, 7)
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">DieFeM</dc:creator><pubDate>Sun, 24 May 2015 22:37:59 -0000</pubDate><guid>https://sourceforge.net337664d225e91f52dde37074dc8a2e251c2aa007</guid></item><item><title>Installation Notes modified by DieFeM</title><link>https://sourceforge.net/p/hldstart/wiki/Installation%2520Notes/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v28
+++ v29
@@ -450,7 +450,7 @@
 ${DEBIAN_SCRIPT_DEBUG:+ set -v -x}

 agent_user=ogp_agent
-service=ogp_vnc
+service=ogp_vnc.service

 # Source function library.
 if [ -f /etc/rc.d/init.d/functions ] ; then
@@ -458,7 +458,7 @@
 elif [ -f /etc/init.d/functions ] ; then
     . /etc/init.d/functions
 elif [ -f /lib/lsb/init-functions ] ; then
-   . /lib/lsb/init-functions
+    . /lib/lsb/init-functions
 fi

 start() {
@@ -480,8 +480,12 @@
     echo -n "Stopping OGP Agent WINE VNC: "
     su -c "vncserver -kill :1 &amp;gt;/dev/null 2&amp;gt;&amp;amp;1" $agent_user
     RETVAL=$?
-    [ $RETVAL -eq 0 ] &amp;amp;&amp;amp; rm -f /var/lock/$service
-    echo success
+    if [ $RETVAL -eq 0 ]; then 
+       rm -f /var/lock/$service
+       echo success
+    else
+       echo fail
+    fi
     return $RETVAL
 }

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">DieFeM</dc:creator><pubDate>Sun, 24 May 2015 20:22:54 -0000</pubDate><guid>https://sourceforge.net9f911c1bb78e8714c8e688ac25f8a6948c047a66</guid></item><item><title>Installation Notes modified by DieFeM</title><link>https://sourceforge.net/p/hldstart/wiki/Installation%2520Notes/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v27
+++ v28
@@ -503,10 +503,12 @@
     condrestart)
     if [ -f /var/lock/$service ]; then
        stop
-       start
        RETVAL=$?
+       if [ $RETVAL -eq 0 ]; then
+          start
+          RETVAL=$?
+       fi
     fi
-    RETVAL=1
     ;;
     status)
     status $service
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">DieFeM</dc:creator><pubDate>Sun, 24 May 2015 20:03:30 -0000</pubDate><guid>https://sourceforge.neta3f72e68af4f95c6cdd9a364783a0032463166d5</guid></item><item><title>Installation Notes modified by DieFeM</title><link>https://sourceforge.net/p/hldstart/wiki/Installation%2520Notes/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v26
+++ v27
@@ -404,8 +404,8 @@
 nano ~/.vnc/xstartup
 ~~~~~~

-__ and add 'fuxbox &amp;amp;' at the end of that file.
-You should replace any other window manager if any (usually "x-window-manager &amp;amp;" by default). __
+__ and add 'fluxbox &amp;amp;' at the end of that file.
+You must replace any other window manager if any (usually "x-window-manager &amp;amp;" by default). __

 Now you can go back to your administrator account or root:

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">DieFeM</dc:creator><pubDate>Sun, 24 May 2015 19:50:40 -0000</pubDate><guid>https://sourceforge.net5e7e939e873ef7868fad0f6d516b5d76e2b50d67</guid></item><item><title>Installation Notes modified by DieFeM</title><link>https://sourceforge.net/p/hldstart/wiki/Installation%2520Notes/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v25
+++ v26
@@ -405,7 +405,13 @@
 ~~~~~~

 __ and add 'fuxbox &amp;amp;' at the end of that file.
-You should replace any other window manager if any (usually ). __
+You should replace any other window manager if any (usually "x-window-manager &amp;amp;" by default). __
+
+Now you can go back to your administrator account or root:
+
+~~~~~~
+exit
+~~~~~~

 ## Create a startup script

@@ -515,7 +521,7 @@
 exit $RETVAL
 ~~~~~~

-You need to change in agent_user=agent with your user for ogp_agent.
+__ You need to change in agent_user=agent with your agent user. __

 then make it executable:

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">DieFeM</dc:creator><pubDate>Sun, 24 May 2015 19:44:28 -0000</pubDate><guid>https://sourceforge.net64146e0a7861bcea35a127a09f40e033bdbe6963</guid></item><item><title>Installation Notes modified by DieFeM</title><link>https://sourceforge.net/p/hldstart/wiki/Installation%2520Notes/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v24
+++ v25
@@ -374,6 +374,12 @@

 After installing the needed packages you should setup a password for your VNC server. It will prompt asking for a password for VNC login on the current account, so log into the OGP user account before set the VNC password.

+If your agent user is __ ogp_agent __ do:
+
+~~~~~~
+sudo su - ogp_agent
+~~~~~~
+
 Type:

 ~~~~~~
@@ -398,11 +404,8 @@
 nano ~/.vnc/xstartup
 ~~~~~~

-and add 'fuxbox &amp;amp;' at the end of that file, if it exist, you should replace any other window manager:
-
-~~~~~~
-fluxbox &amp;amp;
-~~~~~~
+__ and add 'fuxbox &amp;amp;' at the end of that file.
+You should replace any other window manager if any (usually ). __

 ## Create a startup script

@@ -455,7 +458,7 @@
 start() {
     # start daemon
     echo -n "Starting OGP Agent WINE VNC: "
-    su -c "vncserver -geometry 800x600 -depth 24 &amp;gt;/dev/null 2&amp;gt;&amp;amp;1" $agent_user
+    su -c "vncserver :1 -geometry 800x600 -depth 24 &amp;gt;/dev/null 2&amp;gt;&amp;amp;1" $agent_user
     RETVAL=$?
     if [ $RETVAL -eq 0 ]; then
        touch /var/lock/$service
@@ -479,22 +482,29 @@
 case "$1" in
     start)
     start
+    RETVAL=$?
     ;;
     stop)
     stop
+    RETVAL=$?
     ;;
     restart)
     stop
+    sleep 1
     start
+    RETVAL=$?
     ;;
     condrestart)
     if [ -f /var/lock/$service ]; then
        stop
        start
+       RETVAL=$?
     fi
+    RETVAL=1
     ;;
     status)
     status $service
+    RETVAL=0
     ;;
     *)
     echo "Usage: $service {start|stop|restart|condrestart|status}"
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">DieFeM</dc:creator><pubDate>Sun, 24 May 2015 19:35:04 -0000</pubDate><guid>https://sourceforge.net0880fd20ab4a2e4239cb3be4e548b56f1f1e9d6f</guid></item></channel></rss>