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!
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 »
Set SVN Text Editor Add Directory to Ignore List
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.
sudo htpasswd /etc/subversion/passwd username New password: ******* Re-type new password: ******* Adding password for user username OS: Ubuntu 12.04 LTS
Zip a directory recursively Unzip a directory
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:
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