Sample Header Ad - 728x90

Unix & Linux Stack Exchange

Q&A for users of Linux, FreeBSD and other Unix-like operating systems

Latest Questions

1 votes
0 answers
71 views
Issue in building SLES15 Image with KIWI + OpenSUSE13.2
I am new to Kiwi and Linux. I am trying to build a SLES 15 SP4 image from openSUSE13.2 machine through Docker 1.91 Docker base is SLES15SP4 with Kiwi 9.24. openSUSE machine does not have internet and repos point to a local network machine. When I try to build a image, it is stuck at 0% as below, the...
I am new to Kiwi and Linux. I am trying to build a SLES 15 SP4 image from openSUSE13.2 machine through Docker 1.91 Docker base is SLES15SP4 with Kiwi 9.24. openSUSE machine does not have internet and repos point to a local network machine. When I try to build a image, it is stuck at 0% as below, there are no errors. Please let me know if I am missing something or where to look for.
Rahul (11 rep)
Dec 9, 2022, 03:54 AM • Last activity: Dec 9, 2022, 03:55 AM
2 votes
2 answers
224 views
Wikilink to a symbolic link in ikiwiki
I am running an [ikiwiki][1] for my personal use on my laptop via apache2 (os: ubuntu 10.04). If I want to make a link to a local pdf-file I put the file into my scrdir and use the usual wikilink syntax. However if I put only a symbolic link into the scrdir instead of the actual file, it doesn't wor...
I am running an ikiwiki for my personal use on my laptop via apache2 (os: ubuntu 10.04). If I want to make a link to a local pdf-file I put the file into my scrdir and use the usual wikilink syntax. However if I put only a symbolic link into the scrdir instead of the actual file, it doesn't work. Is there a way to make that ikiwiki handles symbolic links in this situation?
student (18865 rep)
Nov 3, 2011, 04:11 PM • Last activity: Jan 26, 2022, 06:38 PM
1 votes
1 answers
158 views
Using ikiwiki via command line: Workflow and permission problem
I use my ikiwiki for personal notes only on my laptop locally (the html pages are under `~/public_html/mywiki`) and now I am trying to edit it with emacs and push from command line. I have some questions about this: 1. Is the following workflow correct: `cd ~/mywiki` edit and save `~/mypage.mdwm` wi...
I use my ikiwiki for personal notes only on my laptop locally (the html pages are under ~/public_html/mywiki) and now I am trying to edit it with emacs and push from command line. I have some questions about this: 1. Is the following workflow correct: cd ~/mywiki edit and save ~/mypage.mdwm with emacs git add ~/mypage.mdwm git commit -m "mypage edit" git push Since I also sometimes want to edit it from the web interface, I tested it and noticed that it doesn't seem that I have to pull before editing. If I save an edit from the web interface the directory ~/mywiki is updated magically without using git pull. Is this correct so far or is there a better workflow? 2. After editing and saving the page from the web interface it is saved with root permissions in ~/mywiki how can I make ikiwiki to save everything with my username as group and owner?
Anna19 (33 rep)
Aug 28, 2017, 03:47 PM • Last activity: Apr 18, 2019, 12:14 PM
2 votes
0 answers
21 views
Add math delimiters in ikiwiki and mathjax
In my `ikiwiki` + `pandoc` + `mathjax` setup the delimiters `$` for inline math and `$$` for display math are currently recognized. How can I add additional delimiters, for example `\(` and `\)` for inline and `\[` and `\]` for display math? Note that I already posted the same question on the [ikiwi...
In my ikiwiki + pandoc + mathjax setup the delimiters $ for inline math and $$ for display math are currently recognized. How can I add additional delimiters, for example \( and \) for inline and \[ and \] for display math? Note that I already posted the same question on the ikiwiki forum but didn't receive an answer for a long time, so I try it here again.
Anna19 (33 rep)
Aug 13, 2018, 03:10 PM
2 votes
0 answers
297 views
Problem with encrypting /var/www and ikiwiki
I tried to encrypt `/var/www` with `encfs`. To do so I did following: `mv /var/www /var/www.bak` `mkdir /var/www_enc` `encfs --public /var/www_enc /var/www` `cp -a /var/www.bak/* /var/www/` `/etc/init.d/apache2 restart` I tried it with my local `ikiwiki` (`localhost/myikiwiki`). Browsing worked perf...
I tried to encrypt /var/www with encfs. To do so I did following: mv /var/www /var/www.bak mkdir /var/www_enc encfs --public /var/www_enc /var/www cp -a /var/www.bak/* /var/www/ /etc/init.d/apache2 restart I tried it with my local ikiwiki (localhost/myikiwiki). Browsing worked perfectly but when I tried to save an edit I got the following error message: Failed to save your changes. Your changes were not able to be saved to disk. The system gave the error: Your changes are preserved below, and you can try again to save them. However if I revert the changes, everything works perfectly. I don't understand this, since the encrypted /var/www folder should look to the outside world exactly as the old unencrypted version would (especially because I used the --public switch). Any idea what may be wrong and how to fix it? System Info: - Ubuntu 11.04 - Apache2: 2.2.17-1ubuntu1.2 - ikiwiki version 3.20110124ubuntu1
student (18865 rep)
Feb 18, 2013, 03:15 PM • Last activity: Aug 10, 2016, 12:51 PM
1 votes
2 answers
307 views
Why do I need 3 git repositories for ikiwiki if I want to commit locally
If I have a local [ikiwiki][1] on my laptop I need a "repository" directory (`mywiki.git` - a bare repository), a "scrdir" (`myiki` a git repository) and a place where the produced html files go ("destdir") to run it properly from a web browser locally. However if I also want to work with a text edi...
If I have a local ikiwiki on my laptop I need a "repository" directory (mywiki.git - a bare repository), a "scrdir" (myiki a git repository) and a place where the produced html files go ("destdir") to run it properly from a web browser locally. However if I also want to work with a text editor and git on the command line I need to setup a third git repository say mywiki.local ("working clone"). Which puhes to mywiki.git which in turn triggers a post-update hook to push to the scrdir and rebuild the html pages, as illustrated in the following picture: Workflow With this approach, I need **three** almost identical directories on my laptop just to run one wiki, i.e. it occupies three times the disk space instead of just once. What is the reason behind this? Is there a safe way to circumvent this if you are just working on one machine, to reduce it to just two or even better one directory?
student (18865 rep)
Jun 10, 2014, 08:56 PM • Last activity: Jun 30, 2016, 10:08 AM
5 votes
1 answers
152 views
Slow ikiwiki after first run
I have local [ikiwiki][1] on my notebook (with apache as local webserver). When I save an edit the first time after booting and logging in, saving is very slow (but the second time saving is at normal speed). Any idea how to fix this? **Edit:** Click edit the first time:~ 30 Sek. (it says "waiting f...
I have local ikiwiki on my notebook (with apache as local webserver). When I save an edit the first time after booting and logging in, saving is very slow (but the second time saving is at normal speed). Any idea how to fix this? **Edit:** Click edit the first time:~ 30 Sek. (it says "waiting for localhost") Click save the fisrt time:~1 min 30 Sek (it says "waiting for localhost") Click edit the second time: <3 Sek. Click save the second time: ~4 Sek. The problem is independent of beeing online or not. I am using git as backend.
student (18865 rep)
Feb 3, 2013, 10:06 AM • Last activity: May 13, 2016, 02:58 PM
3 votes
1 answers
295 views
Syntax highlighting of latex code blocks in ikiwiki
Is it possible to get syntax highlighting for LaTeX code blocks in [ikiwiki][1] (just something like it is automatically done in [tex.sx][2])? To avoid misunderstandings: I don't mean math output produced for example by mathjax. I want to document latex-tricks in my wiki, so I have to put some snipp...
Is it possible to get syntax highlighting for LaTeX code blocks in ikiwiki (just something like it is automatically done in tex.sx )? To avoid misunderstandings: I don't mean math output produced for example by mathjax. I want to document latex-tricks in my wiki, so I have to put some snippets of latex source code in it to show how something is done in latex. For example: "Here is an example how to use tikz: \begin{document}{article} \usepackage{amsmath} \usepackage{tikz} \begin{document} \begin{tikzpicture} \draw (0,0) --node[sloped,above]{$x$} (1,1); \end{tikzpicture} \end{document} " Here the code block above just appears with a grey background but without syntax highlighting of the source code. If I would put the same snipped on tex.sx there would be a syntax highlighting of the code.
student (18865 rep)
Nov 2, 2012, 07:13 PM • Last activity: Nov 3, 2012, 07:31 PM
Showing page 1 of 8 total questions