瀏覽代碼

give more non-obvious details about next steps after installation

Ralf S. Engelschall 21 年之前
父節點
當前提交
55bfeea85e
共有 1 個文件被更改,包括 16 次插入8 次删除
  1. 16 8
      rt/rt.spec

+ 16 - 8
rt/rt.spec

@@ -47,7 +47,7 @@ Class:        EVAL
 Group:        Database
 License:      GPL
 Version:      %{V_rt}
-Release:      20040413
+Release:      20040415
 
 #   package options
 %option       with_color_primary   336699
@@ -403,18 +403,26 @@ AutoReqProv:  no
         fi
 
         #   display final hint after initial installation
-        ( echo "To complete installation of the RT package please check the"
-          echo "file $RPM_INSTALL_PREFIX/etc/rt/RT_SiteConfig.pm. In particular,"
-          echo "you have to assign a password to the RT database user."
-          echo "Then you have to create the RT database in the RDBMS with:"
-          echo "\$ $RPM_INSTALL_PREFIX/sbin/rtsetup"
+        ( echo "To complete installation of RT, please check the file"
+          echo "    $RPM_INSTALL_PREFIX/etc/rt/RT_SiteConfig.pm"
+          echo "In particular, you have to assign a password to the RT"
+          echo "database user. Then you have to start the MySQL RDBMS and"
+          echo "create the initial RT database with:"
+          echo "    \$ $RPM_INSTALL_PREFIX/etc/rc mysql start"
+          echo "    \$ $RPM_INSTALL_PREFIX/sbin/rtsetup"
+          echo "After this post-installation, start RT by running"
+          echo "    \$ $RPM_INSTALL_PREFIX/etc/rc rt start"
+          echo "and connect with a browser to:"
+          echo "    http://127.0.0.1:8380/"
+          echo "Login as 'root' (with initial password 'password')"
+          echo "to change the password to a custom one."
         ) | %{l_rpmtool} msg -b -t notice
     elif [ $1 -gt 1 ]; then
         #   display final hint after upgrading
         ( echo "If you have an old RT database you can erase it with:"
-          echo "\$ $RPM_INSTALL_PREFIX/sbin/rtcleanup"
+          echo "    \$ $RPM_INSTALL_PREFIX/sbin/rtcleanup"
           echo "Upgrading from an earlier RT 3.x database you can with:"
-          echo "\$ $RPM_INSTALL_PREFIX/sbin/rtupgrade <old-rt-version>"
+          echo "    \$ $RPM_INSTALL_PREFIX/sbin/rtupgrade <old-rt-version>"
         ) | %{l_rpmtool} msg -b -t notice
     fi