Ubuntu Installation :: Installing Latest Mediawiki From Source
May 28, 2011
I downloaded latest mediawiki, moved the tarball to /usr/share/ exploded the tarball via
Code:
then
Code:
Then in your web browser point to local host 127.0.0.1/wiki
It will then bring you to the wiki configuration setup pages, and you may install databases for this package via phpmyadmin. im going to remove the alias to php my admin after i am done using it again to cut off outside world from seeing the php my admin login page for security reasons.
Im going to do this by adding a # infront of the alias in /etc/apache2/conf.d/phpmyadmin.conf and making it look like this.
Code:
My next to default ubuntu install says we should install caching, and pecl.
Pecl search in synaptic shows dh-make-php as first result. install that, then install [url] extension for mediawiki. i already have apache mysql and php installed, but if you dont have those installed they are requried.
download latest [url], tar -xf intl* to explode package.
## im clearly going to have to refine this.... php-apc shows up in synaptic, installing it does not stop the wiki installer page from throwing errors. going to try [url] to see if that resolves one
download the latest source of eaccelerator.
[url]
tar -xf eaccelerator source package to explode it,
phpize command tells me i need php-dev package, i pull the package from synaptic. i also grab libicu-dev while i am at it.
Code:
goes through, then
Code:
Code:
add to the top of the file the e accelerator info.
Code:
Code:
Code:
Then purge eaccelerator source directory and pure the tarball out of your system.
At this point we are going to make a database for the mediawiki by uncommenting the alias that keeps phpmyadmin shut off from attacks.
Code:
Then
Code:
Then point the browser @ 127.0.0.1/phpmyadmin
Then setup your database for wikipedia, i named mine wiki
Make a user, i named mine wiki.
Password your database, and follow prompts in the media wiki package
Comment the alias of phpmyadmin to disable the phpmyadmin pannel/address
Restart apache and your good to go on linking the wiki.
I tried to install the latest version of Debian from a Live USB on my new laptop (UEFI). Everything goes well during installation (EFI partition, grub-efi, etc), but after restart, my computer does not boot into HDD.
How to debug the problem or fix the boot loader. What is the problem in standard installation? and how can I fix the boot loader?
I'm attempting to compile the latest version of VLC from source. I'm able to run ./configure without any errors, however when I try to make I receive the following error. I don't want to install the program from the repositories because it's outdated and the tray icon doesn't blend in.
I just started to use debian at what i would call full speed as soon as i received my copy of the debian 6.0.0 DVDs. i installed it on two offline desktops, one for a friend. i have been able to install certain softwares that don't come along with the distribution such as firefox 4, openoffice 3.3, the latest jdk_update_24, and others, and i've been able to configure them to work well i think... but now, i learnt of the new gnome 3 that has been released recently. i've ofcourse downloaded all the source files at [URL] but now am facing a problem of how i can install these on to the debian computers (they don't have any internet connection).
I was having some trouble trying to get video editing directly with Theora OGVs on Ubuntu 10.04. To be honest, the default Lucid video editor Pitivi (which is a front-end for gstreamer) actually works fine with ogv - but you cannot do video overlays (compositing) in Pitivi. So I looked at Cinelerra, LiVES, OpenShot and Kdenlive as editors that may offer overlays/compositing. They can all be sudo apt-get install-ed, but none of them wanted to run properly with ogvs - especially the ogv video preview didn't work. Looking for a solution, the following bugs came up:
Bug #574457 in mlt (Ubuntu): �melt displays and renders garbage while playing .ogv in ubuntu 10.04� Bug #535018 in openshot (Ubuntu): �Openshot cannot playback ogg video� Bug #566781 in OpenShot Video Editor: �Imported Ogg Theora file shows corrupted video in OpenShot 1.1.3�
[code].....
However, since it doesn't seem a bugfix will be released for Lucid - that pretty much means only one thing, if we want video editing of ogv in Lucid: build from source. If we build all dependencies for Theora ogv video from the latest source: melt
ffmpeg vorbis theora ogg
then, in principle, working with ogv in Openshot and/or Kdenlive should (and does) work - if these video editors are directed to use these new binaries (built from source). Note that Openshot is basically a python frontend for melt, and it does not need compiling as such (though some precautions should be taken, see below) - so once the above sources are built, a test with Openshot can be done. I used for building these sources is HOWTO: Install and use the latest FFmpeg and x264 - Ubuntu Forums This HOWTO uses checkinstall in order to generate .deb packages from source, which are then installed into the running OS, to allow for satisfying of dependencies. I'd like to keep my system 'vanilla' clean, and experiment with sources outside of my system (i.e. as in a "portable installation") - and this post outlines that approach.
Basically, we download the sources, and build them in order of dependency - and since ogg/vorbis/theora source already uses it, we can use pkg-config to configure some other source dependencies as well: by writing *-uninstalled.pc files in respective source directories; and then adding these directories to the PKG_CONFIG_PATH environment variable. However, some manual changes to source files will be needed too. Finally, for each source package, we will run only 'make', but not 'make install' - and then in the end, we will collect all binaries (libraries and executables) in a single folder; and add a couple of scripts, that will setup an environment referring to these binaries, so that Openshot/Kdenlive (when called from this environment) may work correctly with ogv. The full list of sources built using this approach are: ogg
vorbis theora
[code]....
Both x264, and libvpx (for VP8/WebM), have been added as recommended in the HOWTO; while Ogg Video Tools are added mostly for the (relatively new) tool oggTranscode. The approach to building these sources is given below, in the form of a commented bash script - since its quite big, it is included in the reply to this post.
References: Xiph.org: Subversion Access oggvideotools/trunk/README Compiled libogg but libvorbis can't find libogg during ./configure - Linux Forums
I reported a bug at [URL].., then I had been asked to test the latest generic kernel in order to test whether the bug exist in latest kernel or not. I had read the information at [URL]... I installed the most current version of generic kernel. After that, I restart my computer and try to use the latest installed kernel. Then, the laptop freeze. Then, I restart my computer by turning off and on again, select the older kernel, successfully boot into Ubuntu to post this thread. What can I do since I am required to test the latest generic kernel?
I have been trying to install the latest svn of Kaffeine on my Ubuntu Studio 10.04 system. As per the instructions on the Linux/Kaffeine website [linuxtv.org/wiki/index.php/Kaffeine] I was able to successfully download the latest release. The command I used was as follows:
(1) svn co svn://anonsvn.kde.org/home/kde/branches/extragear/kde3/multimedia I went through the next two steps without error (2) cd multimedia (3) rm -fr doc k3b kdetv klicker kmplayer kplayer but ran into problems with the following command: (4) make -f Makefile.cvs
The error messages I received were as follows: This Makefile is only for the CVS repository. This will be deleted before making the distribution: *** YOU'RE USING automake (GNU automake) 1.11.1. *** KDE requires automake 1.6.1 or newer make[1]: *** [cvs] Error 1 make: *** [all] Error 2
This error makes little sense to me. It seems to be telling me that I need automake 1.6.1 or newer but apparently I already have 1.11.1 installed so what gives here? Talk about confusing!!! Perhaps KDE automake and GNU automake are two different things? There is no option to install KDE automake in Ubuntu that I can see. The next command line (5) has me completely confused. I have no idea what I am supposed to be entering.
(5) ./configure --with-extra-includes=/lib/modules/`uname -r`/source/include [for example] (6) make (7) cd kaffeine ( sudo make install
I am trying to install the latest version of K9copy, but the only available version is in the .tar.gz file package. I placed the folder on my desktop and extracted the files. Now I have the .tar.gz file and the extracted files on the desktop. I need to install the files, but I don't know which command to use or what to do to get any commands to work.
(Keep in mind that the extracted folder is named 'k9copy-2.3.4-Source.tar.gz') ./configure make make install This seems to be the most common answer to install the files, but it NEVER works, nor do I understand where the package files come into play when I type this command into the terminal.
I got tired of not being able to run any 3D apps on my integrated Intel and went out and came home with a ATi Radeon HD 4650. Skip the bit about how I could have gotten an nVidia (they didn't have any HTPC compatible low-profile nVidias on shelf).
Actually the card works very well, it runs all the 3D apps I've thrown at it so far (and quite a bit faster too).
My problem is with video playback: it is jerky. The framerate stalls and then speeds up and is out of sync. When not out of sync, there is tearing. Yes I have tried turning Compiz off, didn't do anything. Weird thing is the CPU utilization is really low, so everything should be working.
I figured I would update the video drivers to the latest available on ATi website (following the instructions here) but I've ran into trouble with the installer:
Code:
How do I proceed from here? If you've got a fix for the video with the drivers in the repositories that is cool also. I don't necessarily need the latest drivers.
I have reloaded windows xp and now after installing ubuntu latest version, I get a boot menu that gives options. if I select the Ubuntu option, within a few seconds(2)the monitor shows "out of range"! However it is possible to get a command prompt from this menu,(Grub)by pressing "C" then Tab, which lists about 30 commands! But I cannot find what command will overide the ubuntu boot display setting! yet if it is possible in the disc boot F6 menu, then it follows that it must be possible in the hard disk boot menu? (ie nomodeset available on the disk F6, so using F6-nomodeset on the disk allows me to install or run from the disk, which then runs perfectly) Only I cannot make changes in the Ubuntu live that runs direct from the disk, to the installation on the hard drive. My Monitors Max is 75hz 1280x1024, LCD. And although not the latest model, Its still relatively current. Windows from the boot menu works fine.
Yesterday, NVIDIA released a new set of drivers. For ubuntu 10.10, I downloaded 270.41.06. I havent been able to set it up on my fresh install of Ubuntu 10.10.
I have tried the following methods:
1. First changed the settings for updates to accept proposed updates. This is also suggested at [url]
Then installed the additional driver proposed by Ubuntu.
On restart, no login-screen. (Xserver fails to come up!)
2.Edited the repos by adding ppa:ubuntu-x-swat/x-updates. Unfortunately 270.41.06 is not the latest driver available there - 270.41.03 is the current version. On adding this repo the driver is searched successfully by synaptic. Installing nvidia-current brings up the driver version to 270.41.03 without any issues.
Nvidia X Server Setting prompts to run the nvidia-xconfig. On doing so a new conf file is created.
On restart, the Ubuntu splash screen is not displayed. Again Xserver fails to start!
3. Finally, I tried installing the .run file provided on Nvidia's website. First, I dropped to a root shell. Then cd'ed to the location where .run file was saved. On running the .run file, the installer asks you to change the run-level to 3. On doing so by telinit 3, the driver starts installing. As soon as I accepted the terms and proceeded to the next screen, a warning was displayed saying the pre-install script had failed!
But the driver installation does proceed to completion.
Even this method failed. The Xserver still does not start. No splash screen.
Currently I am running the system by restarting the Xserver in failsafex mode.
I am new to Fedora and having trouble installing the latest tar file from Mozilla. I am familiar with basic Linux commands and the message I received when after downloading the tar file and extracting it was error while loading shared libraries: /root/firefox/libxul.so: cannot restore segment prot after reloc: Permission denied. I do not have the latest version I tried to yum update and it did not work.
Thought I'd put this together based on what I just did as it's hard to find a place where you get complete info in one place for this topic.
Not taking any credit as it's just piecing together stuff found on the net.
Of course this is for my specific hardware and system so YMMV: - Palit Sonic GT 240 card - Lucid 10.04.1 64-bit - Intel DG33FB board and E7200 CPU - LG monitor L194WT at 1440x900 res
Reason for choosing the latest NVidia drivers instead of the ones available from the System > Administration > Hardware Drivers option is that the latest ones contain specific fixes for my card, that are not available in the others.
Prerequisites:
All of the following is based on a freshly installed 64-bit Lucid 10.04.1 system. Some actions may need modification if you have already been tinkering with Nvidia drivers.
1. Backup your /etc/X11/xorg.conf file if any. The default clean install of 64-bit Lucid 10.04.1 doesn't create this file so unless you have generated and modified the xorg.conf file for your specific needs, skip this.
2. Install the following packages
Code:
If this doesn't work, run
Code:
And paste the output of that in the command above so you get, say
Code:
3. Remove the following packages using Synaptic's 'Completely Remove' option - nvidia-173-modaliases - nvidia-96-modaliases - nvidia-current-modaliases - nvidia-common
4. Create a new text file disable-nouveau.conf in the directory /etc/modprobe.d/ with the following contents
Code:
5. Download the latest NVidia drivers applicable to your card from here:[url]
6. Save the downloaded file (e.g. NVIDIA-Linux-x86_64-260.19.29.run in my case) to an easily accessible location like your home folder. Make this file executable by running, say
Code:
7. Check that the driver was correctly downloaded.
Code:
8. Run Update Manager, Check for updates and Apply any found
Installation:
1. Restart and choose the recovery option from the Grub options list.
2. Choose the Root Shell option in the list of options presented subsequently.
3. At the root shell run the following
Code:
If you skip this, the driver installer will inform you of the need to do this.
4. This will present you with a login prompt. Login with your admin username and password.
5. Navigate to the folder where the driver installer is present and run it, like
Code:
6. Accept the license text.
7. Say Yes to installing the 32-bit Open GL drivers.
8. I think you need to say Yes/ Accept once more time to initiate the driver installation.
9. Once the driver is installed it will ask you whether it should configure xorg.conf for you, say Yes. This will create the xorg.conf file if not present in your system and modify an existing one if present.
10. Back at the prompt, shutdown the system
Code:
11. Restart and use the normal startup option in the Grub options list, if all goes well you should see your beautiful desktop.
I'm trying to install the latest version of Clamav (0.95.3), but I'm getting the following error messages in Synaptic after adding the recommended repository to my sources:
So, it's 2010 and I already though I got rid of coding my own drivers & compiling my own kernel in normal use... After installing latest Fedora 14 updates, my system won't boot anymore into fedora. Just continuous loop no matter if I select previous kernel system won't boot.
Anyone any ideas? I think it might be ATI driver but not 100% sure since I didn't see any D/A related or Kernel updates wasn't upcoming...
Anyways I will figure out this sooner or later but this kind of updates sucks a bit that your system goes suddenly totally unuseable or system won't reboot, sooo , time to move on with an another distro or is Fedora just RedHat's playaground?
I'd like to install the latest opensuse server edition on my laptop. Is that for free? Also, I have a laptop with windows Vista, 3MB Ram and 80gb hardrive.
I usually use Ubuntu as a way of accessing my hard drive when Windows 7 crashes. I now want to reinstall Ubuntu on my hard drive as a seperate OS on its own partition.
I installed Windows 7 already, and I allocated about 60gb for Ubuntu. The problem now is manually arranging the different options in the Ubuntu partitioning menu. I tried the automatic installation but I was unhappy with the fact that it merged my W7 and the Ubuntu installation on a partition.
I'm using Ubuntu 11.04. I'm searching for an automated way of installing the latest version of Flash for Firefox. We are using our machine as a testing server and it would be nice to be assured we always have the latest version of Flash instead of having to manually update it whenever Adobe comes out with an incremental update.
I have changed to ubuntu a few months ago from windows, where I used to have a mediawiki set up on a local server. This wiki was used for notes, archiving, document management, file storage, calendaring, almost everything that most people do with a normal directory tree on their drives.
Unfortunately, I have not yet managed to install a local media wiki on my ubuntu 10.04 LTS system so far. I have tried it once and messed up the php-stuff so badly that I had to reinstall the entire system in order for it to work in a acceptable speed.
how to set up a current version mediawiki (or an older version, if that's the only chance) as a local wiki in 10.04 LTS? There is no network access to the wiki, just local access using a firefox browser on the machine where it is installed.
i know that the command /.configure will make the "make" file and then i have to make " make install" to install the app. but how to deal with the dependency problem ? i asked my friend about it and he said why dont you use apt instead to install packages but what if i want to use distos like slackware? anyway that friend was not interested in helping me out and i m not expecting to. but can anybody answer this in detail or provide any document on this..
I'm trying on getting the MIME types setup correctly for Apache/MediaWiki. I think I've modified every config file known to man to no avail. Here's some info on what I've got going on. I'm trying to get the Office 2007 MIME types configured for MediaWiki 1.14 so that we can upload/download the files. Out of frustration/lack of need I went the less secure route and I modified the LocalSettings.php config file to disable MIME type verification for uploads.
Code: $wgVerifyMimeType = false;
This works great for the uploads, and I can upload .DOCX, .XLSX, and .PPTX all day long, however when downloading them, they download as a .ZIP file with all the XML info inside of it. No biggie for me personally as I can just rename .ZIP to .DOCX and it works fine, however for the average user it's not going to fly. So, I figured that MIME types would be the source of my pain and started doing some research.
I have modified the following config files to include the MIME types listed below. /etc/mime.types /var/www/.htaccess (created to try and force them) /var/www/mediawiki-1.14.0/.htaccess (created to try and force them) /var/www/mediawiki-1.14.0/includes/mime.types
Code: application/vnd.ms-word.document.macroEnabled.12 .docm application/vnd.openxmlformats-officedocument.wordprocessingml.document docx application/vnd.openxmlformats-officedocument.wordprocessingml.template dotx application/vnd.ms-powerpoint.template.macroEnabled.12 potm application/vnd.openxmlformats-officedocument.presentationml.template potx application/vnd.ms-powerpoint.addin.macroEnabled.12 ppam application/vnd.ms-powerpoint.slideshow.macroEnabled.12 ppsm application/vnd.openxmlformats-officedocument.presentationml.slideshow ppsx application/vnd.ms-powerpoint.presentation.macroEnabled.12 pptm application/vnd.openxmlformats-officedocument.presentationml.presentation pptx application/vnd.ms-excel.addin.macroEnabled.12 xlam application/vnd.ms-excel.sheet.binary.macroEnabled.12 xlsb application/vnd.ms-excel.sheet.macroEnabled.12 xlsm application/vnd.openxmlformats-officedocument.spreadsheetml.sheet xlsx application/vnd.ms-excel.template.macroEnabled.12 xltm application/vnd.openxmlformats-officedocument.spreadsheetml.template xltx It doesn't seem to matter where I put the code, I can't get the MIME types to register with Apache/MediaWiki.
I have downloaded the Mediawiki demo appliance from UEC store. I have installed it and also it is running. I would like to know how to access the mediawiki demo appliance. I tried accessing it as [URL] but is not accessible.
OS: Ubuntu 10.04. When I try to install some packages by aptitude, I see this: Before it, I made it (sudo apt-cdrom add): And it (sudo apt-get update):
My dvd-disk is not broken - md5 checksum is right. In sources.list I have only cdrom source, without any network repositories. When I install one package (for example pptp-linux) which don't use any depending, it work good, but when I have some group of packages - installed only first package from this group, you can see this in a first image, marked by yellow color and set to 16 percent.