PXE : making your admins life easier

By abhishek

Need to setup a lab/office with 200+ computers, very tiring job but look if you have machines identical in configuration why are you installing each of them why not install one and replicate it to others this will save a lot of time, But how will i do this?????????? Its very very simple you can do a dd of the source to all destination but this would be even difficult and a bit geeky, hey dont worry we have a solution for it use PXE. 

Now what is this PXE??

Wikipedia "The Preboot eXecution Environment (PXE, also known as Pre-Execution Environment, or 'pixie') is an environment to boot computers using a network interface independently of available data storage devices (like hard disks) or installed operating systems."

But how does it help?? :)

there can be different situations of installation for eg u only need to install one operating system on a machine this can be easily dome by using an image which is already stored on PXE server as i call it. or u might have a whole list of OS and other softwares which are  required to be installed/configured on every machine in the environment now how do i achieve this. The solution is configure once machine with all the required softwares into it and replicate this using pxe. its very simple just setup a PXE server which provides a sender-receiver mechanism i.e which can make once machine as sender and others receiver once its done you can relax and have your whole environment setup within 30mins or so, time would very on various issues including Network and Disk Size.

But how to design a PXE Server??

I would not write a how to as its already available on Internet i just don't want to duplicate things so you can now move to http://udpcast.linux.lu (this is really a gr8 open-source project) or https://wiki.koeln.ccc.de/index.php/Ubuntu_PXE_Install and configure your own PXE server just for an hint u need to install the following on services 1) tftp-hpa 2) dhcp3-server (u can use another machine as a dhcp server as well) 3) netkit-inetd 4) You might need to recompile the kernel to suit your requirements in case of any problems you can write to me :) this PXE system has helped me a lot many times, i have configured one such system today which worked on fine so i strongly recommend this but use it on your own risk a single mistake can wipe out your entire data or do something which you have never expected so it on your own risk

Tips by an Admin-Developer

By abhishek

WebApps we have been developing since long we code with utmost attention, we code securely. Here are certain tips which might prevent us from a few attacks, they cannot save us completely, if they could why will be need security experts

 

  • Always create an index.html or index.php in each directory which is publicly accessible. We generally create folders like config, includes etc but dont create an index file in these due to which a Directory listing is shown which shows all files under the directory, so make a habit to create index.html leave it blank no probs or i would suggest that write a redirecting script in it so that if by chance a normal user goes to the directory he is redirected without seeing any of your files. Hey even Wordpress Drupal Joomla subdirectories should be checked they dont contain index.html as a result u can view http://<yourblog>/wp-content/plugins easily if its a wordpress go go and create index.html there
  • Dont keep backups on the live server i.e on publicly accessible folders.
  • Turn Server Signature Off if you can do generally in shared hosting you cant do this.
  • Create a connector file to store db name and password do not put these in each of your files.
  • Dont make unnecessary directories on web servers.
  • Keep the database and files separately.


Enjoy

[ad#460]
 

Web Hosting

By abhishek

Websites Websites & Websites i am hosting since 8 years now my hosting plan is near expiry,so looking for some good deals available, in general i am not willing to move to a different hosting provider as this one is fine satisfy my hosting needs,and secondy if i change  i will have to shift all the data i am very lazy in doing this, but still i am open for change if i get some attractive offer today i searched around to find some of the plans discussed with my friends and came to a conclusion that i can stick to my current plan or go for Dream host, dreamhost would be a bit expensive still i can go for it they are providing some great services. lets see how this works out any ways i have to buy something either renew or shift to a new service.

Solah Sanskars

By abhishek

Enough of Technical Topics in this blog so thought of putting something non techie from Hindu Mythology.

Sanskaars (Sacraments)

Garbhadhaan Punsavanam Seemanto jaatkarm cha,
Naamkiiyaa Nishkramane annaashanam wapanakriyaa Karnavedho Brataadesho
Vedaarambhakriyaavidhih Keshaantam snaanmuddaho Vivaahagniparigrahah
Tretaagnishangrahacheti Sanskaaraa Shodasha smritaah

1. Grabhaadhan: Conception

2. Punsavana: Fetus protection

3. Simanta: Satisfying wishes of the pregnant Mother

4. Jaat-Karmaa: Child Birth

5. Naamkarma: Naming Child

6. Nishkramana: Taking the child outdoors

7. Annaprashana: Giving the child solid food.

8. Mundan or Choula: Hair cutting.

9. Karnavedh: Ear piercing

10. Yagyopaveet: Sacred thread

11. Vedarambh: Study of Vedas and Scriptures

12. Samaavartana: Completing education

13. Vivaah: Marriage

14. Sarvasanskaar: Preparing for Renouncing

15. Sanyas (Awasthadhyan): Renouncing

16. Antyeshti: Last rite, or funeral rites

br />