Browsed by
Category: Ubuntu

Laranix: Just like Laragon ?>

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 ?>

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 is purged? No Move old database? Yes Allow LDAPv2 protocol? No joe /etc/phpldapadmin/config.php (i’m using joe text editor, you may use the default text editor…

Read More Read More

Ubuntu: Add sudoers user ?>

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.

Ubuntu: ZIP a Folder Recursively ?>

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