Koozali.org: home of the SME Server
		Obsolete Releases => SME Server 7.x => Topic started by: cjvrensburg on January 06, 2010, 01:33:29 PM
		
			
			- 
				Hi,
 
 I am trying to install SQUIDGUARD on my SME SERVER.
 following these instructions  http://wiki.contribs.org/SquidGuard#References
 But I can't seem to install the DAG Repository
 it fails with error 225 in WINSCP
 
 I dont know if you can maybe help me
 
 regards
- 
				From the SME dag repository (http://wiki.contribs.org/Atftp_server#dag_Repository) page, you need to run the following TWO commands (the first command extends over 9 lines because of the back slashes at the end of the first 8 lines):
 
 /sbin/e-smith/db yum_repositories set dag repository \
 Name 'Dag - EL4' \
 BaseURL 'http://apt.sw.be/redhat/el4/en/$basearch/dag' \
 EnableGroups no \
 GPGCheck yes \
 GPGKey http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt \
 Visible no \
 Exclude freetype,htop,iptraf,rsync,syslinux \
 status disabled
 
 signal-event yum-modify
 
 On my SME servers, I do this as follows:
 
 1) Use putty (http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html) to login to my SME server as root
 2) copy all of the above code to my system clipboard
 3) move the mouse cursor over the putty window and right-click to paste the system clipboard to the command prompt on my SME
 4) verify the results usingdb yum_repositories show dag
 The resulting output should look like:
 dag=repository
 BaseURL=http://apt.sw.be/redhat/el4/en/$basearch/dag
 EnableGroups=no
 Exclude=freetype,htop,iptraf,rsync,syslinux
 GPGCheck=yes
 GPGKey=http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt
 Name=Dag - EL4
 Visible=no
 status=disabled
 
- 
				But I can't seem to install the DAG Repository
 it fails with error 225 in WINSCP
 
 AFAIK WinSCP is not a shell, but a file browser/transfer tool. It does not accept commands line the ones to install DAG. You should SSH (PuTTy is a nice tool for that indeed).
- 
				Mine looks like this - the VISIBLE command is not here
 i can't get squidguard installed
 
 dag=repository
 Exclude=freetype,htop,iptraf,rsync,syslinux
 Name=Dag -EL4
 baseurl=http://apt.sw.be/redhat/e14/en/$basearch/dag
 enablegroups=no
 gpgcheck=yes
 gpgkey=http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt
 status=disable
 
- 
				Thanks for all the help i got it done!!!!
 
 Just re did every step, and is working now