-
Notifications
You must be signed in to change notification settings - Fork 1
Fresh install
Sébastien LUCAS edited this page Apr 26, 2015
·
53 revisions
- Initialisation
- Change root PAssword
passwd root
- Create your user user
adduser newuser
- Initialize apt-get database
apt-get update
- lamp stack
// Lamp
sudo apt-get install apache2 php5 mysql-server libapache2-mod-php5 php5-mysql
// Php my admin (escape data auto config)
apt-get install phpmyadmin
// Error when connecting
// The mcrypt extension is missing. Please check your PHP configuration.
sudo apt-get install php5-mcrypt
sudo /etc/init.d/apache2 restart
Activation of mod_rewrite
http://www.apache-mod-rewrite.fr/verification-installation-mod-rewrite
ln -s /etc/apache2/mods-available/rewrite.load /etc/apache2/mods-enabled/rewrite.load
service apache2 restart
Install Curl (facebook module drupal)
apt-get install php5-curl
/etc/init.d/apache2 restart
- common used executable
// Git version manager
apt-get install git
// Vim command line text editor
apt-get install vim
-
ssh keys access
-
enable smartd for disk monitoring
http://doc.ubuntu-fr.org/smartmontools
apt-get install smartmontools
-
copy www and import db
-
PECL install
// Install of pecl
apt-get install php-pear
// Install of make (compilator)
apt-get install make
// Install memcache through PECL
pecl install memcache
// Edit php.info
vim /etc/php5/apache2/php.ini
- cron
crontab -e
-
bashr & vim
https://github.com/sinsunsan/dotvim
https://github.com/sinsunsan/bashrc -
drupal
Drush
http://drupal.org/project/drush
// Drush (pear install)
pear channel-discover pear.drush.org
pear install drush/drush
If the system don't know about drush make a symlink between it's current location ans /usr/local/bin, it means drush must be a symlink as /usr/local/bin/drush linking to its actual location (home folder, or elsewhere)
apt-get install nodejs
apt-get install npm