sudo update-apt-xapian-indexIf that doesn't work, be sure to try both the quick search box as well as the traditional search box.
Sources
Unbutu Forums
sudo update-apt-xapian-indexIf that doesn't work, be sure to try both the quick search box as well as the traditional search box.
java -jar /opt/pdfsam/pdfsam-1.0.3.jarNote that the name of the file will depend on what version you download.
deb http://ppa.launchpad.net/transmissionbt/ubuntu hardy mainIf you are using intrepid, just replace intrepid for hardy in the line above. See the download site for more explanation.gpg --keyserver keyserver.ubuntu.com --recv 976b5901365c5ca1
gpg --export --armor 976b5901365c5ca1 | sudo apt-key add -sudo apt-get update && sudo apt-get upgrade
sudo apt-get install transmission-cli
transmission-daemonAfter you have executed it, it might be a good idea to restart after this is done. The purpose of starting the daemon is to make sure you get some folders and files in your home directory.
/home/username/.config/transmission-daemon/settings.jsonIt should look something like this to begin with:
"blocklist-enabled": 0,You want to change it so it looks something like this:
"download-dir": "\/home\/anyone",
"download-limit": 100,
"download-limit-enabled": 0,
"encryption": 1,
"max-peers-global": 200,
"peer-port": 51422,
"pex-enabled": 1,
"port-forwarding-enabled": 0,
"rpc-authentication-required": 0,
"rpc-password": "",
"rpc-port": 9091,
"rpc-username": "",
"rpc-whitelist": "127.0.0.1",
"upload-limit": 100,
"upload-limit-enabled": 0
"blocklist-enabled": 1,As you can see, the first change is on the "blocklist-enabled" line. You are changing 0 to 1. This is obviously to enable blocklists. If you have something like moblock running, you can leave this as 0. I will discuss setting up blocklists further below. The second change is to the "rpc-whitelist" line. You basically need to add the ip address from which you will be accessing the server. The example listed above assumes your ip address will begin with 192.168.1. Throw in a * to cover everything else. To allow all ip addresses, you could probably add something like "*.*" although I have not tested this. In any even, change "192.168.1.*" to suit your individual ip address.
"download-dir": "\/home\/anyone",
"download-limit": 100,
"download-limit-enabled": 0,
"encryption": 1,
"max-peers-global": 200,
"peer-port": 51422,
"pex-enabled": 1,
"port-forwarding-enabled": 0,
"rpc-authentication-required": 0,
"rpc-password": "",
"rpc-port": 9091,
"rpc-username": "",
"rpc-whitelist": "127.0.0.1,198.168.1.*",
"upload-limit": 100,
"upload-limit-enabled": 0
sudo nano /etc/init.d/transmission-daemonWhen the blank file comes up, paste in the script you copied from the transmission web page and hit save.
sudo nano /home/yournamegoeshere/transmission-blocklistThen paste in the text, save, and exit.
http://serveripaddress:9091/transmissionIf that doesn't work, try:
http://serveripaddress:9091/transmission/web/Note also that you have the appropriate port open on your firewall. You shouldn't need the 9091 port open unless accessing the server from outside of your network, but you will need to open the peer port noted in your setting file described above. In that example, the port is 51422.
sudo apt-get install tomcat5.5 sun-java-jre sun-java-jdk3. Modify init for tomcat with the following:
sudo nano /etc/init.d/tomcat5.5Find where it says TOMCAT_SECURITY=yes and change it to no.
sudo /etc/init.d/tomcat5.5 restart5. Move that subsonic.war file that you previously unzipped to /var/lib/tomcat5.5/webapps with:
sudo mv /current/location/of/subsonic.war /var/lib/tomcat5.5/webapps/6. Make a subsonic directory with:
sudo mkdir /var/subsonic7. Then change the ownership of that folder with:
sudo chown tomcat55:nogroup /var/subsonic8. Open up port 8180 if you have a firewall.
http://yourcomputerip:8180/subsonic11. You will initially login with "admin" as both your ID and password. Once at the site, you can change the password, add users, and add music.
sudo nano /etc/cups/cupsd.conf2. Your first edit to the file is to make the section that looks like:
# Only listen for connections from the local machine.look like this:
Listen localhost:631
Listen /var/run/cups/cups.sock
# Only listen for connections from the local machine.3. You then want to change the sections that looks like this:
Port 631
Listen /var/run/cups/cups.sock
< Location / >so they look like this:
# Restrict access to the server...
Order allow,deny
< /Location >
< Location /admin >
# Restrict access to the admin pages...
Order allow,deny
< /Location >
< Location /admin/conf >
AuthType Default
Require user @SYSTEM
# Restrict access to the configuration files...
Order allow,deny
< /Location >
< Location / >4. Finally, restart cups with the following:
# Restrict access to the server...
Order allow,deny
Allow all
< /Location >
< Location /admin >
# Restrict access to the admin pages...
Order allow,deny
Allow all
< /Location >
< Location /admin/conf >
AuthType Default
Require user @SYSTEM
# Restrict access to the configuration files...
Order allow,deny
Allow all
< /Location >
sudo /etc/init.d/cupsys restart5. You should now be able to log into cups on your server with:
http://yourserverip:631Note that when you change something, it may tell you that you need to add a certificate to firefox. Do so by clicking the add/get certificate button at the bottom of the firefox error message page. It will also tell you that to change stuff, you need to use the "https" version of the page instead of "http" so just go to:
https://yourserverip:631You might also have to open/port forward port 631.
sudo nautilusThis will open a new file browser and you can move anything anywhere. Just close the file browser and terminal when you are done.
network.protocol-handler.app.sopIn the next field that pops up, the value field, type:
/usr/bin/sopcast5. Finally, the first time you click on a sop link somewhere, firefox should ask you how you want to open the link. Alternatively, you can go into Edit-->Preferences-->Applications and click on sop. Either way, ignore the default and tell firefox to open the sop link with sopcast by pointing firefox to /usr/bin/sopcast.
sp-sc-auth linklocation 3908 8908 > /dev/null &Replace "linklocation" with the sop link you copied from the site. Also, for information, the "> /dev/null" portion of this command gets rid of any output from the command and the "&" tells it to run the command in the background.
http://localhost:8908/tv.asf4. You should now see the stream. The only catch is that when you close VLC, it doesn't also stop the sp-sc-auth process. For this, you have to go to System-Administration-->System Monitor and stop the sp-sc-auth process.
00 10 * * * root apt-get update && apt-get -y upgrade*/15 * * * * root apt-get update && apt-get -y upgrade > /dev/null@reboot root apt-get update && apt-get -y upgrade && apt-get clean > /dev/null
sudo nano /etc/php5/apache2/php.inimax_execution_time = 300
memory_limit = 32M
post_max_size = 32M
upload_max_filesize = 32Msudo /etc/init.d/apache restartsudo mv /current/path/to/jinzora2 /var/www/sudo chmod -R 777 /var/www/jinzora2cd /var/www/jinzora2sudo sh ./configure.shsudo mv /var/www/jinzora2/install /var/www/jinzora2/install.bak# Magic to make /proc/bus/usb work
#
mkdir -p /dev/bus/usb/.usbfs
domount usbfs "" /dev/bus/usb/.usbfs -obusmode=0700,devmode=0600,listmode=0644
ln -s .usbfs/devices /dev/bus/usb/devices
mount --rbind /dev/bus/usb /proc/bus/usb sudo gedit /etc/udev/rules.d/40-basic-permissions.rules# USB devices (usbfs replacement)
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0664", GROUP="vboxusers"
SUBSYSTEM=="usb_device", MODE="0664", GROUP="vboxusers"sudo gedit /etc/rc.local#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
# VirtualBox USB tweak
/etc/init.d/mountdevsubfs.sh start
exit 0sudo etc/init.d/apparmor stopsudo etc/init.d/squeezecenter stopsudo mv /etc/apparmor.d/usr.sbin.mysqld.squeezecenter.orig ~/sudo rm -fr /var/lib/squeezecenter/cache/MySQL/*sudo etc/init.d/apparmor startsudo etc/init.d/squeezecenter starthttp://192.168.1.100:9000wget -O /home/user/wallpaper/world_sunlight_map_rectangular.jpg http://www.opentopia.com/images/cams/world_sunlight_map_rectangular.jpgsudo mv /home/user/sunlight /etc/cron.hourlycurl -o /path/to/world_sunlight_map_rectangular.jpg http://www.opentopia.com/images/cams/world_sunlight_map_rectangular.jpgwget -O /path/to/file URL
wget -r URL
If no options are specified = Wget will not overwrite the previous file with the same name, but will simply download the new file adding a number to it. So if your original file is named cookie, if you download it again, it will be named cookie.1. If you download it a third time, it will be named cookie.2.
#!/bin/bashsudo chmod 777 /path/to/scriptsudo mv /path/to/script /etc/cron.hourly
Sources: Writing Shell Scripts
sudo gedit /home/user/.bashrcAlias nickname='command'Alias songbird='/opt/Songbird/songbird'sudo update-alternatives --config javasudo ipblock -gsudo ln -s /path/to/file nameoflink
gcc /path/to/devoc.csudo mv /current/path/to/devoc /usr/bindevocdevoc -w /path/to/file.voc