Faking User Agent with Wget Written by Steve Lake From http://www.raiden.net Posted on: Jan 27, 2010 at 07:49am Section: Tutorials Printer Friendly Version Legacy URL A good portion of the Linux community who are familiar with the command line are also very familiar with a powerful tool known as Wget. It’s sort of an FTP/web…
Termbuilder
http://www.tuxradar.com/termbuilder has a nifty little utility to create command line output. It is limited right now but as time goes on, it could be a very useful tool for those looking to improve their command line fu. From their site: This is TermBuilder, an easy-to-use script that helps newbies form Linux terminal commands by selecting…
Install Pear mail_queue
A client asked me to install this last night and I figured i’d share the joy that is pear. To install pear on a server, simply use the following commands; wget http://pear.php.net/go-pear php go-pear Once pear is installed, you can see a list of the available options by typing in pear at the command line….
Disable Direct Root Login
Allowing the root user to login directly can be a major security issue. Here, i’ll show you how to disable it so you can still login as root but just not directly, reducing the security risk. This will force an attacker to guess 2 separate passwords to gain root access. You will first need to…
Can’t move Ubuntu taskbar
Came across this silly little thing about a week ago and had to dig for an hour or so to fix it. After I updated my nvidia drivers, my taskbar suddenly went from my left screen to my right screen. (I have a multi-screen setup). In order to fix this, try holding down the ALT…
Changing time to IST
Client wrote in today asking me to change the time setting on his computer to IST (India Standard Time). In order to change this, login via SSH and then cd /etc/ once there, create a link to the following file by running the following command etc >> ln -sf /usr/share/zoneinfo/Asia/Calcutta localtime This will now show…
Cpanel required ports list
Port Service Protocol Direction Notes 20 ftp tcp inbound/outbound 21 ftp tcp, udp inbound/outbound 22 ssh tcp inbound 25 smtp tcp inbound/outbound 26 smtp tcp inbound/outbound 37 rdate tcp outbound 43 whos tcp outbound 53 DNS tcp, udp inbound/outbound Inbound only needed if you run your own DNS server 80 http tcp inbound/outbound 110 pop3…
Migrate cPanel accounts
From http://www.justin-cook.com This tutorial explains a simple, straightforward method for migrating cPanel accounts from one server to another. You can use this method to transfer accounts from an old server to a new one or help customers move from another host move to your host. This does not even require root access on one end…
Add temporary swap
While it would be ideal if every server had plenty of RAM, in the real world that does not happen. If for some reason you have a server with too little SWAP or you are hitting the max of the swap here is a quick hack which will create a 2Gb container file then use…
-
Recent Posts
-
Archives
- June 2022
- May 2022
- April 2022
- March 2022
- February 2022
- January 2022
- December 2021
- November 2021
- October 2021
- September 2021
- August 2021
- July 2021
- June 2021
- May 2021
- April 2021
- March 2021
- October 2020
- September 2020
- June 2020
- May 2020
- April 2020
- March 2020
- February 2020
- January 2020
- December 2019
- November 2019
- October 2019
- August 2019
- June 2019
- March 2019
- February 2019
- January 2019
- November 2018
- August 2018
- July 2018
- May 2018
- April 2018
- March 2018
- February 2018
- January 2018
- October 2017
- June 2017
- December 2016
- October 2016
- September 2016
- August 2016
- June 2016
- May 2016
- March 2016
- February 2016
- September 2015
- March 2015
- February 2015
- January 2015
- December 2014
- November 2014
- October 2014
- September 2014
- August 2014
- July 2014
- May 2014
- April 2014
- March 2014
- February 2014
- January 2014
- October 2013
- September 2013
- August 2013
- July 2013
- June 2013
- May 2013
- April 2013
- March 2013
- February 2013
- January 2013
- December 2012
- November 2012
- October 2012
- September 2012
- August 2012
- July 2012
- March 2012
- February 2012
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
- January 2011
- December 2010
- November 2010
- October 2010
- September 2010
- August 2010
- July 2010
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- March 2009
-
Meta