Lalu salin ke direktori (direktori sistem operasi) /var/lib/mediawiki/skins/common/images/favicon.ico
Tambahkan baris berikut pada berkas /etc/mediawiki/LocalSettings.php
$wgFavicon = "/wiki/skins/common/images/favicon.ico";
Mengabadikan Lewat Tulisan
$wgFavicon = "/wiki/skins/common/images/favicon.ico";
# more /etc/apache2/sites-available/wiki
ServerAdmin za@design.paume.itb.ac.id
ServerName ***.****.itb.ac.id
DocumentRoot /var/lib/mediawiki
ErrorLog /var/log/apache2/error-wiki.log
LogLevel warn
CustomLog /var/log/apache2/access-wiki.log common
ServerSignature Off
# vim /var/log/access-wiki.log
...
*** - - [24/Dec/2008:02:20:54 -0600] "GET /wiki/skins/monobook/bullet.gif HTTP/1.1" 304 -
*** - - [24/Dec/2008:02:20:54 -0600] "GET /wiki/skins/common/images/poweredby_mediawiki_88x31.png HTTP/1.1" 304 -
*** - - [24/Dec/2008:02:20:54 -0600] "GET /wiki/skins/monobook/user.gif HTTP/1.1" 304 -
...
...
$wgLogo = "/wiki/skins/common/images/logo.png"
...
Checking environment...
Please include all of the lines below when reporting installation problems.
* PHP 5.2.6-5 installed
* Found database drivers for: PostgreSQL
* PHP server API is apache2handler; ok, using pretty URLs (index.php/Page_Title)
* Have XML / Latin1-UTF-8 conversion support.
* Session save path (/var/lib/php5) appears to be valid.
* PHP's memory_limit is 128M.
* Couldn't find Turck MMCache, eAccelerator, APC or XCache; cannot use these for object caching.
* Found GNU diff3: /usr/bin/diff3.
* Found ImageMagick: /usr/bin/convert; image thumbnailing will be enabled if you enable uploads.
* Installation directory: /var/lib/mediawiki
* Script URI path: /mediawiki
* Installing MediaWiki with php file extensions
* Environment checked. You can install MediaWiki.
*
Generating configuration file...
Notice: Constant MW_INSTALL_PATH already defined in /var/lib/mediawiki/config/index.php(717) : eval()'d code on line 16
* Database type: PostgreSQL
* Loading class: DatabasePostgres
* Attempting to connect to database "postgres" as superuser "root"...
* Checking the version of Postgres...version 8.3 is OK.
* User "wikiuser" already exists, skipping account creation.
* Database "wikidb" already exists, skipping database creation.
* Connecting to "wikidb" as superuser "root" to check rights...OK
* Creating schema mediawiki ...
Warning: pg_query() [function.pg-query]: Query failed: ERROR: permission denied for database wikidb in /usr/share/mediawiki/includes/DatabasePostgres.php on line 591
FAILED.
Checking environment...
Please include all of the lines below when reporting installation problems.
* PHP 5.2.6-5 installed
* Found database drivers for: PostgreSQL
* PHP server API is apache2handler; ok, using pretty URLs (index.php/Page_Title)
* Have XML / Latin1-UTF-8 conversion support.
* Session save path (/var/lib/php5) appears to be valid.
* PHP's memory_limit is 128M.
* Couldn't find Turck MMCache, eAccelerator, APC or XCache; cannot use these for object caching.
* Found GNU diff3: /usr/bin/diff3.
* Found ImageMagick: /usr/bin/convert; image thumbnailing will be enabled if you enable uploads.
* Installation directory: /var/lib/mediawiki
* Script URI path: /mediawiki
* Installing MediaWiki with php file extensions
* Environment checked. You can install MediaWiki.
*
Generating configuration file...
Notice: Constant MW_INSTALL_PATH already defined in /var/lib/mediawiki/config/index.php(717) : eval()'d code on line 16
* Database type: PostgreSQL
* Loading class: DatabasePostgres
* Attempting to connect to database "postgres" as superuser "postgres"...
* Checking the version of Postgres...version 8.3 is OK.
* User "wikidb" already exists, skipping account creation.
* Creating database wikiuser...OK
* Connecting to "wikiuser" as superuser "postgres" to check rights...OK
* Creating schema mediawiki ...OK
* Checking for Pl/Pgsql ...not installed. Attempting to install Pl/Pgsql ...OK
* Attempting to connect to database "wikiuser" as "wikidb"... error: No database connection
* Checking the version of Postgres...
Warning: pg_query(): supplied argument is not a valid PostgreSQL link resource in /usr/share/mediawiki/includes/DatabasePostgres.php on line 591
Warning: pg_fetch_result(): supplied argument is not a valid PostgreSQL result resource in /usr/share/mediawiki/includes/DatabasePostgres.php on line 1027
Could not determine the numeric version from !
media wiki mysql berhasil
MediaWiki 1.12.0 Installation
* Don't forget security updates! Keep an eye on the low-traffic release announcements mailing list.
Checking environment...
Please include all of the lines below when reporting installation problems.
* PHP 5.2.6-5 installed
* Found database drivers for: MySQL PostgreSQL
* PHP server API is apache2handler; ok, using pretty URLs (index.php/Page_Title)
* Have XML / Latin1-UTF-8 conversion support.
* Session save path (/var/lib/php5) appears to be valid.
* PHP's memory_limit is 128M.
* Couldn't find Turck MMCache, eAccelerator, APC or XCache; cannot use these for object caching.
* Found GNU diff3: /usr/bin/diff3.
* Found ImageMagick: /usr/bin/convert; image thumbnailing will be enabled if you enable uploads.
* Found GD graphics library built-in.
* Installation directory: /var/lib/mediawiki
* Script URI path: /mediawiki
* Installing MediaWiki with php file extensions
* Environment checked. You can install MediaWiki.
*
Generating configuration file...
Notice: Constant MW_INSTALL_PATH already defined in /var/lib/mediawiki/config/index.php(717) : eval()'d code on line 16
* Database type: MySQL
* Loading class: DatabaseMysql
* Attempting to connect to database server as root...success.
* Connected to 5.0.51a-19
* Attempting to create database...
* Created database wikidb
* Creating tables... done.
* Initializing statistics...
* Granting user permissions to wikiuser on wikidb...success.
* Created sysop account WikiSysop.
*
Creating LocalSettings.php...
Installation successful! Move /var/lib/mediawiki/config/LocalSettings.php to /etc/mediawiki, then follow this link to your wiki.
You should change file permissions for LocalSettings.php as required to prevent other users on the server reading passwords and altering configuration data.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. or read it online
* MediaWiki home
* Readme
* Release notes
* Documentation
* User's Guide
* FAQ
MediaWiki is Copyright © 2001-2008 by Magnus Manske, Brion Vibber, Lee Daniel Crocker, Tim Starling, Erik Möller, Gabriel Wicke and others.
zara:/home# su - postgres
postgres@zara:~$ psql template1
Welcome to psql 8.3.4, the PostgreSQL interactive terminal.
Type: \copyright for distribution terms
\h for help with SQL commands
\? for help with psql commands
\g or terminate with semicolon to execute query
\q to quit
template1=# ALTER USER postgres PASSWORD 'zulali';
ALTER ROLE
template1=# \q
postgres@zara:~$ exit
logout
postgres@zara:~$ createuser -DRS za
postgres@zara:~$ psql template1
Welcome to psql 8.3.4, the PostgreSQL interactive terminal.
Type: \copyright for distribution terms
\h for help with SQL commands
\? for help with psql commands
\g or terminate with semicolon to execute query
\q to quit
template1=# ALTER USER za PASSWORD 'ZULALI';
ALTER ROLE
template1=# \q
postgres@zara:~$ exit
logout
$ bootchart --format png
Parsing /var/log/bootchart.tgz
Exception in thread "main" java.awt.AWTError: Cannot load AWT toolkit: gnu.java.awt.peer.gtk.GtkToolkit
at java.awt.Toolkit.getDefaultToolkit(libgcj.so.70)
at java.awt.Font.tk(libgcj.so.70)
at java.awt.Font.getPeerFromToolkit(libgcj.so.70)
at java.awt.Font.(libgcj.so.70)
at org.bootchart.renderer.ImageRenderer.(Unknown Source)
at java.lang.Class.initializeClass(libgcj.so.70)
at java.lang.Class.initializeClass(libgcj.so.70)
at org.bootchart.Main.render(Unknown Source)
at org.bootchart.Main.main(Unknown Source)
Caused by: java.lang.UnsatisfiedLinkError: libgtkpeer: libgtkpeer.so: cannot open shared object file: No such file or directory
at java.lang.Runtime._load(libgcj.so.70)
at java.lang.Runtime.loadLibrary(libgcj.so.70)
at java.lang.System.loadLibrary(libgcj.so.70)
at gnu.java.awt.peer.gtk.GtkToolkit.(libgcj.so.70)
at java.lang.Class.initializeClass(libgcj.so.70)
at java.lang.Class.forName(libgcj.so.70)
at java.awt.Toolkit.getDefaultToolkit(libgcj.so.70)
...8 more
Filesystem Size Used Avail Use% Mounted on
/dev/hda7 7.4G 3.0G 4.1G 43% /
tmpfs 570M 0 570M 0% /lib/init/rw
udev 10M 80K 10M 1% /dev
tmpfs 570M 0 570M 0% /dev/shm
[May 09 10:50:12 UTC] 2 crunchers ('a' and 'b') have been started.
b\
.....10%.....20%.....30%.....40%.....50%.....60%.....70%.....80%.....90%....100
[May 09 11:02:50 UTC] RC5-72 #b: Completed CB:BFB772A5:00000000 (1.00 stats units)
0.00:12:37.18 - [5,672,320 keys/s]
[May 09 11:02:50 UTC] RC5-72 #b: Loaded CB:BFB772A7:00000000:1*2^32
[May 09 11:02:50 UTC] RC5-72: Summary: 1 packet (1.00 stats units)
0.00:12:37.18 - [5,672,320 keys/s]
[May 09 11:02:50 UTC] RC5-72: 16 packets (16.00 stats units) remain in
buff-in.r72
Projected ideal time to completion: 0.01:40:56.00
[May 09 11:02:50 UTC] RC5-72: 1 packet (1.00 stats units) is in buff-out.r72
.....10%.....20%.....30%.....40%.....50%.....60%.....70%.....80%.....90%....100
[May 09 11:02:53 UTC] RC5-72 #a: Completed CB:BFB772A1:00000000 (1.00 stats units)
0.00:12:40.56 - [5,647,111 keys/s]
[May 09 11:02:53 UTC] RC5-72 #a: Loaded CB:BFB772A8:00000000:1*2^32
[May 09 11:02:53 UTC] RC5-72: Summary: 2 packets (2.00 stats units)
0.00:14:07.79 - [10.13 Mkeys/s]
[May 09 11:02:53 UTC] RC5-72: 15 packets (15.00 stats units) remain in
buff-in.r72
Projected ideal time to completion: 0.01:34:37.00
[May 09 11:02:53 UTC] RC5-72: 2 packets (2.00 stats units) are in
buff-out.r72
#apt-cache search dnsutils
$scp eee-xubuntu.iso za@design.paume.itb.ac.id:/home/za/iso
$ more .forward
"|IFS=' ' && exec /usr/bin/procmail -f- || exit 75 #za"
VERBOSE=off
SHELL=/bin/bash
MAILDIR=$HOME/mail
PMDIR=$HOME/.procmail
LOGFILE=$PMDIR/log
INCLUDERC=$PMDIR/rc.maillists
mv procmail procmail.dir.unused
From sentto-7613154-28087-1199767404-za=design.paume.itb.ac.id@returns.groups.yahoo.com Tue Jan 8 11:43:35 2008
Subject: [IA-ITB] (Dukung J5000!) Bandung BERMARTABAT (dulu BERHIBER yah?)
Folder: IA-ITB 18
:0:
* ^TOcivitas@ee.itb.ac.id
civitas
Jan 7 14:00:47 design postfix/smtpd[1345]: NOQUEUE: reject: RCPT from design-88.paume.ITB.ac.id[167.205.24.88]: 554 5.7.1: Relay access denied; from= to= proto=ESMTP helo=<[167.205.24.88]>
# vi /etc/postfix/main.cf
#mynetworks = 127.0.0.0/8
mynetworks = 167.205.24.0/24
# /etc/init.d/postfix restart
"A Java Runtime Environment or JDK must be available in order to run eclips. No Java Virtual Machine was found after searching th following locations: /usr/lib/j2sdk/sun/bin/java"