# install qpid
apt-get install qpidd qpid-doc qpid-client python-qpid-extras-qmf python-qpid python-cqpid
wget http://apache.mirrors.tds.net/qpid/0.32/qpid-tools-0.32.tar.gz
tar zxvf qpid-tools-0.32.tar.gz
cd qpid-tools-0.32/
./setup.py build
./setup.py install
Tuesday, August 11, 2015
sub-process /usr/bin/dpkg returned an error code (1) ubuntu apache2 (OpsWorks)
When do
apt-get install apache2
Solution: do these first:
apt-get remove --purge apache2
apt-get install -f
apt-get autoremove
may need if you remove apache2 got same issue:
umount /var/log/apache2
Then:
apt-get install apache2
apt-get install apache2
got error:
sub-process /usr/bin/dpkg returned an error code (1) ubuntu apache2Solution: do these first:
apt-get remove --purge apache2
apt-get install -f
apt-get autoremove
umount /var/log/apache2
umount /var/www
apt-get install apache2
Friday, August 7, 2015
ES AWS
updatedb
apt-get update
apt-get upgrade
add-apt-repository ppa:webupd8team/java
apt-get update
wget https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-1.7.1.deb
dpkg -i elasticsearch-1.7.1.deb
apt-get install oracle-java8-installer
cd /usr/share/elasticsearch
bin/plugin install elasticsearch/elasticsearch-cloud-aws/2.7.0
cat /dev/null > /etc/elasticsearch/elasticsearch.yml
vim /etc/elasticsearch/elasticsearch.yml
/etc/init.d/elasticsearch start
/etc/init.d/elasticsearch status
apt-get update
apt-get upgrade
add-apt-repository ppa:webupd8team/java
apt-get update
wget https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-1.7.1.deb
dpkg -i elasticsearch-1.7.1.deb
apt-get install oracle-java8-installer
cd /usr/share/elasticsearch
bin/plugin install elasticsearch/elasticsearch-cloud-aws/2.7.0
cat /dev/null > /etc/elasticsearch/elasticsearch.yml
vim /etc/elasticsearch/elasticsearch.yml
/etc/init.d/elasticsearch start
/etc/init.d/elasticsearch status
Subscribe to:
Posts (Atom)
-
Step 1, New a project rails new demo Step 2, Update Gemfile add paperclip, mysql2 gem, enable JavaScript runtime gem 'mysql2' ...
-
When trying to access transmission from web-browswer i got the message : 403: Forbidden Unauthorized IP Address. Either disable the IP ad...
-
I used 7z to zip this file under Windows, try to unzip it under linux [ang@walker temp]$ gunzip 2011.sdf.zip gunzip: 2011.sdf.zip: unkno...