- Undeploy the project
- Restart the Glassfish server
- Clean and build project
- Deploy project to Glassfish server
These steps work using the following configurations:
- Netbeans 7.4 and Glassfish 4.0
- Netbeans 8.0 and Glassfish 4.0
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private int id;
$ sudo mkdir /testrepo12. Change group of repository directory to group used by developers that will be using this repository
$ sudo chgrp -R git /testrepo13. Change default permissions on directory so that all new files will be crated with the new group
$ sudo chmod g+rws /testrepo14. Initialize empty Git repository
$ sudo git --base /testrepo1
$ cd /testrepo1
$ git --bare init --shared=group
sudo apt-get install lamp-server^
mysql -u root -p
CREATE DATABASE dbjoomla;
CREATE USER joomlauser;(Change <password> to the password of your choice)
SET PASSWORD FOR joomlauser = PASSWORD("<password>");
GRANT ALL PRIVILEGES ON dbjoomla.* TO joomlauser@localhost IDENTIFIED BY '<password>';
FLUSH PRIVILEGES;
exit
wget http://joomlacode.org/gf/download/frsrelease/17965/78414/Joomla_3.0.3-Stable-Full_Package.zip
sudo unzip -q Joomla_3.0.1-Stable-Full_Package.zip -d /var/wwwYou will want to remove the index.html that exists in /var/www by default
sudo chown -R www-data.www-data /var/wwwInstall joomla 3.0 from a browser by typing http://[hostname]