So with my new build that is super duper awesome (view here), I have 32GBs of shiny blue ram to match my sexy motherboard.
Upon installing the necessary drivers and getting my Windows image all set up, I noticed that it only noticed 16GBs of my ram…I mean SPD info showed they were all there and EVERYTHING!!! it just didn’t want to process the extra as usable;(
What changed.? I had performed a BIOS upgrade the night before to make sure everything was cozy and working just right.
So I just launched an ESXi box at work and put in drives after installing vmware and creating 4 virtual machines. I then wanted to move some of the vm’s to a different (bigger) hdd.
Here’s how:
1) In vsphere, right click each VM and select “remove from inventory”.
2) Enable SSH login to ESXi by selecting the server, selecting the “Configruation” tab and selecting “Security Profile” in the Software box.
Need to rename files recursively using regex? Thanks to commandlinefu and awesome people, you now can:
find . -depth -type f -execdir bash -c ‘a=“{}”;mv -f “$a” ${a//REPLACEME/WITHME}’ \;
END OF POST
So do this:
apt-get install xscreensaver xscreensaver-screensaver-bsod
This will install the amazing xscreensaver daemon and a crapton of extra awesome screensavers including the BSOD and XMatrix ones.
Run “xscreensaver-demo” to load the config dialog box and set your awesome screensavers!!
Xscreensaver Manual
Then you can make a keyboard short-cut for Super+L that runs “xscreensaver-command -lock” and locks your computer and starts the screensaver!!! (basically what I did as I like Mod4+L (the windows key and L that are closest to each other) to be my shortcut just like in winblows!
So this summer was fun. During my internship at Sentry, I found out that I had no access out on non-default ports. This makes me a sad panda as I use non-standard ports over 1024 for all my ssh servers:(
However, the fix is nice and awesome.
There is one program I have found that enable you to grab a shell on your server through your web browser. And you don’t need any special plugins or crap like that!
So the title might be misleading but picture this:
tar czvf lol.tgz /home/lol/omnom
When you run that, it will tar up that directory. It will also put leading directories up to the actual data in the directory you’ve specified.
So when you go to extract it to lets say /extract, you’ll get:
/home/extract/home/lol/omnom
Here is how to avoid that straight from one of my favorite sites: stackoverflow
tar -czvf lol.tgz -C /home/lol/omnom .
Multiple line spaces in your bash programming can come in handy. Here’s how straight from the awesome that is cyberciti!
#!/bin/bash echo “Say Something” <<COMMENT1 your comment 1 comment 2 blah COMMENT1 echo “Do something else”
So my users weren’t able to use the passwd command after I implemented LDAP auth on a specific client.
Here’s a quick fix to /etc/pam.d/common-password
password [success=1 user_unknown=ignore default=die] pam_ldap.so use_authtok try_first_pass
Needs to become…..
password [success=1 user_unknown=ignore default=die] pam_ldap.so try_first_pass
Basically, removing the use*authtok enables the try*first*pass to successfully get processed (i believe, more) *and therefore the passwd command can then properly check the first password you type unlike the error users got before:
I recently moved into a house and have had to watch my power. So obviously standby mode is a big deal in these parts where college students pay the electric bill with the small amounts of nothing they seem to find themselves holding.
In linux, this is not hard to do at all especially since I have ubuntu 12.04 which seems to work great with my hardware.
However, I am not able to wake the computer back up with my wireless logitech keyboard or mouse!
Challenge:
1 House (Duplex)
2 Sides
1 Hole in the Basement
2 Different Groups of College students
11 People wanting access
4 Network Ports
1 Server
So I live in a duplex and both sides of the house are friends with each other. We all need access to one central server to share certain files as well as stream content etc…
Here are some obstacles:
1) both have separate Charter internet connections