Changeset 2111
- Timestamp:
- Jan 15, 2012, 9:20:52 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server/doc/install-howto.sh
r2080 r2111 84 84 yum remove NetworkManager 85 85 86 # Make sure sendmail isn't installed 87 yum remove sendmail 86 # Make sure sendmail isn't installed, replace it with postfix 87 yum shell <<EOF 88 remove sendmail 89 install postfix 90 run 91 exit 92 EOF 88 93 89 94 # Check out the scripts /etc configuration … … 115 120 116 121 # Replace rsyslog with syslog-ng by doing: 117 rpm -e --nodeps rsyslog 118 yum install -y syslog-ng 122 yum shell <<EOF 123 remove rsyslog 124 install syslog-ng 125 run 126 exit 127 EOF 119 128 systemctl enable syslog-ng.service 120 129 … … 123 132 rpm -qa --queryformat "%{Name}.%{Arch}\n" | sort > packages.txt 124 133 # arrange for packages.txt to be passed to the server, then run: 125 # --skip-broken will (usually) prevent you from having to sit through 126 # several minutes of dependency resolution until it decides that 127 # it can't install /one/ package. 128 yum install -y --skip-broken $(cat packages.txt) 134 cd /tmp 135 yumdownloader --disablerepo=scripts ghc-cgi ghc-cgi-devel 136 yum localinstall ghc-cgi*.x86_64.rpm 137 yum install -y $(cat packages.txt) 138 # The reason this works is that ghc-cgi is marked as installonlypkgs 139 # in yum.conf, telling yum to install them side-by-side rather than 140 # updating them. If it doesn't work, use --skip-broken on the yum 141 # command line. 129 142 130 143 # Check which packages are installed on your new server that are not … … 140 153 # ModemManager PackageKit 141 154 142 # We need an upstream version of cgi which we've packaged ourselves, but143 # it doesn't work with the haskell-platform package which expects144 # explicit versions. So temporarily rpm -e the package, and then145 # install it again after you install haskell-platform. [Note: You146 # probably won't need this in Fedora 17 or something, when the Haskell147 # Platform gets updated.] [It's not obvious to me that this actually148 # works]149 rpm -e ghc-cgi-devel ghc-cgi150 yum install -y haskell-platform151 yumdownloader ghc-cgi152 yumdownloader ghc-cgi-devel153 rpm -i ghc-cgi*1.8.2*.rpm154 155 155 # ----------------------------->8-------------------------------------- 156 156 # SPHEROID SHENANIGANS … … 181 181 # on both servers, see what the differences are, check if those diffs 182 182 # are packaged up as rpms, and install them (rpm if possible, native otherwise) 183 # - Look at /usr/lib/python2. 6/site-packages and184 # /usr/lib64/python2. 6/site-packages for Python eggs and modules.183 # - Look at /usr/lib/python2.7/site-packages and 184 # /usr/lib64/python2.7/site-packages for Python eggs and modules. 185 185 # There will be a lot of gunk that was installed from packages; 186 186 # easy-install.pth in /usr/lib/ will tell you what was easy_installed. … … 238 238 # # [TESTSERVER] daemon.scripts-test 239 239 240 # [PRODUCTION/WIZARD] Fix the openafs /usr/vice/etc <-> /etc/openafs241 # mapping.242 echo "/afs:/usr/vice/cache:10000000" > /usr/vice/etc/cacheinfo243 echo "athena.mit.edu" > /usr/vice/etc/ThisCell244 240 # [TESTSERVER] If you're installing a test server, this needs to be 245 241 # much smaller; the max filesize on XVM is 10GB. Pick something like … … 249 245 # new systemd world order: try editing the unit file instead.) 250 246 echo "/afs:/usr/vice/cache:500000" > /usr/vice/etc/cacheinfo 247 # XXX This is out of date in the systemd world. 251 248 vim /etc/sysconfig/openafs 252 249 … … 300 297 # (Note: this errors on XeTeX which is ok.) 301 298 fmtutil-sys --all 302 303 # Ensure that PHP isn't broken:304 mkdir /tmp/sessions305 chmod 01777 /tmp/sessions306 # XXX: this seems to get deleted if tmp gets cleaned up, so we307 # might need something a little better (maybe init script.)308 299 309 300 # Fix etc by making sure none of our config files got overwritten
Note: See TracChangeset
for help on using the changeset viewer.