Install scripts on network?
Hello!
I have a few scripts that I've written for my boss, who runs a photography studio. He has several computers in his office that will need to be using the scripts. Obviously, he has a network to share files and whatnot, is there any way to share scripts like this too? Maybe redirect where InDesign looks for the scripts? It's really a hassle, and impractical, to have to install and maintain them all individually.
I'm using JS and CS4, if that makes a difference.
Thanks in advance for your help!
Simply create a shortcut to the network folder with the scripts, and put that shortcut in the scriptspanel folder.
Done it one Mac, and works both in CS3 and CS4 over AFP. Dont know about PC but i think it's the same.
Thomas B. Nielsen
http://www.nobrainer.dk
Similar Messages
-
INSTALL ARCHLINUX (new installation system by Arch Install Script)
After many failed installations, I've resolved and written a mini-guide how to do an easy installation of Arch Linux. I've added it to Manualinux on point 44b.
However, I report it below, maybe could be useful to someone:
44b)INSTALL ARCHLINUX (new installation system by Arch Install Scripts)
Choice if install ArchLinux 32 or 64 bit, following type these commands:
-loadkeys it (choice your language)
-Use cfdisk to create your partitions
cfdisk /dev/sda o /dev/sdx
-Format Partitions Using mkfs and Create Swap
mkfs.reiserfs /dev/sda1
or
mkfs.ext4 /dev/sda1
mkswap /dev/sda2
-Reboot system with installation cd
reboot
-Mount Partition:
cd /
mount /dev/sda1 /mnt
-Make and mount swap partition:
swapon /dev/sda2
-Active wireless or ethernet connection
wifi-menu (choice your wireless connection, I suggest your to disable temporarely your password on router-modem)
dhcpcd (attach ethernet wire)
-Install Base System:
pacstrap /mnt base base-devel
-Install Grub2:
pacstrap /mnt grub-bios
-Install Syslinux:
pacstrap /mnt syslinux
-Generate fstab:
genfstab -p /mnt >> /mnt/etc/fstab
-Login to arch-chroot:
arch-chroot /mnt
-Install package wifi-select
ip link set wlan0 up
pacman -S wifi-select
-Configure Network:
vi /etc/rc.conf
add interface="eth0"
add interface="wlan0"
-Edit Hostname:
vi /etc/hostname
and add desired hostname
-Set Timezone:
ln -s /usr/share/zoneinfo/Europe/Rome /etc/localtime
-Generate Locale:
vi /etc/locale.gen
enable:
it_IT.UTF-8 UTF-8
it_IT ISO-8859-1
it_IT@euro ISO-8859-15
-Execute locale-gen on shell:
locale-gen
-Configure Kernel:
mkinitcpio -p linux
-Configure Bootloader:
grub-mkconfig -o /boot/grub/grub.cfg
grub-install --recheck /dev/sda
-Set root password:
passwd root
-Exit from arch-chroot:
exit
-Unmount Partition:
umount /mnt
-Reboot your system
reboot
-If ethernet wire is attached:
dhcpcd
-If you want configure wireless network:
ip link set wlan0 up
wifi-select (if you have not password on router-modem)
pacman -Syu kde wicd wicd-gtk (insert kdm wicd in /etc/rc.conf)
reboot system and configure your router wireless/wifi connection
Reinsert wireless password on your router/modem
Last edited by Pantera (2012-09-17 20:14:31)You don't need to install both grub and syslinux. You configure grub in "Configure Bootloader" so this step is unnecessary:
-Install Syslinux:
pacstrap /mnt syslinux
This next step doesn't configure the kernel, it creates an initramfs (see the Beginners' Guide):
-Configure Kernel:
mkinitcpio -p linux
Last edited by 2ManyDogs (2012-09-17 20:28:58) -
Archlinux (after fresh) Install Script
I want to share my archlinux install script dat i use after do a fresh install, if u have any idea of how to make it better pls post here
#!/bin/bash
# By helmuthdu
#custom repositories #{{{
read -p "Install custom repositories [y][n]: " OPTION
if [ $OPTION = "y" ]; then
echo -e '[ayatana]\nServer = http://repo.ayatana.info/' >> /etc/pacman.conf
fi
#system update #{{{
pacman -Syu
read -p "Reboot your system [y][n]: " OPTION
if [ $OPTION = "y" ]; then
reboot
fi
#create a new user #{{{
read -p "New user name: " USERNAME
useradd -m -g users -G users,audio,lp,optical,storage,video,wheel,games,power,scanner -s /bin/bash $USERNAME
passwd $USERNAME
#set user as sudo #{{{
pacman -S --noconfirm sudo
EDITOR=nano visudo
#install yaourt #{{{
read -p "Install yaourt [y][n]" OPTION
if [ $OPTION = "y" ]; then
pacman -S --noconfirm base-devel yajl
su -l $USERNAME --command="
wget http://aur.archlinux.org/packages/package-query/package-query.tar.gz;
tar zxvf package-query.tar.gz;
cd package-query;
makepkg --noconfirm -si;
cd ..;
rm -fr package-query*
su -l $USERNAME --command="
wget http://aur.archlinux.org/packages/yaourt/yaourt.tar.gz;
tar zxvf yaourt.tar.gz;
cd yaourt;
makepkg --noconfirm -si;
cd ..;
rm -fr yaourt*
fi
#base system #{{{
pacman -S --noconfirm curl bc rsync mlocate bash-completion vim
pacman -S --noconfirm gutenprint foomatic-db foomatic-db-engine foomatic-db-nonfree foomatic-filters hplip splix cups-pdf
pacman -S --noconfirm ntfs-3g ntfsprogs
pacman -S --noconfirm rssh openssh samba
#configure ssh/samba #{{{
echo -e "sshd: ALL\n# End of file" > /etc/hosts.allow
echo -e "ALL: ALL: DENY\n# End of file" > /etc/hosts.deny
cp /etc/samba/smb.conf.default /etc/samba/smb.conf
#ssh_conf #{{{
sed -i '/ListenAddress/s/^#//' /etc/ssh/sshd_config
sed -i '/SyslogFacility/s/^#//' /etc/ssh/sshd_config
sed -i '/LogLevel/s/^#//' /etc/ssh/sshd_config
sed -i '/LoginGraceTime/s/^#//' /etc/ssh/sshd_config
sed -i '/PermitRootLogin/s/^#//' /etc/ssh/sshd_config
sed -i '/StrictModes/s/^#//' /etc/ssh/sshd_config
sed -i '/RSAAuthentication/s/^#//' /etc/ssh/sshd_config
sed -i '/PubkeyAuthentication/s/^#//' /etc/ssh/sshd_config
sed -i '/IgnoreRhosts/s/^#//' /etc/ssh/sshd_config
sed -i '/PermitEmptyPasswords/s/^#//' /etc/ssh/sshd_config
sed -i '/X11Forwarding/s/^#//' /etc/ssh/sshd_config
sed -i '/X11Forwarding/s/no/yes/' /etc/ssh/sshd_config
sed -i '/X11DisplayOffset/s/^#//' /etc/ssh/sshd_config
sed -i '/X11UseLocalhost/s/^#//' /etc/ssh/sshd_config
sed -i '/PrintMotd/s/^#//' /etc/ssh/sshd_config
sed -i '/PrintMotd/s/yes/no/' /etc/ssh/sshd_config
sed -i '/PrintLastLog/s/^#//' /etc/ssh/sshd_config
sed -i '/TCPKeepAlive/s/^#//' /etc/ssh/sshd_config
pacman -S --noconfirm tar gzip bzip2 unzip unrar p7zip
pacman -S --noconfirm alsa-utils alsa-oss alsa-plugins
sed -i '/MODULES/s/MODULES=(/&fuse/' /etc/rc.conf
#install video driver #{{{
pacman -S --noconfirm xorg-server xorg-xinit xorg-utils xorg-server-utils xorg-xauth xf86-input-evdev xf86-input-synaptics
pacman -S --noconfirm mesa mesa-demos
read -p "Video driver (intel|nvidia|nouveau|virtualbox): " VIDEO
if [ $VIDEO = "intel" ]; then
pacman -S --noconfirm libgl xf86-video-intel
elif [ $VIDEO = "nvidia" ]; then
pacman -S nvidia nvidia-utils
elif [ $VIDEO = "nouveau" ]; then
pacman -S --noconfirm libgl xf86-video-nouveau nouveau-dri
modprobe nouveau
sed -i '/MODULES/s/^[^ ]*\>/& nouveau/' /etc/rc.conf
elif [ $VIDEO = "virtualbox" ]; then
pacman -S --noconfirm virtualbox-archlinux-additions
modprobe -a vboxguest vboxsf vboxvideo
sed -i '/MODULES/s/^[^ ]*\>/& vboxguest vboxsf vboxvideo/' /etc/rc.conf
groupadd vboxsf
gpasswd -a $USERNAME vboxsf
fi
#git access thru a firewall #{{{
#this config help me to bypass the company firewall for git access
TOR=""
read -p "config git access thru a firewall [y][n]: " OPTION
if [ $OPTION = "y" ]; then
su -l $USERNAME --command="yaourt -S --noconfirm gtk-doc openbsd-netcat vidalia privoxy git"
echo 'forward-socks5 / 127.0.0.1:9050 .' >> /etc/privoxy/config
echo -e '#!/bin/bash\nnc.openbsd -xlocalhost:9050 -X5 $*' >> /usr/bin/proxy-wrapper
chmod +x /usr/bin/proxy-wrapper
echo -e '\nexport GIT_PROXY_COMMAND="/usr/bin/proxy-wrapper"' >> /etc/bash.bashrc
export GIT_PROXY_COMMAND="/usr/bin/proxy-wrapper"
groupadd -g 42 privoxy
useradd -u 42 -g privoxy -s /bin/false -d /etc/privoxy privoxy
pacman -S --noconfirm tor privoxy
rc.d restart tor privoxy
su -l $USERNAME --command="sudo /etc/rc.d/tor restart"
su -l $USERNAME --command="sudo /etc/rc.d/privoxy restart"
TOR="tor privoxy"
fi
#install desktop environment #{{{
read -p "Desktop Environment (Gnome|KDE): " DE
#gnome #{{{
if [ $DE = "gnome" ]; then
#desktop #{{{
pacman -S --noconfirm gnome gnome-extra
pacman -S --noconfirm gamin pulseaudio-gnome gnome-tweak-tool telepathy deja-dup
pacman -S --noconfirm gnome-packagekit gnome-settings-daemon-updates
pacman -Rdd --noconfirm sushi
su -l $USERNAME --command="yaourt -S --noconfirm gloobus-sushi-bzr"
su -l $USERNAME --command="yaourt -S --noconfirm gnome-shell-system-monitor-applet-git gnome-shell-extension-noa11y-git gnome-shell-extension-weather-git gnome-shell-extension-user-theme gnome-shell-extension-workspace-indicator gnome-shell-extension-places-menu gnome-shell-extension-dock gnome-shell-extension-pomodoro gnome-shell-extension-mediaplayer-git"
#aparencia #{{{
su -l $USERNAME --command="yaourt -S --noconfirm faience-icon-theme elementary-icons"
su -l $USERNAME --command="yaourt -S --noconfirm zukitwo-themes light-themes-bzr egtk-bzr"
su -l $USERNAME --command="yaourt -S --noconfirm gnome-shell-theme-faience gnome-shell-theme-nord gnome-shell-theme-eos"
#acessórios #{{{
su -l $USERNAME --command="yaourt -S --noconfirm docky guake gpaste kupfer automounter"
su -l $USERNAME --command="yaourt -S --noconfirm gnome-activity-journal libzeitgeist zeitgeist-datahub zeitgeist-extensions"
su -l $USERNAME --command="yaourt -S --noconfirm gedit-plugins gedit-latex"
su -l $USERNAME --command="yaourt -S --noconfirm nautilus-open-terminal nautilus-terminal nautilus-dropbox gnome-defaults-list"
su -l $USERNAME --command="echo -e '[general]\ndef_term_height=10\ndef_visible=0\n\n[terminal]\nshell=/bin/bash' > ~/.nautilus-terminal"
#escritório #{{{
pacman -S --noconfirm libreoffice-pt-BR libreoffice-{base,calc,draw,impress,math,writer,gnome} libreoffice-extension-presenter-screen libreoffice-extension-pdfimport
pacman -S --noconfirm chmsee
#impressão #{{{
pacman -S --noconfirm system-config-printer-gnome
#graficos #{{{
pacman -S --noconfirm shotwell
#internet #{{{
#networkmanager #{{{
NETWORKMANAGER="network"
read -p "Install networkmanager [y][n]: " OPTION
if [ $OPTION = "y" ]; then
pacman -S --noconfirm networkmanager network-manager-applet
groupadd networkmanager
gpasswd -a $USERNAME networkmanager
NETWORKMANAGER="networkmanager"
fi
#multimedia #{{{
su -l $USERNAME --command="yaourt -S --noconfirm exaile exfalso transmageddon"
#arista #{{{
read -p "Install arista [y][n]: " OPTION
if [ $OPTION = "y" ]; then
su -l $USERNAME --command="yaourt -S --noconfirm arista-transcoder"
fi
#outros #{{{
pacman -S --noconfirm gksu gvfs-smb xdg-user-dirs
su -l $USERNAME --command="yaourt -S --noconfirm figlet cowsay conky-lua"
LOGINMANAGER=gdm
#KDE #{{{
elif [ $DE = "kde" ]; then
#desktop #{{{
pacman -S --noconfirm kde kde-l10n-pt_br yakuake
pacman -Rcsn --noconfirm kdenetwork-kopete kdemultimedia-kscd kdemultimedia-juk kdemultimedia-dragonplayer
#aparencia #{{{
su -l $USERNAME --command="yaourt -S --noconfirm chakra-gtk-config"
su -l $USERNAME --command="yaourt -S --noconfirm oxygen-gtk qtcurve-gtk2 qtcurve-kde4"
su -l $USERNAME --command="yaourt -S --noconfirm kfaenza-icon-theme"
su -l $USERNAME --command="yaourt -S --noconfirm yakuake-skin-plasma-oxygen-panel plasma-icontasks plasma-theme-caledonia kdm-theme-caledonia ksplash-caledonia bespin-svn"
# impressão #{{{
pacman -S --noconfirm kdeadmin-system-config-printer-kde
# escritório #{{{
pacman -S --noconfirm libreoffice-pt-BR libreoffice-{base,calc,draw,impress,math,writer,kde4} libreoffice-extension-presenter-screen libreoffice-extension-pdfimport
pacman -S --noconfirm kchmviewer
#graficos #{{{
pacman -S --noconfirm digikam kipi-plugins
#internet #{{{
pacman -S --noconfirm choqok
pacman -S --noconfirm telepathy-kde telepathy
#networkmanager #{{{
NETWORKMANAGER="network"
read -p "Install networkmanager [y][n]: " OPTION
if [ $OPTION = "y" ]; then
pacman -S --noconfirm networkmanager kdeplasma-applets-networkmanagement
groupadd networkmanager
gpasswd -a $USERNAME networkmanager
NETWORKMANAGER="networkmanager"
fi
#multimediaa #{{{
pacman -S --noconfirm amarok k3b dvd+rw-tools
su -l $USERNAME --command="yaourt -S --noconfirm vlc phonon-vlc"
su -l $USERNAME --command="yaourt -S --noconfirm minitube musique bangarang"
# sistema #{{{
su -l $USERNAME --command="yaourt -S --noconfirm kdirwatch kcm-wacomtablet quickaccess-plasmoid"
su -l $USERNAME --command="yaourt -S --noconfirm apper-git"
LOGINMANAGER=kdm
fi
#desenvolvimento #{{{
#qtcreator #{{{
read -p "Install qtcreator [y][n]: " OPTION
if [ $OPTION = "y" ]; then
pacman -S --noconfirm qtcreator qt-doc
mkdir -p /home/$USERNAME/.config/Nokia/qtcreator/styles
wget http://angrycoding.googlecode.com/svn/branches/qt-creator-monokai-theme/monokai.xml
mv monokai.xml /home/$USERNAME/.config/Nokia/qtcreator/styles/
chown -R $USERNAME:users /home/$USERNAME/.config
fi
#gvim #{{{
read -p "Install gvim [y][n]: " OPTION
if [ $OPTION = "y" ]; then
pacman -Rdd --noconfirm vim
pacman -S --noconfirm gvim meld splint tidyhtml pyflakes ctags wmctrl
su -l $USERNAME --command="yaourt -S --noconfirm jsl"
sed -i '/Icon/s/gvim/vim/g' /usr/share/applications/gvim.desktop
fi
#acessórios #{{{
read -p "Install wunderlist [y][n]: " OPTION
if [ $OPTION = "y" ]; then
su -l $USERNAME --command="yaourt -S --noconfirm wunderlist"
fi
#escritório #{{{
pacman -S --noconfirm aspell-pt
su -l $USERNAME --command="yaourt -S --noconfirm hunspell-pt-br"
read -p "Install Latex support [y][n]: " OPTION
if [ $OPTION = "y" ]; then
pacman -S --noconfirm texlive-latexextra texlive-langextra lyx
su -l $USERNAME --command="yaourt -S --noconfirm abntex"
fi
#ferramentas de sistema #{{{
pacman -S --noconfirm htop grsync
pacman -S --noconfirm wine wine_gecko winetricks
su -l $USERNAME --command="yaourt -S --noconfirm toilet figlet cowsay conky-lua-old"
read -p "Install Virtualbox [y][n]: " OPTION
if [ $OPTION = "y" ]; then
pacman -S --noconfirm virtualbox virtualbox-additions
su -l $USERNAME --command="yaourt -S --noconfirm virtualbox-ext-oracle"
modprobe vboxdrv
sed -i '/MODULES/s/^[^ ]*\>/& vboxdrv/' /etc/rc.conf
groupadd vboxusers
gpasswd -a $USERNAME vboxusers
fi
#graficos #{{{
pacman -S --noconfirm gimp inkscape uniconvertor python2-numpy python-lxml
su -l $USERNAME --command="yaourt -S --noconfirm xmind"
su -l $USERNAME --command="yaourt -S --noconfirm gimp-paint-studio gimp-resynth gimpfx-foundry gimp-plugin-pandora gimp-plugin-saveforweb"
#internet #{{{
pacman -S --noconfirm firefox firefox-i18n-pt-br thunderbird thunderbird-i18n-pt-br flashplugin
pacman -Rdd --noconfirm jre7-openjdk jdk7-openjdk
su -l $USERNAME --command="yaourt -S --noconfirm jdk"
su -l $USERNAME --command="yaourt -S --noconfirm google-chrome jdownloader"
LAMP=""
read -p "Install LAMP [y][n]: " OPTION
if [ $OPTION = "y" ]; then
pacman -S --noconfirm apache mysql php php-apache php-mcrypt php-gd
su -l $USERNAME --command="yaourt -S --noconfirm adminer"
rc.d restart httpd mysqld
/usr/bin/mysql_secure_installation
echo -e '\n# adminer configuration\nInclude conf/extra/httpd-adminer.conf' >> /etc/httpd/conf/httpd.conf
echo -e 'application/x-httpd-php php' >> /etc/httpd/conf/mime.types
echo -e '\n# Use for PHP 5.x:\nInclude conf/extra/php5_module.conf\nLoadModule php5_module modules/libphp5.so\nAddHandler php5-script php' >> /etc/httpd/conf/httpd.conf
sed -i 's/DirectoryIndex\ index.html/DirectoryIndex\ index.html\ index.php/g' /etc/httpd/conf/httpd.conf
sed -i 's/public_html/Sites/g' /etc/httpd/conf/extra/httpd-userdir.conf
sed -i '/mcrypt.so/s/^;//' /etc/php/php.ini
sed -i '/mysqli.so/s/^;//' /etc/php/php.ini
sed -i '/mysql.so/s/^;//' /etc/php/php.ini
sed -i '/gd.so/s/^;//' /etc/php/php.ini
su -l $USERNAME --command="mkdir -p ~/Sites"
su -l $USERNAME --command="chmod 775 ~/ && chmod -R 775 ~/Sites"
rc.d restart httpd mysqld
LAMP="httpd mysqld"
fi
#jogos #{{{
read -p "Install Games [y][n]: " OPTION
if [ $OPTION = "y" ]; then
read -p "Install Astromenace [y][n]: " OPTION
if [ $OPTION = "y" ]; then
su -l $USERNAME --command="yaourt -S --noconfirm astromenace"
fi
read -p "Install Maniadrive [y][n]: " OPTION
if [ $OPTION = "y" ]; then
su -l $USERNAME --command="yaourt -S --noconfirm maniadrive"
fi
read -p "Install World of Padman [y][n]: " OPTION
if [ $OPTION = "y" ]; then
su -l $USERNAME --command="yaourt -S --noconfirm worldofpadman"
fi
read -p "Install Wesnoth [y][n]: " OPTION
if [ $OPTION = "y" ]; then
read -p "Install Devel Version [y][n]: " OPTION
if [ $OPTION = "y" ]; then
su -l $USERNAME --command="yaourt -S --noconfirm wesnoth-devel"
else
pacman -S --noconfirm wesnoth
fi
fi
read -p "Install Simutrans [y][n]: " OPTION
if [ $OPTION = "y" ]; then
su -l $USERNAME --command="yaourt -S --noconfirm simutrans"
fi
read -p "Install Heroes of Newerth [y][n]: " OPTION
if [ $OPTION = "y" ]; then
su -l $USERNAME --command="yaourt -S --noconfirm hon"
fi
read -p "Install Tales of Maj'Eyal: Age of Ascendancy [y][n]: " OPTION
if [ $OPTION = "y" ]; then
su -l $USERNAME --command="yaourt -S --noconfirm tome4"
fi
read -p "Install Numptyphysics [y][n]: " OPTION
if [ $OPTION = "y" ]; then
su -l $USERNAME --command="yaourt -S --noconfirm numptyphysics-svn"
fi
read -p "Install Counter-Strike 2D [y][n]: " OPTION
if [ $OPTION = "y" ]; then
su -l $USERNAME --command="yaourt -S --noconfirm counter-strike-2d"
fi
read -p "Install M.A.R.S. [y][n]: " OPTION
if [ $OPTION = "y" ]; then
su -l $USERNAME --command="yaourt -S --noconfirm mars-shooter"
fi
read -p "Install SuperTuxKart [y][n]: " OPTION
if [ $OPTION = "y" ]; then
su -l $USERNAME --command="yaourt -S --noconfirm supertuxkart"
fi
read -p "Install OpenTyrian [y][n]: " OPTION
if [ $OPTION = "y" ]; then
su -l $USERNAME --command="yaourt -S --noconfirm opentyrian-hg"
fi
read -p "Install Warsow [y][n]: " OPTION
if [ $OPTION = "y" ]; then
su -l $USERNAME --command="yaourt -S --noconfirm warsow"
fi
read -p "Install Doukutsu [y][n]: " OPTION
if [ $OPTION = "y" ]; then
su -l $USERNAME --command="yaourt -S --noconfirm doukutsu"
fi
fi
#multimedia #{{{
su -l $USERNAME --command="yaourt -S --noconfirm gstreamer0.10-plugins pulseaudio"
su -l $USERNAME --command="yaourt -S --noconfirm libquicktime libdvdread libdvdnav libdvdcss codecs cdrdao"
su -l $USERNAME --command="yaourt -S --noconfirm xbmc"
read -p "Install midi support[y][n]: " OPTION
if [ $OPTION = "y" ]; then
su -l $USERNAME --command="yaourt -S --noconfirm timidity++ fluidr3"
echo -e 'soundfont /usr/share/soundfonts/fluidr3/FluidR3GM.SF2' >> /etc/timidity++/timidity.cfg
fi
#font #{{{
su -l $USERNAME --command="yaourt -S --noconfirm ttf-ms-fonts ttf-dejavu ttf-liberation ttf-kochi-substitute ttf-google-webfonts ttf-roboto"
read -p "Install patched font configuration [(i)nfinity][(u)buntu][(n)one]: " OPTION
if [ $OPTION = "i" ]; then
pacman -Rdd --noconfirm freetype2
su -l $USERNAME --command="yaourt -S freetype2-infinality"
wget http://www.infinality.net/files/local.conf
mv local.conf /etc/fonts/
elif [ $OPTION = "u" ]; then
pacman -Rdd --noconfirm cairo fontconfig freetype2 libxft
su -l $USERNAME --command="yaourt -S --noconfirm cairo-ubuntu fontconfig-ubuntu freetype2-ubuntu"
fi
# misc #{{{
#configure rc.conf #{{{
sed -i /"DAEMONS"/d /etc/rc.conf
echo "DAEMONS=(syslog-ng crond alsa sshd samba dbus cupsd $TOR $LAMP $LOGINMANAGER $NETWORKMANAGER)" >> /etc/rc.conf
echo "System configuration complete"
#reboot #{{{
read -p "Reboot your system [y][n]: " OPTION
if [ $OPTION = "y" ]; then
reboot
fi
Last edited by helmuthdu (2011-11-17 22:05:09)I appreciate the reply.
My fresh install from the DVD finished and the problem was still occurring. I'm now zeroing the data (one pass), per your suggestion. I'll then do an install of Leopard via Firewire, as I'm unable to start it from the DVD.
I'm curious how a bad install would prevent the computer from starting from a CD/DVD. I'm able to use the install CD/DVD in other computer without any problems, so I don't believe the physical disk is the issue. When I start while holding OPTION, and insert the DVD, it comes up as a boot-able option. Also, the disk image I initially used hasn't had any issues to date.
Thanks again,
Ben -
"Arch By Hand" UEFI GPT SSD LUKS Install Script
Arch UEFI GPT LUKS (and non LUKS version) Automated Install Example Script, SSD friendly
Please note that if you're going to use this you're going to have to a) customize it to fit your needs and b) know what system config you need to do post install (rc.* etc). It's a jumping off point.
Want to put in a lot of effort just to get Arch Linux listed in your "bios" startup options? You're in the right post! Well, it's more than just that, of course. If you have an EFI machine, increasingly common, this might be of interest.
I got this working on my x220 tablet and thought I'd post it here. I imagine that as Archboot and the official installer rev we'll see them support this kind of thing as well, so BBS seemed like a good place to post it, but if there is an appropriate wiki location I could add it there as well.
This is pretty bare bones (otherwise you'd be using AIF or Archboot, natch) and should be customized for your own install purposes. Nonetheless, I suspect others may have been banging their heads on the low overhang of UEFI/GPT install and hope this helps them get up and running.
This is pretty much all in the wiki and BBS in various places, particularly the GRUB2 wiki entry. However the GPT partitioning (and learning more of sgdisk) were challenging enough that I felt it would be useful for others to see a working script.
I used the current-as-of-this-post Archboot iso (archlinux-2011.10-1-archboot.iso).
Don't just dd the archlinux iso to a usb. Format the USB stick as an MBR FAT drive and dump the entire Archboot ISO contents to it. To be honest, I did this in an Ubuntu vmware image I had on my mac, though I'd like to include command line options for doing this. TODO!
I also stuck the script (included herein) on the drive, but you could get it on the installation image at install time as well via scp or whatever you prefer.
On my x220 I then set the UEFI "BIOS" (the UEFI setup) to boot *ONLY* from UEFI. Pretty important. You should probably also stack your USB drive to top of your startup list or manually select it at boot time.
Boot from the USB stick. For my x220 I selected the second of the four efi grub options, x86_64.
Once Archboot is up, immediately leave the installer (option 8)
You may want to mount the usb drive to /src if you stuck this script on it. Archboot in UEFI mode doesn't seem to mount the usb drive properly (and the normal Archboot efi install will fail as well due to this). I think this is getting fixed in the next Archboot release, from what I've read on BBS.
# mount /dev/sdb1 /src
Run the script. For me this is
# /src/myarch.sh
(WARNING: will nuke everything on /dev/sda unless you've changed it).
There are probably things that could be done better/cleaner, feel free to point those out. This is really just a jumping off point.
UPDATE 15 NOV 2011: This now sources most packages locally to avoid kernel mismatch between install medium and install target.
UPDATE 16 NOV 2011: Script now unified the boot and efi partitions.
UPDATE 17 NOV 2011: Migrated code to github, including two versions (non-encrypted and LUKS-encrypted)
UPDATE 18 NOV 2011: Added encrypted swap
UPDATE 18 NOV 2011: Changed /boot/efi/grub to /boot/grub; removed extraneous /boot/efi directory entirely.
UPDATE 19 NOV 2011: Added a post-install script to handle user setup, etc. No reboot required.
UPDATE 20 NOV 2011: Post install section more complete, visudo automation added.
See code at: https://github.com/altercation/arch-by-hand
Last edited by altercation (2011-11-20 21:09:33)I've come up with this script (although it's not quite right either):
#!/bin/bash
# prereqs:
# mount /dev/sdb1 /src
set -o nounset
#set -o errexit
INSTALL_TARGET="/mnt"
HR="--------------------------------------------------------------------------------"
# Initialize
# Warn
timer=9
echo -n "This procedure will completely format /dev/sda. Please cancel with ctrl-c to cancel within $timer seconds..."
while [[ $timer -gt 0 ]]
do
sleep 1
let timer-=1
echo -en "$timer seconds..."
done
echo "Starting"
# Configure_Host
echo -e "\nFormatting disk...\n$HR"
# disk prep
sgdisk -Z /dev/sda # zap all on disk
sgdisk -a 2048 -o /dev/sda # new gpt disk 2048 alignment
# create partitions
sgdisk -n 1:0:+250M /dev/sda # partition 1 (UEFI BOOT), default start block, 250MB
sgdisk -n 2:0:+2G /dev/sda # partition 2 (SWAP), default start block, 2G
sgdisk -n 3:0:+100M /dev/sda # partition3, (BOOT), boot partition
sgdisk -n 4:0:+10G /dev/sda # partition 4, (ARCH), default start, remaining space
sgdisk -n 5:0:0 /dev/sda # partition 5, (HOME)
# set partition types
sgdisk -t 1:ef00 /dev/sda
sgdisk -t 2:8200 /dev/sda
sgdisk -t 3:8300 /dev/sda
sgdisk -t 4:8300 /dev/sda
sgdisk -t 5:8300 /dev/sda
# label partitions
sgdisk -c 1:"UEFI BOOT" /dev/sda
sgdisk -c 2:"SWAP" /dev/sda
sgdisk -c 3:"BOOT" /dev/sda
sgdisk -c 4:"ARCH" /dev/sda
sgdisk -c 5:"HOME" /dev/sda
# make filesystems
echo -e "\nCreating Filesystems...\n$HR"
mkfs.vfat /dev/sda1
mkswap /dev/sda2
mkfs.ext2 /dev/sda3
mkfs.ext4 /dev/sda4
mkfs.ext4 /dev/sda5
# Run /arch/setup
echo -n "Don't select Grub as your bootloader and exit setup before the Install Bootloader step"
/arch/setup
# unmount filesytems
umount /dev/sda1
swapoff /dev/sda2
umount /dev/sda3
umount /dev/sda5
# Get Network
echo -n "Waiting for network address.."
#dhclient eth0
dhcpcd -p eth0
echo -n "Network address acquired."
# Update Pacman
echo -e "\nUpdating pacman...\n$HR"
sed -i "s/^#S/S/" /etc/pacman.d/mirrorlist
pacman --noconfirm -Sy
pacman --noconfirm --needed -S pacman
pacman --noconfirm -S gptfdisk btrfs-progs-unstable
# Prepare to chroot to target
mv ${INSTALL_TARGET}/etc/resolv.conf ${INSTALL_TARGET}/etc/resolv.conf.orig
cp /etc/resolv.conf ${INSTALL_TARGET}/etc/resolv.conf
sed -i "s/^#S/S/" ${INSTALL_TARGET}/etc/pacman.d/mirrorlist
mount -t proc proc ${INSTALL_TARGET}/proc
mount -t sysfs sys ${INSTALL_TARGET}/sys
mount -o bind /dev ${INSTALL_TARGET}/dev
echo -e "${HR}\nINSTALL BASE COMPLETE\n${HR}"
# Write Files
# install_efi (to be run *after* chroot /install)
touch ${INSTALL_TARGET}/install_efi
chmod a+x ${INSTALL_TARGET}/install_efi
cat > ${INSTALL_TARGET}/install_efi <<EFIEOF
mount /boot
mount /boot/efi
modprobe efivars
modprobe dm-mod
pacman --noconfirm -Sy
pacman --noconfirm --needed -S pacman
pacman --noconfirm -R grub
pacman --noconfirm -S grub2-efi-i386
grub_efi_i386-install --root-directory=/boot/efi --boot-directory=/boot/efi/efi --bootloader-id=grub --no-floppy --recheck
efibootmgr --create --gpt --disk /dev/sda --part 1 --write-signature --label "ARCH LINUX" --loader "\\EFI\\grub\\grub.efi"
grub-mkconfig -o /boot/efi/efi/grub/grub.cfg
exit
EFIEOF
# Install EFI
chroot /install /install_efi
rm /install/install_efi -
Search for ZfD Agent install script
I am looking for a script / batch file for installation of the ZENworks agent without reboot of the workstation.
I am just updating from ZfD 7 SP1 ir3a to ir4 and if I install it manually and start the ZENworks services after install everything is still operational without reboot.
However if I install the agent with a ZENworks application package it always needs a reboot to activate the ZENworks services again - especially the Workstation-Manager
I tried it with pre- and post launch and distribution scripts, and with batch file installation. Everytime when the Workstation-Manager stops the installation ends but the post-scripts and batch processing stops as well. It always requires a reboot to activated the Agent again - or a manual start of the Workstation-Manager service.
I need to find just a way to call a batch file after the MSIEXEC process finishes in order to perform a "net start Workstation-manager".
The difference to other invoronments might be, that the Application is assigned to the Workstations instead to the users like in most other environments.
Thanks for your ideas, KlausWell .... [toot horn]
This is a link to a script I wrote in AutoIt that I used for many ZfD6 - 7 deployments. Was very successfully in getting the agent out and you run it from the login script.
Zenworks 4x - 7.x Workstation Agent Automated Deployment - Novell: ZENworks FAQ - Tek-Tips
I didn't write it to do a removal of the agent, but would be simple enough to be added. On the same forum site, in the Zen FAQ's I also posted the source code for the script I have been using to do ZCM deployments. In it has the code you would need to add to facilitate the uninstall of the agent so you can do a reinstall.
Originally Posted by Croaker
You may need put *everything* in a single batch file.
I.e. app copies the zfdagent.msi to the workstation (it won't work off a
server, because as soon as you stop the workstation helper/manger, the
workstation will lose the ability to install from the network)
Then executes the batch file
The batch file stops the zenworks services, unloads the NAL (may not be
necessary, not sure if the msi will do this)
Batch file then installs the ZFD agent with the noreboot option.
batch file restarts each service
Problem will be the batch file really can't re-start the nal correctly.
Since the batch file will be running under the SYSTEM scope, anything it
launches will be under that scope too (ie.. the NAL), so when it loads, it
wouldn't see any user-based apps.
>>> On 7/1/2009 at 10:36 AM, in message
<[email protected]>,
dgibbons<[email protected]> wrote:
> I would like to echo your question. I have a problem right now in
> whichupgrading the agents from ZfD 7 SP1 ir3a to ir4 will break the agent
> andthe only way I can recover is to manually uninstall the agent,
> rebootand reinstall with ir4. I have not yet been successful in scripting
> it(but then I am not that smart when it comes to scripting either) so
> ifanyone has a good solution I too am very much wanting a method
> thatworks. Thanks
> Darcy--
dgibbons--------------------------------------------------------------------
----dgibbons's Profile:
> NOVELL FORUMS - View Profile: a10425 this thread:
> Search for ZfD Agent install script - NOVELL FORUMS -
It's Christmas day, and I just got an IPOD Video and tried to install the software for it and ran into a whole mess of problems.
I tried to install ITunes 7 & Quicktime 7, but every time I try I get an error at the end of the installation saying something about a missing Install Script error and that i need to run "ISScript.msi" or contact support.
I have no idea what to do, and tried to find that file on microsoft.com, but the onlyint that comes up is "Virtual PC 2004" and not how to install it, but work around it.
any suggestions?The Install script engine on this machine is older than the version required to run this setup. If available, please install the lastest version of ISScript.msi or contact your support personnel for further assistance.
okay, let's try installing a version 11, using the instructions from the following InstallShield document:
Update to the Latest InstallShield Installation Engines
is that one of any help with the error message? -
"Error" in ApEx install scripts for runtime environment?
I recently installed a runtime ApEx 3.1 on a 10.2.0.1.0 database. After installing an application which uses the Database Account Credentials method for authentication I was unable to login to the application, getting an ERR-10480 message. After some research on this forum I granted ALTER USER to FLOWS_030100 which resolved the issue. So far so good.
But I was still puzzled as to why the application had worked without problems in a development environment and not in the runtime environment. It took only a few minutes to locate the problem though. In the runtime-install script "apxrtins.sql" there is a call to the "runtime_grant_revoke.sql" script which removes unnecessary DBA system privileges for a runtime environment (which is a good thing IMO). In this script there is also a REVOKE ALTER USER statement, but it seems this one is needed if your application uses the DBACCOUNT authentication method. I didn't find anything on this in the documentation.
Anyone else notice this as well? I would think this is a bug in the install-scripts but perhaps I'm missing something somewhere?Tim,
Thanks for reporting this. In database server versions earlier than 10.2.0.3, the alter user privilege is required for the "flows" schema to support the feature you mentioned. We'll try to get this fixed in the next patch release.
Scott -
Sun MC Automated Install Script failing 50% of the time
Are there a set of tips in general for the script; or perhaps tips for the contents of the boom.cfg file to help increase the percentage of successful installs?
Thanks, [email protected]Hi Mike,
In most of the SunMC autoinstall projects I've worked on, we ended up implementing 3 slightly different install/setup config files: one for 12-25k's, one for 3800-6900s, and one for "everything else". Then we put a bit of smarts in the main install script to decide which to use. The questions for each of those groups were different enough that it made sense to break them apart.
Are you using the base es-inst/es-setup commands? es-imagetool and agent-update.bin? es-makeagent? Some notes here: http://forums.halcyoninc.com/showthread.php?t=389 . Send me an email if you need help getting things off the ground.
Regards,
[email protected] -
Should/can the install script included in source=() list?
Hi,
It is a good thing that the sources needed to build a package are md5summed for integrity, but in most packages the install script is not. I was thinking why this might be - the PKGBUILD can be expected to modify the script?
So to try, in one of my packages I added the install script to the source=() list. The package builds of course just fine. Then, however, if I want to upload it to AUR, I try to make a source-only package with "makepkg --source", which brakes with something like this:
ln: creating symbolic link `/tmp/foo/srclinks.YjYgQ8XlE/foo/foo.install': File exists
This is because makepkg tries to create a 2 symbolic links with the same filename: one link for the "foo.install" in the source=() list and also for the install=() list....
Is this deliberate, or a bug? Looks more like a bug to me, but thought I better ask first....
Cheers,
Gregshining wrote:
imrehg wrote:
It might be completely internal to the pacman but defines actions taken on the system - thus whatever is in .install has effects just like the rest of the files, maybe even more: the other files are just copied, the .install is executed.
And while it might never get installed on the system, it's internals are - how else one could define a "post_uninstall()" if it wasn't stored? Being pacman developer you know much more about this than I do, can you give a bit of info on that?
Right it is installed to pacman database, but again, it is pacman doing all that.
Fair enough.... The detail, however, that is not installed does not preempt checksumming. Eg. patches are also: 1) used for the package, 2) not installed, and 3) still in the checksum....
shining wrote:
All I'm trying to get to, is there any serious reason (technical, not philosophical) NOT to checksum the install script as well? Because I'm yet to see any valid arguments against it, and there are loads for it....
Taking your example from kernel26 :
-i $startdir/kernel26.install
-i ${pkgdir}/etc/mkinitcpio.d/${pkgname}.preset
Note that the scriptlet edited is the original one in $startdir , because that's the only place where it needs to be, from the packager pov.
While for the preset file, it needs to be copied to $pkgdir and it is edited there.
If you had a checksum for the scriptlet, it would also mean that makepkg -g output could be altered after running makepkg. Very weird..
Ok, this is indeed the case. But if you look at real packages, it seems that after the package is compiled, many times they update the PKGBUILD with the new md5sum values. Again: core/kernel26.
That .install update section in the PKGBUILD is then relegated to a "helper function" role that keep the information in sync when there's a new release, but as the PKGBUILD is distributed, it won't change anything in the .install anymore...
Thus, again, there's no real difference between the .install files and other files used as source.
shining wrote:Btw the whole scriptlet file could be created entirely from the pkgbuild build function.
Sure, and that's a great thing! I actually wondered why so many packages have separate .install when it can be done in the PKGBUILD. Thought it might be some convention, but probably just habit.... I prefer doing it in the PKGBUILD as well, whenever possible...
shining wrote:There might be ways to fix that, though I don't even see any good ones. But why bother ? You said there are loads of valid arguments to have it , but you didn't even give one !
On the other hand, I'm yet to find any of your rebuttals that are not rebutted here again...
shining wrote:What are you worried about here ? Security ? If you think adding a checksum for the install file is going to give you any security, you are badly fooling yourself. If someone is distributing a malicious pkgbuild, it can contain the md5sum of the malicious scriptlet which is shipped with it.
I think you misunderstood me. I'm not complaining, but inquiring. The PKGBUILD system is awesome, and it makes me search out programs that I use but not in the repo/AUR so that I can make a new package. But also, I'm interested in the "how" and "why", and hope to improve things if possible. Now, to me it seems theres an unreasonable distinction to checksum some files needed for a package but not all of them. And thus I set out to ask the elders here on the Forum to see whether someone can shed light on the reasons of the current state. Not trying to piss of anybody, but being interested.
Of course the md5sum is not security, it's a help, nothing more.
As an example: some time ago, there was a package in the community (thus managed by TUs) that had an update. I wanted to check out something in the package, got the PKGBUILD and tried to make it myself - md5sum says that the sources are incorrect.... Obviously something must have gone very bad, because the md5sum field was updated according to the SVN, the package is available on pacman thus it had to build, and the sources used in the package have not been changed for a while so that cannot be a problem....
I've got a package from a trusted source and it is broken, the md5sum told me. So the breakage can be the very same way in the install script, why is the md5sum not allowed to tell me that?
shining wrote:The only security for pkgbuilds is yourself. When you get one from a strange place, you MUST read the pkgbuild/install files.
Of course, never argued against it. But there are different layers of verbosity....
Anyway.... -
Using subsitiutions in the install scripts
This should be pretty obvious, but I can't find the answer in the documentation.
Using Apex 3.1.2, in the Shared Objects, I've created a substitution named "TABLESPACE". The application uses a set of tables, the install should create these tables, and DBA have funny ideas about where these tables should be created, so I'd like to offer the option of having the install process ask for and use the TABLESPACE.
So I create an install script called "create tables". The script text has the following:
CREATE TABLE table1 (ID NUMBER, NAME VARCHAR2(30))
TABLESPACE ??;
So how do I use the TABLESPACE substitution value in the install script above? Use "&TABLESPACE:", use ":TABLESPACE"?
Edited by: tjoneslo on Nov 25, 2008 11:56 AMTo answer my own question. The install scripts are run as sql (or pl/sql) statements. You can access the pre-defined substitution strings via the v('NAME') parameter call (e.g. v('APP_USER')) but the application substitution strings, even though we are prompting for them, are not available.
Which would make for a good enhancement. -
Install Solaris10 over network.
I have one sinfire v245 box which is in remote location (DR site). I want to install Solari10-u5 on it.
I can't travel to remote site due to some restriction.
Presently Solaris10-U1 is installed in the box.
I have telnet/SSH access to Solaris-OS, and i have SSH access to it's "Advanced Lights Out Manager".
There is no one in remote location who can insert Solaris10-u5 media.
In this situation, is there anyway that i can freshly install Solaris10-u5 on it ?Ok. I learned the way how to install Solaris over network.
I have created a install server on another solaris box, the client and this box are in the same network.
I am trying to install the client, i am getting this error on the client continuously . Any idea how to solve this ?
ar_entry_query: Could not find the ace for source address <IP_Address>
ar_entry_query: Could not find the ace for source address <IP_Address> -
Supporting Object Install Scripts - populate clob table
All
Before I delve into exactly how I thought I'd ask the forum if anyone had packaged up an install script to populate a table with a clob column?
I have an app that I am finishing up and the one remaining table has a clob column which obviously doesn't make for simple SQL inserts due to the CLOB type.
Thanks in advance
PhilHi Vadimon,
Thanks for reporting this, however I am struggling to reproduce the issue.
I created an application with 2 installation scripts (1 without a condition and 1 with a condition set to NEVER), then imported this into a 4.1 instance installing supporting objects. Here, only the 1 without a condition executed, as expected. I then created 2 upgrade scripts (again 1 without a condition and 1 with a condition set to NEVER), then re-imported this to upgrade the application. Again, only the 1 without a condition executed, as expected.
Would you be able to send me an export of an application where this reproduces, or provide the steps you took to reproduce this?
Regards,
Anthony. -
I am creating an image with System Utility. One module i can add is called "Add Packages and Post-Install Scripts".
I put one of my scripts in it:
#!bin/sh
defaults write /Library/Preferences/com.apple.loginwindow LoginwindowText "Hello"
But I get an error when trying to image saying "install setup failed: run postinstall script"
I know the script works because i tested it.
Any ideas?probably not…
try using the defined installer variables instead of a specific path. there's a quick rundown here, though there's probably better documentation of it elsewhere: http://tinyurl.com/yejppmm
basically, you probably want $3:
$1: Full Path to Package
$2: Full Path to target installation directory: /Applications
$3: Mountpoint of installation disk: / or /Volumes/External_Drive
$4: Root directory of currently booted system
your script may be failing because the installer is trying to run it on the booted volume, which won't work. you want it to apply to the restored/newly installed volume. -
The need to install Arch over network?
When I install Arch, I need to connect to network and use pacstrap to get the packages according to the relative wiki pages.
Could I install Arch without network connection? Which command I can use to do that, say, pacman?
Why don't we provide a CD such as Ubuntu did?
My previous questions:
pacman base base-dev returns ERROR: /mnt is not a mountpoint!
When install arch, how to avoid sleep or hibertate state
order question on language,internet connection and Mount the partition
wiki:
Beginners' Guide
Last edited by photon (2012-11-18 13:05:56)Awebb wrote:
Max-P wrote:TL;DR: Just download the packages you need and put that on some media and install with pacman -U.
Which will break dependencies, unless you go all the way and install package by package with --asdeps.
Not if you install them all at once in one command. Also works if you install them in the correct order, but just dumping all the packages in the command line fixes it because pacman reads all the package first, check depencies afterward. That way, it will see you install 100 packages, all depencies met -> no problem.
Awebb wrote:And, err, if what you want to say can be said in one line, why all the text?
Because the longer text:
Explains why Arch can't have big disk images with all packages preinstalled on it
Explains why having the packages isn't that useful in most cases (example of the 1.2Gb update)
Offers multiple ways to store the packages:
Put extra packages on another media or network share
Expand the original CD image and put them directly on the Live CD
Tells where to go for the currently downloaded packages for easy access
Plus, finally, offers an alternative way to install the system: pre-build it in a VM or chroot and just untar on the target machine(s)
The one-line version doesn't talk about all that and suggest the direct way to do it quickly, but it acts more like a summary. Next time learn to read before complaining, thanks. -
How to install scripts in InDesign
Installing Script In design
Hello,
Thank you for your post.
I am afraid that the issue is out of support range of VS General Question forum which mainly discusses
the usage of Visual Studio IDE such as WPF & SL designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System
and Visual Studio Editor.
It seems that InDesign is Adobe product, so I suggest consulting your issue on Adobe InDesign help:
https://helpx.adobe.com/indesign.html for better support.
Thanks,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.
Maybe you are looking for
-
Error while entering transaction for a new customer in release 12.1.1
Hi, I created a new customer in receivables (am using the version 12.1.1) First i got an error while creating the customer saying, "Provide a positive integer for minimum customer balance amount or percent when balance amount overdue type is amount o
-
Multiple Docs in Single Window
I annotate lots of PDFs for my research. Therefore, when I write I have multiple windows open corresponding the documnets I am currently consulting. It would be a great improvement to be able to have those documents appear as tabs within a single win
-
Socks5 Proxy in Mail.app
So this is some background. I'm a Peace Corps volunteer living in Samoa. I have a powerbook, and my roommate just purchased a Macbook Pro --- a very nice machine. We work at the National University and get our internet access through a connection in
-
Hi, I have a problem. A PL/SQL code was running fine in 9i as per the required output(dbmsoutput) ,is not working in 10g. The following is the PART OF THE CODE. In 9i database the output reaches till 'TEST5' but not in 10gdatabase,where it reaches ti
-
How to eliminate "deleted" images from the .key package?
I've noticed that sometimes, when I delete an image (or movie) from a keynote file, it disappears from the slide show... but the actual image (or movie) file remains in the keynote package. If those images (or movies) are large, it creates enormous u