https://wiki.archlinux.org/api.php?action=feedcontributions&user=Henrikr&feedformat=atomArchWiki - User contributions [en]2024-03-28T17:58:45ZUser contributionsMediaWiki 1.41.0https://wiki.archlinux.org/index.php?title=MATLAB&diff=62069MATLAB2009-02-15T12:46:18Z<p>Henrikr: /* x86_64 */</p>
<hr />
<div>{{stub}}<br />
<br />
== For the 32bit student edition 2008b ==<br />
=== x86 ===<br />
Just install (might require a few extra packages, but then can be install via pacman.<br />
(I will try to make a list when I install next)<br />
<br />
For graphical install and interface libxp is needed.<br />
<br />
pacman -S libxp <br />
Install from iso file<br />
modprobe loop<br />
mount -o loop matu2k8b.iso /media/iso/<br />
/media/iso/install<br />
<br />
=== x86_64 ===<br />
Need to install many lib32 packages form pacman as well as some from [[AUR]].<br />
<br />
=== General ===<br />
As one installs matlab, it might complain that there isn't a package, for the most part just look at the package name and then install it with pacman, or in the case of x86_64 there are some libraries only in AUR.<br />
<br />
=== Nvidia OpenGL Acceleration ===<br />
<br />
Once matlab is installed type<br />
<pre><br />
>> opengl info<br />
Version = 2.1.2 NVIDIA 177.82<br />
Vendor = NVIDIA Corporation<br />
Renderer = Quadro NVS 140M/PCI/SSE2<br />
MaxTextureSize = 8192<br />
Visual = 0x21 (TrueColor, depth 16, RGB mask 0xf800 0x07e0 0x001f)<br />
Software = false<br />
# of Extensions = 144<br />
<br />
Driver Bug Workarounds:<br />
OpenGLBitmapZbufferBug = 0<br />
OpenGLWobbleTesselatorBug = 0<br />
OpenGLLineSmoothingBug = 0<br />
OpenGLClippedImageBug = 1<br />
OpenGLEraseModeBug = 0<br />
</pre><br />
<br />
That is what it should look like. If you have a graphics card but it is using Software = true then you have a problem. With the nvidia card all I needed to do to get it working was copy the libGLU.so from the matlab installed library /usr/local/matlab/sys/opengl/lib/glnx86/libGLU.so to /usr/lib directory. NOTE in x86_64 this might be a different directory.</div>Henrikrhttps://wiki.archlinux.org/index.php?title=Rsync&diff=51546Rsync2008-10-20T18:27:55Z<p>Henrikr: /* Configuration */</p>
<hr />
<div>{{stub}}<br />
= Introduction =<br />
The rsync protocol can be used to make quick and easy backups, as it only transfers files that have changed, which means backups are much quicker, than if you just copied all your files over every time.<br />
This tutorial aims to show you how to make a scheduled backup, using rsync, typically to a removable media.<br />
<br />
= Prerequisites =<br />
Obviously, to use rsync, you need rsync:<br />
# pacman -S rsync<br />
<br />
= Configuration =<br />
We need to make a script that tells rsync to backup your data.<br />
<br />
Open a text editor, for example:<br />
# nano /etc/cron.daily/rsync.backup<br />
In this location, it will be run daily, without any further configuration.<br />
<br />
You need to paste this script into the text editor:<br />
<br />
#!/bin/bash<br />
rsync -ar --delete /folder_to_backup/ /location_to_backup/ &> /dev/null<br />
<br />
-a means files are archived, -r means files are copied recursively, and --delete means files deleted on the source are deleted on the backup<br />
<br />
Here, "folder_to_backup" needs to be changed to what you want to backup (/home/ , for example) and "location_to_backup" is where you want to back it up to (/media/disk , for example).<br />
<br />
If you want to backup to a remote host using [[SSH]], use this script instead:<br />
<br />
#!/bin/bash<br />
rsync -ar --delete -e ssh /folder_to_backup/ remoteuser@remotehost:/location_to_backup/ &> /dev/null<br />
<br />
-e ssh tells rsync to use ssh, remoteuser is the user on the host remotehost<br />
<br />
We now need to make it executable:<br />
#chmod +x /etc/cron.daily/rsync.backup<br />
<br />
And that's it. It'll now run daily, as long as your cron daemon is configured correctly (which is out of the scope of this document).</div>Henrikrhttps://wiki.archlinux.org/index.php?title=Rsync&diff=51544Rsync2008-10-20T18:15:22Z<p>Henrikr: /* Configuration */ backup using ssh added</p>
<hr />
<div>{{stub}}<br />
= Introduction =<br />
The rsync protocol can be used to make quick and easy backups, as it only transfers files that have changed, which means backups are much quicker, than if you just copied all your files over every time.<br />
This tutorial aims to show you how to make a scheduled backup, using rsync, typically to a removable media.<br />
<br />
= Prerequisites =<br />
Obviously, to use rsync, you need rsync:<br />
# pacman -S rsync<br />
<br />
= Configuration =<br />
We need to make a script that tells rsync to backup your data.<br />
<br />
Open a text editor, for example:<br />
# nano /etc/cron.daily/rsync.backup<br />
In this location, it will be run daily, without any further configuration.<br />
<br />
You need to paste this script into the text editor:<br />
<br />
#!/bin/bash<br />
rsync -ar --delete /folder_to_backup/ /location_to_backup/ &> /dev/null<br />
<br />
-a means files are archived, -r means files are copied recursively, and --delete means files deleted on the source are deleted on the backup<br />
<br />
Here, "folder_to_backup" needs to be changed to what you want to backup (/home/ , for example) and "location_to_backup" is where you want to back it up to (/media/disk , for example).<br />
<br />
If you want to backup to a remote host using [[SSH]], use this script instead:<br />
<br />
#!/bin/bash<br />
rsync -ar --delete -e ssh /folder_to_backup/ user@host:/location_to_backup/ &> /dev/null<br />
<br />
We now need to make it executable:<br />
#chmod +x /etc/cron.daily/rsync.backup<br />
<br />
And that's it. It'll now run daily, as long as your cron daemon is configured correctly (which is out of the scope of this document).</div>Henrikr