Showing posts with label upgrades. Show all posts
Showing posts with label upgrades. Show all posts

2018/04/24

new install to-do list

this post is a work in progress:

after installing slackware, things to do besides the normal setup like configuring network card:

copy ssh keys from old install
copy /etc/sshd config?
copy .bashrc from old home install or the entire home directory
user groups review? (seems like its no longer needed under Slackware 14.2)
xorgsetup ? only if needed
compat32
libreoffice ?
wine?
firefox 40 (yes I stick to this version until Firefox can fix newer versions problems).


kde: fix nasty konsole prompt, edit Shell: /bin/bash -l


2017/04/30

new FB Stylish for Firefox

FB did a major change on their web site so many Id and classes were changed, old Stylish template doesnt work anymore as it used to be. So here's my first attempt to rewrite it:

*(Updated 20170801)

@namespace url(http://www.w3.org/1999/xhtml);

@-moz-document domain("www.facebook.com") {
.groupSkyAux,
#pagelet_pymk_timeline,
.contentArea,
.rightCol,
#pagelet_rhc_footer,
#appsNav,
#outdatedBrowserBanner,
.fbPageBannerInner,
#u_jsonp_8_n,
._1vc-,
.ego_section,
.mts,
.home_right_column,
#substream_0
{background:none !important;display:none !important}

.textInput
{color:black !important;}


}

2016/10/18

MongoDB 3.2 on Slackware 14.0

Slackbuilds already have premade packages for MongoDB but the problem is, sometimes they are outdated. Some people might not want to upgrade their Slackware installation, and since I'm in such situation, here is my recipe

  1. grab the aproppiate MongoDB from Slackbuilds to your version of Slackware. 
  2. install it as usual with upgradepkg --install-new, but dont start it now
  3. grab binaries from https://www.mongodb.com/download-center
  4. unpack them
  5. overwrite unpacked binaries in /usr/bin
  6. and now you can start the server and restart Apache if needed

2013/07/05

MySql post installation slackware

After installing MySql from source under Linux Slackware it may be a problem to have old binaries lying around in /usr/bin

here is my solution:

create an script and execute it from /usr/local/mysql

#!/bin/bash
for i in bin/*
do
echo -n "$i: "
echo
rm /usr/$i
ln -s /usr/local/mysql/$i /usr/$i
done

2013/06/23

mini howto installing slackware from a samba share

the goal is to mount an iso image of the dvd from a samba share. Slackware setup have some network drivers already loaded in the kernel. If you can do ifconfig and see your network card, why not use it to speed up installation process?

#setup network card IP, you must use an IP within your network range.
ifconfig eth0 192.168.111.222

Make sure the smb share is configured for public access in the remote machine.

in the example it's named "test", remote IP 192.168.111.3

And then follow the SOP for re/partitioning

and then (let's suppose the installdvd.iso is on the root of the share on the remote machine):

mkdir /test
mkdir /image
mount //192.168.111.3/test /test -o guest -t cifs
cd /test
#at this point you should be able to do ls and see the remote dir
mount -o loop installdvd.iso /image
#at this point you should be able to do ls /image/slackware and see the install iso content.


run setup and when selecting "Source", select "From Pre-Mounted Directory", and write

sometimes, for some odd reason, setup might umount the iso and the network share, in case of doubt press Alt F2 and check with mount.

/image/slackware

and that should do the trick.