Skip to main content

Posts

Showing posts with the label ubuntu

PHP Curl and You

I have 2 servers which I wanted to talk to each other, one is a web server running Ubuntu and the other a Windows Server 2008. My task was to be able to create Active Directory users using PHP and from what is available, I found a very neat library for PHP called adLDAP . It had all the necessary functions needed to manage your Active Directory save for the very troublesome fact that you need to use LDAP over SSL in order for the module to be able to create accounts and change passwords. Everything else works without LDAP over SSL. At first I was trying my hand out in making it work without the LDAP over SSL. But after some research, I found out that it is required by Windows Server itself to accommodate account creation. Knowing a bit about certificates and on how modern browsers typically screws over displaying the page due to those 'certificates cannot be verified' errors, I had little choice in this matter. At first I thought maybe that error prompt could be a minor nui...

Desktop GUI on Ubuntu Server

If you're one of those people who'd prefer to install Ubuntu Server for your server needs but is pretty much stumped on all the command line witchcraft. Heres a quick tip on getting your fix on the GUI life. Login to your account and just type sudo apt-get update sudo apt-get install ubuntu-desktop It will check for the packages which needs to be installed and as you answer yes, it will download it from the net and you'd have to manually invoke to get to the desktop. startx