Category Archives: Ubuntu

Laranix: Just like Laragon

Having an issue with Laravel installer on Ubuntu, ended up writing small bash script which can: Create new Laravel project Change bootstrap/cache & storage to writeable Create VirtualHost automatically (using RoverWire/virtualhost) This small script similar to Laragon, but this one for Linux users. 🙂 Grab the script here to simplify your work with Laravel!

Ubuntu: LDAP – Install, Configure & Test

I’m using Ubuntu 12.04 LDAP: Install & Configure sudo apt-get install slapd ldap-utils Enter password: [SetY0urP@$$wOrD] dpkg-reconfigure slapd Omit OpenLDAP server configuration? No DNS domain name? domain.com | IP Address Organization name? My Organization Administrator password? Use the password during installation | Choose new one Database backend to use? HDB Remove the database when slapd… Read More »

Ubuntu: Add sudoers user

Edit sudoers file by running joe /etc/sudoers in Ubuntu – I’m using Joe Editor. Add users after root ALL=(ALL) ALL. Below is the sample – I’m giving root access to two users, nasrul & mohd.salleh.

SVN: Create New Repository in Ubuntu

Check SVNParentPath at /etc/apache2/mods-available/dav_svn.conf Go to the [SVNParentPath]: Create the project directory: The SVN repository can be created using the following command: And use the following commands to correct file permissions:

Ubuntu: ZIP a Folder Recursively

Run command sudo apt-get install zip in termintal to install the zip. Then run zip -r compressed_filename.zip foldername command to zip a folder recursively. Reference: http://askubuntu.com/questions/27349/how-do-i-compress-a-directory