-
Notifications
You must be signed in to change notification settings - Fork 0
Archive Trac setupnewuserongw106
madscatt edited this page Jun 20, 2026
·
1 revision
Legacy Trac archive page imported from
setupnewuserongw106. Source: https://genapp.rocks/wiki/wiki/setupnewuserongw106. Review age, links, and examples before treating as current.
= notes for setting up a new development testing user
- expire user
adduser USER
chage -d 0 USER
- add to .bashrc
export GENAPP=$HOME/genapp
export PATH=$GENAPP/bin:$PATH
- checkout
svn co svn://svn.genapp.rocks/svn/base/genapp genapp
svn co svn://svn.genapp.rocks/svn/base/genapptest USERtest
- copy directives, appconfig .templates to .json and edit
- mkdir tmp
- link webpage
cd /var/www/html
ln -s /home/USERLOGIN/USERtest/output/html USERtest
- edit httpd.conf and add user block at end
Alias /USERtest /home/pri.patra/USERtest/output/html5
<Directory /home/pri.patra/USERtest/output/html5>
Options Indexes FollowSymLinks
AllowOverride None
Order Allow,Deny
Allow from all
</Directory>
-
and kill -HUP httpd-pid
-
add user to group apache
-
add user to sshd_config allowusers
-
fix permissions for webserver (after one run genapp.pl)
cd ~
mkdir USERtest/output/html5/results
chmod g+w USERtest/output/html5/results
chmod -R g+r *
chgrp -R apache *
find . -type d | xargs chmod g+x
- editable one block
edit .bashrc
svn co svn://svn.genapp.rocks/svn/base/genapp genapp
svn co svn://svn.genapp.rocks/svn/base/genapptest USERtest
cd USERtest
edit json
genapp.pl
cd ~
mkdir USERtest/output/html5/results
chmod g+w USERtest/output/html5/results
chmod -R g+r *
chgrp -R apache *
find . -type d | xargs chmod g+x