2012-04-12
2012-03-05
Making OpenVPN run as a service on Fedora 16
Make sure the config file is named something like myvpn.conf in
/etc/openvpn
# ln -s /lib/systemd/system/openvpn@.service /etc/systemd/system/multi-user.target.wants/openvpn@myvpn.serviceThen start and stop the service manually this way:
# systemctl start openvpn@myvpn.service # systemctl stop openvpn@myvpn.serviceOr enable it to start at boot time:
# systemctl enable openvpn@myvpn.serviceThanks to those that took the time to post the solution here: http://forums.fedoraforum.org/showthread.php?t=272612
2012-02-26
Booting into single user mode
Every time I receive a new kernel I must install the NVIDIA drivers.
- Boot the new kernel into single user mode. Add "single" and "vga=normal" to the grub boot command
- Switch to run level 3 with telinit 3
- 3. Log in and run the NVIDIA installer
2011-11-20
Fedora 16
Once again after the installation of a new version of Fedora things have changed.
Grub has become grub2 and the administration of it is different. The first change I had to deal with is the setting of the default boot partition.
http://fedoraproject.org/wiki/Grub2
Grub has become grub2 and the administration of it is different. The first change I had to deal with is the setting of the default boot partition.
http://fedoraproject.org/wiki/Grub2
2011-06-22
My Eclipse plugins
Android http://dl-ssl.google.com/android/eclipse
Groovy http://dist.springsource.org/release/GRECLIPSE/e3.7
Perforce http://www.perforce.com/downloads/http/p4-eclipse/install/3.6
From the Eclipse Marketplace
Groovy http://dist.springsource.org/release/GRECLIPSE/e3.7
Perforce http://www.perforce.com/downloads/http/p4-eclipse/install/3.6
From the Eclipse Marketplace
- Google plugin
- EGit
- PyDev
- Findbugs
2011-06-19
Fedora 15
I have installed Fedora on my guinea pig machine. Things went pretty smoothly apart from two problems.
1. selinux was stopping openvpn from working. The simple solution is to disable selinux like I usually do.
2. Bluetooth is not enabled and started by default on F15. This seems to be a bug. The steps to enable it require interacting with the new systemctl utility.
systemctl status bluetooth.service
sudo systemctl enable bluetooth.service
sudo systemctl start bluetooth.service
sudo systemctl enable bluetooth.service
sudo systemctl start bluetooth.service
2011-03-08
C++0x feature support in GCC 4.5
Here is a description of some nice new features available in C++0x supported by GCC 4.5.
http://www.ibm.com/developerworks/aix/library/au-gcc/index.html?cmp=dw&cpb=dwaix&ct=dwnew&cr=dwnen&ccy=zz&csr=030311
Here are some highlights.
Static assertions:
static_assert(sizeof(int) == 4, "Integer sizes expected to be 4");
New character types
char16_t guaranteed to be able to hold a UTF-16 character
char32_t guaranteed to be able to hold a UTF-32 character
Auto syntax type
auto *num1 = new int(7); // type for num1 it int*
const auto num2 = 3.1415; // type for num2 is double
Initializer lists
// in a variable definition
std::vector doubles = {2.3, 4.511, 1.23, 0.99};
// Initializer list used with new
std::list *d2 = new std::list {1.2, 1.3};
// Initialize a map
std::map = { {“key1”, 1}, {“key2”, 2} };
http://www.ibm.com/developerworks/aix/library/au-gcc/index.html?cmp=dw&cpb=dwaix&ct=dwnew&cr=dwnen&ccy=zz&csr=030311
Here are some highlights.
Static assertions:
static_assert(sizeof(int) == 4, "Integer sizes expected to be 4");
New character types
char16_t guaranteed to be able to hold a UTF-16 character
char32_t guaranteed to be able to hold a UTF-32 character
Auto syntax type
auto *num1 = new int(7); // type for num1 it int*
const auto num2 = 3.1415; // type for num2 is double
Initializer lists
// in a variable definition
std::vector
// Initializer list used with new
std::list
// Initialize a map
std::map
Subscribe to:
Posts (Atom)