Showing posts with label linux. Show all posts
Showing posts with label linux. Show all posts
Sunday, August 29, 2010
Adding resolutions using xrandr
I installed Lucid Lynx (Ubuntu 10.04) on my home computer, but have been having trouble getting the resolution on my Acer X223w screen to be higher than 1360x768. So I found this helpful post on the Ubuntu forums explaining how to use xrandr to be able to add resolutions and having it persist.
Labels:
linux
Wednesday, May 5, 2010
Linux: Host connecting to MSSQL server on VBox
I've installed MSSQL on my virtual box and CF on my host machine (linux). I needed to connect to the mssql instance, so to make it available, I had to enable another network adapter on my vbox instance attached to the host only adapter;
Labels:
linux,
virtualbox
Tuesday, December 29, 2009
Installing ColdFusion under Tomcat in Ubuntu
ColdFusion doesn't seem to run straight off the bat when installed under Tomcat in Ubuntu. Rather, what I had to end up doing was change the webapps.policy file to give permisions for the application. Essentialy to add this one line of code;
permission java.security.AllPermission;
permission java.security.AllPermission;
Labels:
Coldfusion,
linux,
tomcat
Monday, July 27, 2009
VirtualBox - Creating a template harddrive
Rather than install windows and have to customize each harddrive to the way that you want it, you can simply create one and then clone that harddrive using this command;
VBoxManage clonehd source.vdi destination.dviSimple as that.
Labels:
linux
Saturday, April 25, 2009
Linux: Share folders from windows to Kubuntu
I had a little trouble sharing my folders from windows to kubuntu, so with a little digging around i found this command that'll create a folder that'll link to your networkdrive. Of course you can change the location of where you want the mount to which ever folder
To have this network folder permanently mounted, edit your /etc/fstab file to add
//FileServer/Files /home/james/shares/FileServer cifs username=james,password=bond 0 0
Curious tho that it uses cifs rather than smbfs, but i read somewhere that its being deprecated...
*******note: I was trying this on my work laptop, trying to mount a server folder onto my local system, and I kept getting this error in my syslog (/var/log/syslog)
sudo mount -t smbfs -o username=james,password=bond //FileServer/Files /home/james/shares/FileServerOf course if you do this, you may want to give your windows box a static ip, or use the name of the computer instead of the ip address.
To have this network folder permanently mounted, edit your /etc/fstab file to add
//FileServer/Files /home/james/shares/FileServer cifs username=james,password=bond 0 0
Curious tho that it uses cifs rather than smbfs, but i read somewhere that its being deprecated...
*******note: I was trying this on my work laptop, trying to mount a server folder onto my local system, and I kept getting this error in my syslog (/var/log/syslog)
smbfs: mount_data version 1919251317 is not supportedTurns out, it was because i didn't have the smbfs package installed. i don't know why it would have just said that, but in either case simply running
sudo apt-get install smbfsFixed it right up
Labels:
linux
Wednesday, April 22, 2009
Linux: Remoting into Kubuntu
Seems simple enough, here are the ingredients;
Kubuntu (duh)
VNC
Your IP address
So if you go to your start menu and go to your application tab, then Internet->Desktop sharing, you'll bring up Krfb, Kubuntu's native desktop sharing manager. With this app you can send invitations either explicitly (an email) or implicity (where the the invitee has 1 hr to log on).
Once you have Krfb up, click on Configure, then check off "Allow uninvited Connections" (to allow you to connect whenever) and uncheck Ask before accepting uninvited connection (so that you'll go straight in when you remote). Finally, be sure to put a password.
Once thats done you'll have to make sure that the computer, or rather the default port of 5900, is open to the outside world through your router/firewall. You may want to change the port just for security reasons.
Well, i've tried it and i have to say it sucks. or atleast not up to what i was hoping. I vnc'd to my machine at home and it was very laggy (not due to my connection, i can remote desktop in) and the desktop was very jagged. Looks like i'll have to find something better.
Kubuntu (duh)
VNC
Your IP address
So if you go to your start menu and go to your application tab, then Internet->Desktop sharing, you'll bring up Krfb, Kubuntu's native desktop sharing manager. With this app you can send invitations either explicitly (an email) or implicity (where the the invitee has 1 hr to log on).
Once you have Krfb up, click on Configure, then check off "Allow uninvited Connections" (to allow you to connect whenever) and uncheck Ask before accepting uninvited connection (so that you'll go straight in when you remote). Finally, be sure to put a password.
Once thats done you'll have to make sure that the computer, or rather the default port of 5900, is open to the outside world through your router/firewall. You may want to change the port just for security reasons.
Well, i've tried it and i have to say it sucks. or atleast not up to what i was hoping. I vnc'd to my machine at home and it was very laggy (not due to my connection, i can remote desktop in) and the desktop was very jagged. Looks like i'll have to find something better.
Labels:
linux
Monday, April 13, 2009
Linux: Cheat sheets
I'm trying to brush up on my linux skills and commands, and i constantly searching the web for commands and such. I was thinking about creating a type of "cheat sheet" or commands that i use most often. But until i do, here is a really, really comprehensive listing of different commands that I've found posted on Scott Klarr's website;
http://www.scottklarr.com/topic/115/linux-unix-cheat-sheets---the-ultimate-collection/
http://www.scottklarr.com/topic/115/linux-unix-cheat-sheets---the-ultimate-collection/
Labels:
linux
Subscribe to:
Posts (Atom)

