Drupal 6.2 Install and how to move install to root/non-subdirectory

drup 6.2 install
$cd drupgoodinst3883/
[ drupgoodinst3883]$ ls
CHANGELOG.txt  cron.php  index.php          INSTALL.pgsql.txt  INSTALL.txt  MAINTAINERS.txt  modules   robots.txt  sites   update.php   xmlrpc.php
COPYRIGHT.txt  includes  INSTALL.mysql.txt  install.php        LICENSE.txt  misc             profiles  scripts     themes  UPGRADE.txt
[ drupgoodinst3883]$ ls sites/default/default.settings.php
[ drupgoodinst3883]$ cd sites/default/

#The Drupal installer requires write permissions to ./sites/default/settings.php during the installation process. If you are unsure how to grant file
#permissions, please consult the on-line handbook.

[ default]$ cp default.settings.php settings.php
mkdir files; chmod 777 files
chmod 777 settings.php

 

Move Drupal Install to Root and not a Subdirectory

  1. Copy the contents of the directory where you installed drupal to the main root of your site eg. /var/www/vhosts/yoursite.com/
  2. Manually copy the .htaccess file from your Drupal install (this is the only real requirement for moving your Drupal installation -or you'll get lots of weird errors/things won't work right).

 


Tags:

drupal, install, subdirectorydrup, drupgoodinst, ls, changelog, txt, cron, php, index, pgsql, maintainers, modules, robots, sites, update, xmlrpc, copyright, includes, mysql, misc, profiles, scripts, themes, upgrade, default, settings, installer, requires, permissions, installation, unsure, consult, handbook, cp, mkdir, chmod, subdirectory, contents, directory, installed, eg, var, www, vhosts, yoursite, manually, htaccess, requirement, ll, errors,

Latest Articles

  • CentOS 6 impossible to compile a newer libguestfs
  • chroot
  • How To Get Started on Ubuntu with gpt-2 OpenAI Text Prediction
  • Remove cloud-init in your VM
  • QEMU-KVM KVM Command Line Practical Guide
  • Linux How To Change NIC Name to eth0 instead of enps33 or enp0s25
  • virt-resize: error: libguestfs error: could not create appliance through libvirt.
  • Asterisk Does Not Retry When Authentication Fails
  • Linux Debian Ubuntu How To Install PEPPER Faster and Latest Adobe Flash Player in Firefox
  • How To Speed Up Linux Ubuntu and Debian Based Computers By Improving CPU Performance and Changing the CPU Governor
  • Convert data or file to base64 on a single line
  • Linux Mint Ubuntu Debian radeon slow 2D performance issues radeon_dp_aux_transfer_native: 158 callbacks suppressed
  • mdadm: super0.90 cannot open /dev/sdb1: Device or resource busy mdadm: /dev/sdb1 is not suitable for this array.
  • How To Install NextCloud on Centos 7 and Centos 8
  • AH01630: client denied by server configuration:
  • ERROR: Could not find a version that satisfies the requirement PIL (from versions: none) ERROR: No matching distribution found for PIL
  • ZTE Camera Cannot Work unable to connect to camera. Camera has been disabled becaue of security policies or is being used by other apps
  • QEMU KVM how to boot off a physical CD/DVD/BDROM Drive
  • How To Install OpenProject on Centos 7 Step-by-Step Guide
  • Ubuntu Debian Linux Cannot Install Wine Solution - wine1.6 : Depends: wine1.6-i386 (= 1:1.6.2-0ubuntu14.2) but it is not installable wine1.4 : Depends: wine1.6 but it is not going to be installed