|
117.
|
|
|
For configuring your first Wiki application, please run the following set of commands. Let us assume that you are creating a Wiki named <emphasis>mywiki</emphasis>:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/lamp-applications.xml:130(para)
|
|
118.
|
|
|
cd /usr/share/moin
sudo mkdir mywiki
sudo cp -R data mywiki
sudo cp -R underlay mywiki
sudo cp server/moin.cgi mywiki
sudo chown -R www-data.www-data mywiki
sudo chmod -R ug+rwX mywiki
sudo chmod -R o-rwx mywiki
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
119.
|
|
|
Now you should configure <application>MoinMoin</application> to find your new Wiki <emphasis>mywiki</emphasis>. To configure <application>MoinMoin</application>, open <filename>/etc/moin/mywiki.py</filename> file and change the following line:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/lamp-applications.xml:147(para)
|
|
120.
|
|
|
data_dir = '/org/moin/mywiki/data'
|
|
|
|
(no translation yet)
|
|
|
|
121.
|
|
|
to
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/lamp-applications.xml:157(para)
|
|
122.
|
|
|
data_dir = '/usr/share/moin/mywiki/data'
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/lamp-applications.xml:161(programlisting)
|
|
123.
|
|
|
If the <filename>/etc/moin/mywiki.py</filename> file does not exists, you should copy <filename>/etc/moin/moinmaster.py</filename> file to <filename>/etc/moin/mywiki.py</filename> file and do the above mentioned change.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/lamp-applications.xml:172(para)
|
|
124.
|
|
|
If you have named your Wiki as <emphasis>my_wiki_name</emphasis> you should insert a line <quote>("my_wiki_name", r".*")</quote> in <filename>/etc/moin/farmconfig.py</filename> file after the line <quote>("mywiki", r".*")</quote>.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/lamp-applications.xml:181(para)
|
|
125.
|
|
|
Once you have configured <application>MoinMoin</application> to find your first Wiki application <emphasis>mywiki</emphasis>, you should configure <application>apache2</application> and make it ready for your Wiki application.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/lamp-applications.xml:189(para)
|
|
126.
|
|
|
You should add the following lines in <filename>/etc/apache2/sites-available/default</filename> file inside the <quote><VirtualHost *></quote> tag:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/lamp-applications.xml:196(para)
|