also check http://blog.c22.cc
consider web application firewall configuration with this stuff.
wagner helps you
also check http://blog.c22.cc
consider web application firewall configuration with this stuff.
Concepts and commands of git explained along tinker toys. Very helpful visualisation. Start at m=2 to skip annyoing intro.
Currently there is no official rpm pacakge available for the GUI version of the Seafile 3 client. You can find extensive build instructions here:
https://github.com/haiwen/seafile/wiki/Build-and-use-seafile-client-from-source
I had to add the Vala package to the dependencies:
sudo yum install vala vala-compat wget gcc libevent-devel openssl-devel gtk2-devel libuuid-devel sqlite-devel jansson-devel intltool cmake qt-devel fuse-devel
Current versions:
Here’s a little fix up for the script parts:
#!/usr/bin/env bash
echo "Building and installing seafile client"
export version=3.0.2 # change this to your preferred version
alias wget='wget --content-disposition -nc'
wget https://github.com/haiwen/libsearpc/archive/v${version}.tar.gz
wget https://github.com/haiwen/ccnet/archive/v${version}.tar.gz
wget https://github.com/haiwen/seafile/archive/v${version}.tar.gz
wget https://github.com/haiwen/seafile-client/archive/v${version}.tar.gz
tar xf libsearpc-${version}.tar.gz
tar xf ccnet-${version}.tar.gz
tar xf seafile-${version}.tar.gz
tar xf seafile-client-${version}.tar.gz
export PREFIX=/usr
export PKG_CONFIG_PATH="$PREFIX/lib/pkgconfig:$PKG_CONFIG_PATH"
export PATH="$PREFIX/bin:$PATH"
echo "Building and installing libsearpc"
cd libsearpc-${version}
./autogen.sh
./configure --prefix=$PREFIX
make
sudo make install
cd ..
echo "Building and installing ccnet"
cd ccnet-${version}
./autogen.sh
./configure --prefix=$PREFIX
make
sudo make install
cd ..
echo "Building and installing seafile"
cd seafile-${version}/
./autogen.sh
./configure --prefix=$PREFIX --disable-gui
make
sudo make install
cd ..
echo "Building and installing seafile-client
cd seafile-client-${version}
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$PREFIX .
make
sudo make install
Run the lib linker, just in case
sudo ldconfig
Start the client with
seafile-applet
Thanks to Negativo17’s blog I got skype running. Here’s the step by step:
Run all commands as root or vias sudo
wget http://negativo17.org/repos/fedora-skype.repo -O \
/etc/yum.repos.d/fedora-skype.repo
Install skype normally via yum
yum install skype
NB: It considers the sound bug in Fedora 20:
On Fedora 20+, the real Skype binary is used through a wrapper that sets PULSE_LATENCY_MSEC=30 before running the real binary. As of Skype 4.2.0.11 this is required for proper operation.
NB: Always consider the trust implications of 3rd-party repo providers.
Basically, you need to install mono env and use the portable version of keepass:
sudo yum -y install mono-core mono-winforms
I have yet to figure out how to make a convinient link to the Gnome menu structure.
Additionally to the standard packages which you would install like so from the standard repos of fedora:
sudo yum install qesteidutil qdigidoc mozilla-esteid
you should also install the pcscd package:
sudo yum install pcsc-lite
Finally, some useful tool here:
sudo yum install pcsc-tools
Thanks to this here
Found here:
http://www.laurencegellert.com/2012/08/what-is-a-full-stack-developer/
Main points:
The Ubuntu droplet needed those packages
libdb++-dev libssl-dev libboost1.48-all-dev libgmp-dev
the versioning is sometimes tricky, depending on distribution version and a lot of others. I was successfully using 1.46 of the Boost package before, so you might want to try different ones. The distro standard you get with libboost-all-dev
Get the source from github
git clone https://github.com/thbaumbach/primecoin
Compile
cd ~/primecoin/src
make -f makefile.unix
This is how i execute the miner. As you can see, i use nohup and & to daemonize and prevent signals when closing the shell. all output goes to primeminer_stdout for possible later reference. if you want to keep all output, consider using >>
in order to append to the end of the file.
this is one line, replace $
to your liking
nohup ./primeminer
-pooluser=$addr
-poolip=beeeeer.org
-poolport=1337
-poolfee=$fee
-minerid=$id
-genproclimit=$procs > primeminer_stdout &
More details here: http://www.ppcointalk.org/index.php?topic=485.0
Disclaimer: this should only be used if you can’t partition your drive by yourself, or it would be a hazzle to do so. I’ve used that method to make one compile process work, otherwise I don’t really need it.
Check for present swap space:
*if there’s any output you might consider another solutions*
sudo swapon -s
Create the actual file:
*bs times count equals filesize, in this case 1gb*
sudo dd if=/dev/zero of=/swapfile bs=1024 count=1024k
Create a linux swap area:
sudo mkswap /swapfile
Output looks something like this:
Setting up swapspace version 1, size = 262140 KiB
no label, UUID=103c4545-5fc5-47f3-a8b3-dfbdb64fd7ebsudo swapon -s
Activate the swap file
sudo swapon /swapfile
Now `swapon -s` should show something like this
Filename Type Size Used Priority
/swapfile file 262140 0 -1
Make it persistent in the /etc/fstab with the following entry
/swapfile none swap sw 0 0
Make swappiness 0, otherwise performance will be poor. So it’s just an emergency buffer:
echo 0 > /proc/sys/vm/swappiness
And finally a bit if good practice, since this is root’s business:
chown root:root /swapfile
chmod 0600 /swapfile