Zimbalaka: What is the full path to directory in celeryd.conf?
I am trying to install and run Zimbalaka (a Zim file creator for Offline MediaWiki in an app like Kiwix) in an Ubuntu Desktop 18.10.
At a certain point, instructions tell to modify a line to contain the full path to the zimbalaka directory.
However, the path I have to type is not clear to me, so here are my questions:
- I cloned Zimbalaka to ~/Downloads with the command
git clone https://github.com/tecoholic/Zimbalaka.git. Is the path/home/[user]/Downloads/Zimbalaka/zimbalaka? - If this is NOT the case, could someone tell me what path I have to specify?
Find here below the instructions I made myself based on the instructions found here (some comments are added by me). It is the last line that lead to my question:
- Install libzim (already installed in my case)
Install zimwriterfs (already installed in my case)
sudo apt-get install libzim-dev libxml2-dev libxslt-dev python-dev zlib1g-dev python-pip python-virtualenv libapache2-mod-wsgi
sudo apt install tcl #is needed for Redis installation
sudo apt install git #needed for following command
git clone https://github.com/tecoholic/Zimbalaka.git
cd ~/Downloads/Zimbalaka
virtualenv env
. env/bin/activate
pip install -r requirements.txt
cd ..
wget http://download.redis.io/releases/redis-3.0.1.tar.gz
tar xzf redis-3.0.1.tar.gz
cd redis-3.0.1
sudo make && make install
sudo ./utils/install_server.sh # maintain defaults except datastore location
At prompt "Please select the redis port for this instance: [6379]", press Enter/Return
Screen reads: Selecting default: 6379
At prompt "Please select the redis config file name [/etc/redis/6379.conf]", press Enter/Return
Screen reads: Selected default - /etc/redis/6379.conf
At prompt "Please select the redis log file name [/var/log/redis_6379.log]", press Enter/Return
Screen reads: Selected default - /var/log/redis_6379.log
At prompt "Please select the data directory for this instance [/var/lib/redis/6379]", press Enter/Return
Screen reads: Selected default - /var/lib/redis/6379
At prompt "Please select the redis executable path [/usr/local/bin/redis-server]", press Enter/Return
Screen reads the following:
Selected config:
Port : 6379
Config file : /etc/redis/6379.conf
Log file : /var/log/redis_6379.log
Data dir : /var/lib/redis/6379
Executable : /usr/local/bin/redis-server
Cli Executable : /usr/local/bin/redis-cli
Is this ok? Then press ENTER to go on or Ctrl-C to abort.
Press Enter/Return
Screen reads the following:
Copied /tmp/6379.conf => /etc/init.d/redis_6379
Installing service...
Success!
Starting Redis server...
Installation successful!
(Put zimwriterfs somewhere or compile and install) ← Already installed
(Edit zimbalaka/default_settings.py to reflect your production environment) ← Not edited
nano celeryd.conf #instructions mention to edit celery.conf but it does not exist
Modify line: directory=/full/path/to/zimbalaka to directory=/home/[user]/Downloads/Zimbalaka/zimbalaka
command-line software-installation paths
add a comment |
I am trying to install and run Zimbalaka (a Zim file creator for Offline MediaWiki in an app like Kiwix) in an Ubuntu Desktop 18.10.
At a certain point, instructions tell to modify a line to contain the full path to the zimbalaka directory.
However, the path I have to type is not clear to me, so here are my questions:
- I cloned Zimbalaka to ~/Downloads with the command
git clone https://github.com/tecoholic/Zimbalaka.git. Is the path/home/[user]/Downloads/Zimbalaka/zimbalaka? - If this is NOT the case, could someone tell me what path I have to specify?
Find here below the instructions I made myself based on the instructions found here (some comments are added by me). It is the last line that lead to my question:
- Install libzim (already installed in my case)
Install zimwriterfs (already installed in my case)
sudo apt-get install libzim-dev libxml2-dev libxslt-dev python-dev zlib1g-dev python-pip python-virtualenv libapache2-mod-wsgi
sudo apt install tcl #is needed for Redis installation
sudo apt install git #needed for following command
git clone https://github.com/tecoholic/Zimbalaka.git
cd ~/Downloads/Zimbalaka
virtualenv env
. env/bin/activate
pip install -r requirements.txt
cd ..
wget http://download.redis.io/releases/redis-3.0.1.tar.gz
tar xzf redis-3.0.1.tar.gz
cd redis-3.0.1
sudo make && make install
sudo ./utils/install_server.sh # maintain defaults except datastore location
At prompt "Please select the redis port for this instance: [6379]", press Enter/Return
Screen reads: Selecting default: 6379
At prompt "Please select the redis config file name [/etc/redis/6379.conf]", press Enter/Return
Screen reads: Selected default - /etc/redis/6379.conf
At prompt "Please select the redis log file name [/var/log/redis_6379.log]", press Enter/Return
Screen reads: Selected default - /var/log/redis_6379.log
At prompt "Please select the data directory for this instance [/var/lib/redis/6379]", press Enter/Return
Screen reads: Selected default - /var/lib/redis/6379
At prompt "Please select the redis executable path [/usr/local/bin/redis-server]", press Enter/Return
Screen reads the following:
Selected config:
Port : 6379
Config file : /etc/redis/6379.conf
Log file : /var/log/redis_6379.log
Data dir : /var/lib/redis/6379
Executable : /usr/local/bin/redis-server
Cli Executable : /usr/local/bin/redis-cli
Is this ok? Then press ENTER to go on or Ctrl-C to abort.
Press Enter/Return
Screen reads the following:
Copied /tmp/6379.conf => /etc/init.d/redis_6379
Installing service...
Success!
Starting Redis server...
Installation successful!
(Put zimwriterfs somewhere or compile and install) ← Already installed
(Edit zimbalaka/default_settings.py to reflect your production environment) ← Not edited
nano celeryd.conf #instructions mention to edit celery.conf but it does not exist
Modify line: directory=/full/path/to/zimbalaka to directory=/home/[user]/Downloads/Zimbalaka/zimbalaka
command-line software-installation paths
It should be/home/[user]/Downloads/Zimbalaka/!
– George Udosen
Jan 2 at 20:29
Thank you @GeorgeUdosen, I corrected as per your comment. Alas Zimbalaka still does not work, but I have other questions that I am asking elsewhere (askubuntu.com/questions/1106396/…).
– pdeli
Jan 2 at 21:20
If the comment changed your question, please edit and change it! Else please add the answer below.
– dessert
Jan 2 at 21:39
@dessert the comment did not change my question. It hopefully answered it, but as I have more questions, I asked them in different posts (see the link in my previous comment).
– pdeli
Jan 2 at 21:49
add a comment |
I am trying to install and run Zimbalaka (a Zim file creator for Offline MediaWiki in an app like Kiwix) in an Ubuntu Desktop 18.10.
At a certain point, instructions tell to modify a line to contain the full path to the zimbalaka directory.
However, the path I have to type is not clear to me, so here are my questions:
- I cloned Zimbalaka to ~/Downloads with the command
git clone https://github.com/tecoholic/Zimbalaka.git. Is the path/home/[user]/Downloads/Zimbalaka/zimbalaka? - If this is NOT the case, could someone tell me what path I have to specify?
Find here below the instructions I made myself based on the instructions found here (some comments are added by me). It is the last line that lead to my question:
- Install libzim (already installed in my case)
Install zimwriterfs (already installed in my case)
sudo apt-get install libzim-dev libxml2-dev libxslt-dev python-dev zlib1g-dev python-pip python-virtualenv libapache2-mod-wsgi
sudo apt install tcl #is needed for Redis installation
sudo apt install git #needed for following command
git clone https://github.com/tecoholic/Zimbalaka.git
cd ~/Downloads/Zimbalaka
virtualenv env
. env/bin/activate
pip install -r requirements.txt
cd ..
wget http://download.redis.io/releases/redis-3.0.1.tar.gz
tar xzf redis-3.0.1.tar.gz
cd redis-3.0.1
sudo make && make install
sudo ./utils/install_server.sh # maintain defaults except datastore location
At prompt "Please select the redis port for this instance: [6379]", press Enter/Return
Screen reads: Selecting default: 6379
At prompt "Please select the redis config file name [/etc/redis/6379.conf]", press Enter/Return
Screen reads: Selected default - /etc/redis/6379.conf
At prompt "Please select the redis log file name [/var/log/redis_6379.log]", press Enter/Return
Screen reads: Selected default - /var/log/redis_6379.log
At prompt "Please select the data directory for this instance [/var/lib/redis/6379]", press Enter/Return
Screen reads: Selected default - /var/lib/redis/6379
At prompt "Please select the redis executable path [/usr/local/bin/redis-server]", press Enter/Return
Screen reads the following:
Selected config:
Port : 6379
Config file : /etc/redis/6379.conf
Log file : /var/log/redis_6379.log
Data dir : /var/lib/redis/6379
Executable : /usr/local/bin/redis-server
Cli Executable : /usr/local/bin/redis-cli
Is this ok? Then press ENTER to go on or Ctrl-C to abort.
Press Enter/Return
Screen reads the following:
Copied /tmp/6379.conf => /etc/init.d/redis_6379
Installing service...
Success!
Starting Redis server...
Installation successful!
(Put zimwriterfs somewhere or compile and install) ← Already installed
(Edit zimbalaka/default_settings.py to reflect your production environment) ← Not edited
nano celeryd.conf #instructions mention to edit celery.conf but it does not exist
Modify line: directory=/full/path/to/zimbalaka to directory=/home/[user]/Downloads/Zimbalaka/zimbalaka
command-line software-installation paths
I am trying to install and run Zimbalaka (a Zim file creator for Offline MediaWiki in an app like Kiwix) in an Ubuntu Desktop 18.10.
At a certain point, instructions tell to modify a line to contain the full path to the zimbalaka directory.
However, the path I have to type is not clear to me, so here are my questions:
- I cloned Zimbalaka to ~/Downloads with the command
git clone https://github.com/tecoholic/Zimbalaka.git. Is the path/home/[user]/Downloads/Zimbalaka/zimbalaka? - If this is NOT the case, could someone tell me what path I have to specify?
Find here below the instructions I made myself based on the instructions found here (some comments are added by me). It is the last line that lead to my question:
- Install libzim (already installed in my case)
Install zimwriterfs (already installed in my case)
sudo apt-get install libzim-dev libxml2-dev libxslt-dev python-dev zlib1g-dev python-pip python-virtualenv libapache2-mod-wsgi
sudo apt install tcl #is needed for Redis installation
sudo apt install git #needed for following command
git clone https://github.com/tecoholic/Zimbalaka.git
cd ~/Downloads/Zimbalaka
virtualenv env
. env/bin/activate
pip install -r requirements.txt
cd ..
wget http://download.redis.io/releases/redis-3.0.1.tar.gz
tar xzf redis-3.0.1.tar.gz
cd redis-3.0.1
sudo make && make install
sudo ./utils/install_server.sh # maintain defaults except datastore location
At prompt "Please select the redis port for this instance: [6379]", press Enter/Return
Screen reads: Selecting default: 6379
At prompt "Please select the redis config file name [/etc/redis/6379.conf]", press Enter/Return
Screen reads: Selected default - /etc/redis/6379.conf
At prompt "Please select the redis log file name [/var/log/redis_6379.log]", press Enter/Return
Screen reads: Selected default - /var/log/redis_6379.log
At prompt "Please select the data directory for this instance [/var/lib/redis/6379]", press Enter/Return
Screen reads: Selected default - /var/lib/redis/6379
At prompt "Please select the redis executable path [/usr/local/bin/redis-server]", press Enter/Return
Screen reads the following:
Selected config:
Port : 6379
Config file : /etc/redis/6379.conf
Log file : /var/log/redis_6379.log
Data dir : /var/lib/redis/6379
Executable : /usr/local/bin/redis-server
Cli Executable : /usr/local/bin/redis-cli
Is this ok? Then press ENTER to go on or Ctrl-C to abort.
Press Enter/Return
Screen reads the following:
Copied /tmp/6379.conf => /etc/init.d/redis_6379
Installing service...
Success!
Starting Redis server...
Installation successful!
(Put zimwriterfs somewhere or compile and install) ← Already installed
(Edit zimbalaka/default_settings.py to reflect your production environment) ← Not edited
nano celeryd.conf #instructions mention to edit celery.conf but it does not exist
Modify line: directory=/full/path/to/zimbalaka to directory=/home/[user]/Downloads/Zimbalaka/zimbalaka
command-line software-installation paths
command-line software-installation paths
edited Jan 2 at 21:03
pdeli
asked Jan 2 at 20:13
pdelipdeli
114
114
It should be/home/[user]/Downloads/Zimbalaka/!
– George Udosen
Jan 2 at 20:29
Thank you @GeorgeUdosen, I corrected as per your comment. Alas Zimbalaka still does not work, but I have other questions that I am asking elsewhere (askubuntu.com/questions/1106396/…).
– pdeli
Jan 2 at 21:20
If the comment changed your question, please edit and change it! Else please add the answer below.
– dessert
Jan 2 at 21:39
@dessert the comment did not change my question. It hopefully answered it, but as I have more questions, I asked them in different posts (see the link in my previous comment).
– pdeli
Jan 2 at 21:49
add a comment |
It should be/home/[user]/Downloads/Zimbalaka/!
– George Udosen
Jan 2 at 20:29
Thank you @GeorgeUdosen, I corrected as per your comment. Alas Zimbalaka still does not work, but I have other questions that I am asking elsewhere (askubuntu.com/questions/1106396/…).
– pdeli
Jan 2 at 21:20
If the comment changed your question, please edit and change it! Else please add the answer below.
– dessert
Jan 2 at 21:39
@dessert the comment did not change my question. It hopefully answered it, but as I have more questions, I asked them in different posts (see the link in my previous comment).
– pdeli
Jan 2 at 21:49
It should be
/home/[user]/Downloads/Zimbalaka/!– George Udosen
Jan 2 at 20:29
It should be
/home/[user]/Downloads/Zimbalaka/!– George Udosen
Jan 2 at 20:29
Thank you @GeorgeUdosen, I corrected as per your comment. Alas Zimbalaka still does not work, but I have other questions that I am asking elsewhere (askubuntu.com/questions/1106396/…).
– pdeli
Jan 2 at 21:20
Thank you @GeorgeUdosen, I corrected as per your comment. Alas Zimbalaka still does not work, but I have other questions that I am asking elsewhere (askubuntu.com/questions/1106396/…).
– pdeli
Jan 2 at 21:20
If the comment changed your question, please edit and change it! Else please add the answer below.
– dessert
Jan 2 at 21:39
If the comment changed your question, please edit and change it! Else please add the answer below.
– dessert
Jan 2 at 21:39
@dessert the comment did not change my question. It hopefully answered it, but as I have more questions, I asked them in different posts (see the link in my previous comment).
– pdeli
Jan 2 at 21:49
@dessert the comment did not change my question. It hopefully answered it, but as I have more questions, I asked them in different posts (see the link in my previous comment).
– pdeli
Jan 2 at 21:49
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1106380%2fzimbalaka-what-is-the-full-path-to-directory-in-celeryd-conf%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1106380%2fzimbalaka-what-is-the-full-path-to-directory-in-celeryd-conf%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
It should be
/home/[user]/Downloads/Zimbalaka/!– George Udosen
Jan 2 at 20:29
Thank you @GeorgeUdosen, I corrected as per your comment. Alas Zimbalaka still does not work, but I have other questions that I am asking elsewhere (askubuntu.com/questions/1106396/…).
– pdeli
Jan 2 at 21:20
If the comment changed your question, please edit and change it! Else please add the answer below.
– dessert
Jan 2 at 21:39
@dessert the comment did not change my question. It hopefully answered it, but as I have more questions, I asked them in different posts (see the link in my previous comment).
– pdeli
Jan 2 at 21:49