Нашел на сайте друпала раздел "Complete Open Source Dev Stack". Сначала установил "The LAMP Stack", потом "Drupal stack"...
Получился хороший практикум по осовению VirualBox, в процессе выскакивали такие вопросы, как
"добавить драйвер, чтобы изменить разрешение окна VB", увеличить выделенную мощность процессора, настроить виртуальный хост в Apache, где root в Ubuntu, bidirectional shared clipboard, как установить .deb в Ubuntu sudo dpkg -i /path/to/deb/file , установка аналога clip в Linux...
Словом, практикум получился полезный, но утомительный... Слишком многом мелочей сразу. Потому здесь просто фрагменты команд и ссылки на статьи с подробностями.
The LAMP Stack Install Linux -> Update System and Install Gnome -> Gnome Tweaks -> Install AMP Packages -> Configure Apache
The Drupal Stack
Install/Upgrade a global Drush
atom-amd64.deb - надо ли устанавливать этот пакет на Ubuntu
Включаем учетную запись ROOT на Ubuntu 14.04
Командная строка
apachectlИсправление SSH ошибки 'UNPROTECTED PRIVATE KEY FILE!'
Instantly share code, notes, and snippets If you're a php developer on ubuntu, there comes the time where you have to install/reinstall your system. I did it already a few times and i decided to write down the steps for a typical web developer stack with php. This is for a developer machine and not for a live environment!
Install/Upgrade a global Drush
Last updated March 28, 2015. Created on March 28, 2015.
Edited by sidharrell. Log in to edit this page.
Go to http://www.ubuntu.com/download/desktop and download the 64 bit ISO image.
I would recommend whatever the current LTS version is, currently 14.04
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install gnome-session-fallback
Install AMP Packages¶
sudo apt-get install synaptic apache2 apache2-mpm-itk php5 php5-curl
php5-dev php5-intl php5-mcrypt php5-mysql php5-sqlite php5-xdebug mysql-server phpmyadmin git ssh
passw for mysql t..r
You now need to enable the mpm-itk apache module, the rewrite module, and prepare a virtual server entry for apache:
sudo a2enmod mpm_itk
sudo a2enmod rewrite
sudo gedit /etc/apache2/sites-available/development.conf
<VirtualHost development:80>
ServerAdmin webmaster@localhost
AssignUserID USER USER
DocumentRoot /home/USER/Development
<Directory /home/USER/Development/>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
mkdir Development
sudo a2ensite development
echo "127.0.0.1 development" | sudo tee --append /etc/hosts
sudo apache2ctl restart
sudo apt-get clean
Congratulations! You should now be able to pull up your Development directory by navigating to http://development.
JDK
SmartGit
Clone Drupal
Drupal Installer
Create Database
Finish Installing Drupal
Здесь есть подключение репозитория Oracle... Вместо 7-ой версии установил 8-ую.
from IPython import Image
When you use apt to install a package, internally it uses dpkg. When you install a package using apt, it first creates a list of all the dependencies and downloads it from the repository.
Once the download is finished it calls dpkg to install all those files, satisfying all the dependencies.
#So if you have a .deb file:
#•You can install it using
sudo dpkg -i /path/to/deb/file
#followed by
sudo apt-get install -f.
#•You can install it using
apt-get install package_name
#But first move your deb file to /var/cache/apt/archives/ directory.
#After executing this command, it will automatically download its dependencies.
#•Install gdebi and open your .deb file using it (Right-click -> Open with).
#It will install your .deb package with all its dependencies.
(Note: APT maintains the package index which is a database of available packages available in repo defined in /etc/apt/sources.list file and in the /etc/apt/sources.list.d directory. All these methods will fail to satisfy the software dependency if the dependencies required by the deb is not present in the package index.)
http://www.syntevo.com/smartgit/download?file=smartgit/smartgit-7_1_2.deb
:~# sudo passwd -u root
#Создаем пароль для учетной записи ROOT
:~# sudo passwd root
Use Xdiagnose From the Dash, search for and launch Xdiagnose, then enable all the options under the Debug section. Click the Apply button, then close the window and restart the system. You’ll have to restart. Logging out, then in won’t do.
#Started working after running:
sudo apt-get install virtualbox-guest-dkms
#and enabling
#bidirectional shared clipboard.
После утановки буфер по-прежнему не работает. Да еще и сеть вырубило. пришлось подсмотреть настройки в другой виртуальной машине.
wget http://files.drush.org/drush.phar
Посты чуть ниже также могут вас заинтересовать
Комментариев нет:
Отправить комментарий