Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Search
Search
Appearance
Log in
Personal tools
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
GNC Examples
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Introduction to GNC == ''Note: this page assumes knowledge of the GNC script process and it's commands and parameters. Please have a full understanding of the [[Groovix NetCustomization]] page before continuing.'' === Starting a new GNC Script using the GNC template === When you are ready to make your own GNC update, run the following commands in an [[xterm]] window to create a copy of the gnc template: <font class="code"> <br> cd /var/www/groovix/gnc/updates/[customer]/ <br> gnc-new [updatename] <br> </font> where [customer] is your custom groovix version code (GX_VERSION= in /etc/groovix/groovix.conf), and [updatename] is the name of your update. A directory will be created at this new location containing the gnc file necessary to run the update. === Using the gncget command === The directory structure inside each GNC update should be treated as if it is the / (root) directory. When the gncget command is used, it copies and replaces files in the GNC update directory in the same directories as the actual / (root) directory. For example, to replace the <font class="code">/etc/network/interfaces</font> file on a machine, create the interfaces file in a <font class="code">etc/network/</font> directory under your update directory and use the gncget command <font class="code">gncget --mod=644 /etc/network/interfaces</font>. === Using the apt-get command === * The <font class="code">groovix-auto-apt-get install</font> command is used to download a package and install it on a local machine. This command can also be used to upgrade an already existing program to the most recent version. * The <font class="code">groovix-auto-apt-get remove</font> command is used to remove a program on a local machine.
Summary:
Please note that all contributions to GroovixWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
GroovixWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)